Changeset 1228 for trunk/source/interfaces
- Timestamp:
- Jan 8, 2010, 11:56:51 AM (16 years ago)
- Location:
- trunk/source/interfaces
- Files:
-
- 6 edited
-
History (modified) (2 diffs)
-
basic/include/G4UIQt.hh (modified) (1 diff)
-
basic/src/G4UIQt.cc (modified) (4 diffs)
-
common/GNUmakefile (modified) (1 diff)
-
common/include/G4Qt.hh (modified) (1 diff)
-
common/src/G4Qt.cc (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/interfaces/History
r1155 r1228 1 $Id: History,v 1.1 16 2009/11/05 14:34:18 lgarnier Exp $1 $Id: History,v 1.125 2010/01/06 14:13:08 lgarnier Exp $ 2 2 ------------------------------------------------------------------- 3 3 … … 18 18 ---------------------------------------------------------- 19 19 20 ======= 20 6 January, 2010 L. Garnier 21 - G4VBasicShell : improvments for command completion 22 - G4Qt : Add a link to G4UIQt 23 - G4UIQt : Add tab widgets in order to put Vis in 24 25 20 November, 2009 K. Murakami (interfaces-V09-02-07) 26 - G4UIExecutive.hh: no default arguments of the constructor 27 - G4UIExecutive.icc: more cleaver way for suppressing compiler warnings 28 29 20 November, 2009 J. Allison (interfaces-V09-02-06) 30 - G4UIExecutive.icc: Fixed complier warnings for some cases when more 31 than one flag is set. 32 33 19 November, 2009 J. Allison (interfaces-V09-02-05) 34 - Tagged for the release. 35 36 18 November, 2009 L. Garnier 37 - G4UIQt: Add CTRL+A and CTRL+E to move to begin/end of command line 38 39 17 November, 2009 L. Garnier 40 - G4VBasicShell: Fix commands strings that match some shorter 41 commands are trimmed and executed as those shorter commands. 42 21 43 5 November, 2009 L. Garnier 22 44 - G4UIQt Fix a problem introduce the 6th October 2009 and cause -
trunk/source/interfaces/basic/include/G4UIQt.hh
r1226 r1228 25 25 // 26 26 // 27 // $Id: G4UIQt.hh,v 1.1 6 2009/02/16 11:40:26lgarnier Exp $28 // GEANT4 tag $Name: $27 // $Id: G4UIQt.hh,v 1.17 2010/01/06 14:13:08 lgarnier Exp $ 28 // GEANT4 tag $Name: laurent-QtUI_with_tabs_v1 $ 29 29 // 30 30 #ifndef G4UIQt_h -
trunk/source/interfaces/basic/src/G4UIQt.cc
r1226 r1228 25 25 // 26 26 // 27 // $Id: G4UIQt.cc,v 1. 28 2009/11/05 14:34:18 lgarnier Exp $28 // GEANT4 tag $Name: $27 // $Id: G4UIQt.cc,v 1.30 2010/01/06 14:13:08 lgarnier Exp $ 28 // GEANT4 tag $Name: laurent-QtUI_with_tabs_v1 $ 29 29 // 30 30 // L. Garnier … … 358 358 { 359 359 360 361 #if QT_VERSION < 0x040000 360 362 QWidget *helpWidget = new QWidget(fHelpTBWidget); 361 362 QSplitter *splitter = new QSplitter(Qt::Horizontal,fHelpTBWidget);363 #if QT_VERSION < 0x040000364 363 QHBoxLayout *helpLayout = new QHBoxLayout(helpWidget); 365 364 QVBoxLayout *vLayout = new QVBoxLayout(fHelpTBWidget); 366 helpLayout->add(new QLabel("Search :",helpWidget)); 367 #else 365 QSplitter *splitter = new QSplitter(Qt::Horizontal,fHelpTBWidget); 366 #else 367 QWidget *helpWidget = new QWidget(); 368 368 QHBoxLayout *helpLayout = new QHBoxLayout(); 369 369 QVBoxLayout *vLayout = new QVBoxLayout(); 370 QSplitter *splitter = new QSplitter(Qt::Horizontal); 371 #endif 372 helpLine = new QLineEdit(fHelpTBWidget); 370 373 helpLayout->addWidget(new QLabel("Search :",helpWidget)); 371 #endif 372 helpLine = new QLineEdit(fHelpTBWidget); 373 #if QT_VERSION < 0x040000 374 helpLayout->add(helpLine); 374 helpLayout->addWidget(helpLine); 375 #if QT_VERSION < 0x040000 375 376 connect( helpLine, SIGNAL( returnPressed () ), this, SLOT( LookForHelpStringCallback() ) ); 376 377 #else 377 helpLayout->addWidget(helpLine);378 378 connect( helpLine, SIGNAL( editingFinished () ), this, SLOT( LookForHelpStringCallback() ) ); 379 379 #endif … … 402 402 vLayout->addWidget(helpWidget); 403 403 vLayout->addWidget(splitter,1); 404 #else 405 vLayout->addWidget(helpWidget); 406 vLayout->addWidget(splitter,1); 407 #endif 408 404 #endif 405 406 fHelpTBWidget->setMinimumSize(50,50); 407 fHelpTBWidget->setSizePolicy (QSizePolicy(QSizePolicy::Minimum,QSizePolicy::Minimum)); 409 408 // set the splitter size 410 409 #if QT_VERSION >= 0x040000 … … 413 412 QValueList<int> list; 414 413 #endif 415 list.append( 400 );416 list.append( 400 );414 list.append( 50 ); 415 list.append( 50 ); 417 416 splitter->setSizes(list); 418 417 419 418 #if QT_VERSION >= 0x040000 420 419 helpWidget->setLayout(helpLayout); -
trunk/source/interfaces/common/GNUmakefile
r1166 r1228 1 # $Id: GNUmakefile,v 1. 4 2009/10/19 07:37:48lgarnier Exp $1 # $Id: GNUmakefile,v 1.5 2010/01/06 14:08:20 lgarnier Exp $ 2 2 # ------------------------------------------------------------- 3 3 # GNUmakefile for interfaces/common library. John Allison, 6/7/98. -
trunk/source/interfaces/common/include/G4Qt.hh
r1224 r1228 25 25 // 26 26 // 27 // $Id: G4Qt.hh,v 1. 4 2008/11/06 10:06:33lgarnier Exp $28 // GEANT4 tag $Name: $27 // $Id: G4Qt.hh,v 1.5 2010/01/06 14:07:34 lgarnier Exp $ 28 // GEANT4 tag $Name: laurent-QtUI_with_tabs_v1 $ 29 29 // 30 30 // To unify Qt event treatment between -
trunk/source/interfaces/common/src/G4Qt.cc
r1224 r1228 25 25 // 26 26 // 27 // $Id: G4Qt.cc,v 1.1 4 2009/10/07 09:12:35lgarnier Exp $27 // $Id: G4Qt.cc,v 1.15 2010/01/06 14:07:34 lgarnier Exp $ 28 28 // GEANT4 tag $Name: $ 29 29 // … … 131 131 #else 132 132 #ifdef G4DEBUG_INTERFACES_COMMON 133 printf("G4Qt::G4Qt QAppl \n");133 printf("G4Qt::G4Qt QAppl \n"); 134 134 #endif 135 135 new QApplication (*p_argn, args); 136 #ifdef G4DEBUG_INTERFACES_COMMON 137 printf("G4Qt::G4Qt 0\n"); 138 #endif 136 139 #endif 137 140 if(!qApp) { … … 139 142 G4cout << "G4Qt : Unable to init Qt." << G4endl; 140 143 } else { 144 #ifdef G4DEBUG_INTERFACES_COMMON 145 printf("G4Qt::G4Qt 1\n"); 146 #endif 141 147 QtInited = TRUE; 142 148 if (a_argn != 0) { … … 242 248 243 249 244
Note:
See TracChangeset
for help on using the changeset viewer.
