Changeset 490 for trunk/geant4/interfaces/basic/include
- Timestamp:
- Jun 8, 2007, 4:43:30 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/geant4/interfaces/basic/include/G4UIQt.hh
r489 r490 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> … … 42 42 #include <QtGui/qtextedit.h> 43 43 #include <QObject> 44 44 45 class G4UIsession; 45 46 … … 64 65 // Class description - end : 65 66 66 class G4UIQt : public G4VBasicShell, public G4VInteractiveSession { 67 class G4UIQt : public QObject, public G4VBasicShell, public G4VInteractiveSession { 68 Q_OBJECT 67 69 68 70 public: // With description … … 102 104 G4bool fHelp; 103 105 G4int fHelpChoice; 104 QMainWindow *fMainWindow; 105 UIQtCentralWidget *fCentralWidget; 106 }; 107 108 class UIQtCentralWidget : public QWidget, public QObject { 109 110 Q_OBJECT 111 112 QLineEdit *promptArea; 106 QMainWindow * mainWindow; 107 QLineEdit * promptArea; 113 108 QTextEdit *textArea; 114 115 private slots: 116 void clearButtonCallback(); 109 // static void ButtonCallback(Widget,XtPointer,XtPointer); 117 110 118 111 }; 119 112 120 //#endif113 #endif 121 114 122 115 #endif
Note: See TracChangeset
for help on using the changeset viewer.