Salome HOME
"GUI" stubs for testing of CMake building procedures, preliminary examples of GUI
[modules/shaper.git] / src / XGUI / XGUI_Command.h
1 #ifndef XGUI_Command_H
2 #define XGUI_Command_H
3
4 #include <QWidgetAction>
5
6 #define MIN_BUTTON_HEIGHT 18
7 #define MIN_BUTTON_WIDTH 40
8
9
10 class XGUI_Command : public QWidgetAction
11 {
12     Q_OBJECT
13 public:
14     XGUI_Command(QObject * parent);
15     XGUI_Command(const QIcon& icon, const QString& text, QObject* parent);
16     ~XGUI_Command();
17
18 protected:
19     virtual QWidget* createWidget(QWidget* theParent);
20 };
21
22 #endif