Ignore:
Timestamp:
Jun 8, 2007, 4:43:26 PM (17 years ago)
Author:
garnier
Message:

r582@mac-90108: laurentgarnier | 2007-06-07 11:10:12 +0200
version de test avec 2 classes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/geant4/interfaces/basic/include/G4UIQt.hh

    r488 r489  
    3131#define G4UIQt_h
    3232
    33 #if defined(G4UI_BUILD_QT_SESSION) || defined(G4UI_USE_QT)
     33//#if defined(G4UI_BUILD_QT_SESSION) || defined(G4UI_USE_QT)
    3434
    3535#include <map>
     
    4141#include <QtGui/qlineedit.h>
    4242#include <QtGui/qtextedit.h>
     43#include <QObject>
    4344class G4UIsession;
    4445
     
    6465
    6566class G4UIQt : public G4VBasicShell, public G4VInteractiveSession {
    66 //  Q_OBJECT
    6767
    6868public: // With description
     
    102102  G4bool fHelp;
    103103  G4int fHelpChoice;
    104   QMainWindow * mainWindow;
    105   QLineEdit * promptArea;
     104  QMainWindow *fMainWindow;
     105  UIQtCentralWidget *fCentralWidget;
     106};
     107
     108class UIQtCentralWidget : public QWidget, public QObject {
     109
     110Q_OBJECT
     111
     112  QLineEdit *promptArea;
    106113  QTextEdit *textArea;
    107   //  static void ButtonCallback(Widget,XtPointer,XtPointer);
     114
     115private slots:
     116  void clearButtonCallback();
    108117
    109118};
    110119
    111 #endif
     120//#endif
    112121
    113122#endif
Note: See TracChangeset for help on using the changeset viewer.