Changeset 504 for trunk/geant4/interfaces/basic/include
- Timestamp:
- Jun 13, 2007, 12:46:15 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/geant4/interfaces/basic/include/G4UIQt.hh
r501 r504 42 42 #include <QtGui/qtextedit.h> 43 43 #include <QtGui/qlabel.h> 44 #include <QSignalMapper.h> 44 45 #include <QObject> 45 46 46 47 class G4UIsession; 48 47 49 48 50 // Class description : … … 100 102 101 103 // Widget form,shell,command,menuBar,text; 102 // std::map< Widget,G4String, std::less<Widget> > commands;104 // std::map<QAction*,G4String, std::less<QAction*> > commands; 103 105 // static void commandEnteredCallback(Widget,XtPointer,XtPointer); 104 106 // static void keyHandler(Widget,XtPointer,XEvent*,Boolean*); … … 110 112 QTextEdit *fTextArea; 111 113 QTextEdit *fCommandHistoryArea; 112 std::vector <QString*> menuName; 113 std::vector <QString*> menuLabel; 114 QSignalMapper *signalMapper ; 115 116 signals : 117 void myClicked(const QString &text); 114 118 115 119 private slots : 116 120 void clearButtonCallback(); 117 121 void commandEnteredCallback(); 122 void buttonCallback(const QString&); 118 123 }; 119 124
Note: See TracChangeset
for help on using the changeset viewer.