Changeset 489 for trunk/geant4/interfaces/basic/include
- Timestamp:
- Jun 8, 2007, 4:43:26 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/geant4/interfaces/basic/include/G4UIQt.hh
r488 r489 31 31 #define G4UIQt_h 32 32 33 #if defined(G4UI_BUILD_QT_SESSION) || defined(G4UI_USE_QT)33 //#if defined(G4UI_BUILD_QT_SESSION) || defined(G4UI_USE_QT) 34 34 35 35 #include <map> … … 41 41 #include <QtGui/qlineedit.h> 42 42 #include <QtGui/qtextedit.h> 43 #include <QObject> 43 44 class G4UIsession; 44 45 … … 64 65 65 66 class G4UIQt : public G4VBasicShell, public G4VInteractiveSession { 66 // Q_OBJECT67 67 68 68 public: // With description … … 102 102 G4bool fHelp; 103 103 G4int fHelpChoice; 104 QMainWindow * mainWindow; 105 QLineEdit * promptArea; 104 QMainWindow *fMainWindow; 105 UIQtCentralWidget *fCentralWidget; 106 }; 107 108 class UIQtCentralWidget : public QWidget, public QObject { 109 110 Q_OBJECT 111 112 QLineEdit *promptArea; 106 113 QTextEdit *textArea; 107 // static void ButtonCallback(Widget,XtPointer,XtPointer); 114 115 private slots: 116 void clearButtonCallback(); 108 117 109 118 }; 110 119 111 #endif120 //#endif 112 121 113 122 #endif
Note: See TracChangeset
for help on using the changeset viewer.