Ignore:
Timestamp:
Jun 13, 2007, 12:46:15 PM (17 years ago)
Author:
garnier
Message:

r610@mac-90108: laurentgarnier | 2007-06-13 10:50:13 +0200
les menus sont ok, reste le exit qui n agit pas

File:
1 edited

Legend:

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

    r501 r504  
    4242#include <QtGui/qtextedit.h>
    4343#include <QtGui/qlabel.h>
     44#include <QSignalMapper.h>
    4445#include <QObject>
    4546
    4647class G4UIsession;
     48
    4749
    4850// Class description :
     
    100102
    101103  //  Widget form,shell,command,menuBar,text;
    102   //  std::map<Widget,G4String, std::less<Widget> > commands;
     104  //  std::map<QAction*,G4String, std::less<QAction*> > commands;
    103105  //  static void commandEnteredCallback(Widget,XtPointer,XtPointer);
    104106  //  static void keyHandler(Widget,XtPointer,XEvent*,Boolean*);
     
    110112  QTextEdit *fTextArea;
    111113  QTextEdit *fCommandHistoryArea;
    112   std::vector <QString*> menuName;
    113   std::vector <QString*> menuLabel;
     114  QSignalMapper *signalMapper ;
     115
     116signals :
     117  void myClicked(const QString &text);
    114118
    115119private slots :
    116120  void clearButtonCallback();
    117121  void commandEnteredCallback();
     122  void buttonCallback(const QString&);
    118123};
    119124
Note: See TracChangeset for help on using the changeset viewer.