Ignore:
Timestamp:
Feb 8, 2010, 5:19:32 PM (14 years ago)
Author:
garnier
Message:

debug mode

File:
1 edited

Legend:

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

    r1232 r1236  
    4141#include <qmap.h>
    4242#include <qstringlist.h>
     43#include <qtabwidget.h>
    4344
    4445class QMainWindow;
     
    5556class QTextEdit;
    5657class QLabel;
    57 class QTabWidget;
    5858class QResizeEvent;
    5959class QToolBox;
    6060class QStringList;
     61class QSplitter;
    6162
    6263// Class description :
     
    7980//
    8081// Class description - end :
     82
     83class G4QTabWidget : public QTabWidget {
     84public :
     85  G4QTabWidget();
     86  G4QTabWidget(QSplitter*&);
     87  void paintEvent  ( QPaintEvent * event );
     88  inline void setTabSelected() { tabSelected = true; };
     89  inline void unselectTab() { tabSelected = false; };
     90  inline bool isTabSelected() { return tabSelected; };
     91  bool tabSelected;
     92};
    8193
    8294class G4UIQt : public QObject, public G4VBasicShell, public G4VInteractiveSession {
     
    174186  QWidget* fViewComponentsTBWidget;
    175187  QLineEdit* helpLine;
    176   QTabWidget* fTabWidget;
     188  G4QTabWidget* fTabWidget;
    177189  QString fCoutText;
    178190
    179191signals :
    180   void myClicked(const QString &text);
     192  void refreshTab(const QString &text);
    181193
    182194private slots :
     
    193205  void ResizeTabWidget( QResizeEvent* );
    194206  void CoutFilterCallback(const QString&);
     207  void RefreshTabCallback (const QString&);
     208
    195209};
    196210
    197 #endif
    198 
    199 #endif
    200 
     211
     212#endif
     213
     214#endif
     215
Note: See TracChangeset for help on using the changeset viewer.