4 #include <QWidgetAction>
6 #define MIN_BUTTON_HEIGHT 18
7 #define MIN_BUTTON_WIDTH 40
9 class XGUI_Command: public QWidgetAction
13 XGUI_Command(const QString& theId, QObject * parent);
14 XGUI_Command(const QString& theId, const QIcon& icon, const QString& text, QObject* parent);
17 virtual bool enabled() const;
18 virtual void enable();
19 virtual void disable();
20 virtual QString getId() const
25 virtual void connectTo(const QObject* theResiver, const char* theSlot);
28 virtual QWidget* createWidget(QWidget* theParent);