15 #include "uibasemod.h" 31 friend class uiMainWinBody;
32 friend class uiDialogBody;
36 void setSensitive(
bool yn);
38 bool isSensitive()
const;
41 void clear() { removeAllActions(); }
51 void doInsertAction(
mQtclass(QAction)*,
53 void doRemoveAction(
mQtclass(QAction)*);
54 void doInsertSeparator(
mQtclass(QAction)* before);
70 const char* iconnm=0);
80 bool isCheckable()
const;
81 void setCheckable(
bool);
83 bool isEnabled()
const;
84 void setEnabled(
bool);
86 bool isChecked()
const;
87 void setChecked(
bool);
100 void clear() { removeAllActions(); }
102 void setIcon(
const uiIcon&);
103 void setIcon(
const char* iconnm);
104 const char* getIconName()
const;
110 friend class uiAction;
112 void setAction(uiAction*);
124 void doInsertAction(
mQtclass(QAction)*,
126 void doInsertSeparator(
mQtclass(QAction)* before);
127 void doRemoveAction(
mQtclass(QAction)*);
129 void useStyleSheet();
133 static void addInterceptor(
const CallBack&);
134 static void removeInterceptor(
const CallBack&);
135 void doIntercept(
bool yn,uiAction* activateitm = 0);
139 const char* iconfilenm=0);
#define mExpClass(module)
Definition: commondefs.h:160
#define mQtclass(cls)
Definition: commondefs.h:229
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
static const uiString & emptyString()
Definition: uistring.h:109
Definition: uistring.h:89
Definition: uiparent.h:26
#define mFDQtclass(cls)
Definition: commondefs.h:228
Off-screen pixel-based paint device.
Definition: uipixmap.h:34
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:40
CallBacks object-oriented (object + method).
Definition: callback.h:57
Definition: uiaction.h:152