Changeset 603 for trunk/geant4/interfaces/basic/include
- Timestamp:
- Nov 15, 2007, 11:55:49 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/geant4/interfaces/basic/include/G4UIQt.hh
r602 r603 43 43 class QLineEdit; 44 44 class G4UIsession; 45 #if QT_VERSION < 0x040000 46 class QListView; 47 class QListViewItem; 48 #else 45 49 class QListWidget; 50 class QTreeWidget; 51 class QTreeWidgetItem; 52 #endif 46 53 class QTextEdit; 47 54 class QLabel; 48 55 class QDialog; 49 class QTreeWidgetItem;50 class QTreeWidget;51 56 52 57 // Class description : … … 101 106 void SecondaryLoop(G4String); // a VIRER 102 107 void TerminalHelp(G4String); 108 #if QT_VERSION < 0x040000 109 void CreateChildTree(QListViewItem*,G4UIcommandTree*); 110 QListViewItem* FindTreeItem(QListViewItem *,const QString&); 111 #else 103 112 void CreateChildTree(QTreeWidgetItem*,G4UIcommandTree*); 104 113 QTreeWidgetItem* FindTreeItem(QTreeWidgetItem *,const QString&); 114 #endif 105 115 106 116 QString GetCommandList(const G4UIcommand*); … … 121 131 QTextEdit *fTextArea; 122 132 QTextEdit *fHelpArea; 133 #if QT_VERSION < 0x040000 134 QListView *fCommandHistoryArea; 135 QListView *fHelpTreeWidget; 136 #else 123 137 QListWidget *fCommandHistoryArea; 124 138 QTreeWidget *fHelpTreeWidget; 139 #endif 125 140 QDialog *fHelpDialog; 126 141
Note: See TracChangeset
for help on using the changeset viewer.