14 #include "uibasemod.h" 18 class uiToolButtonBody;
27 UpArrow, DownArrow, LeftArrow, RightArrow };
28 enum PopupMode { DelayedPopup, MenuButtonPopup, InstantPopup };
44 void setOn(
bool yn=
true);
46 void setToggleButton(
bool yn=
true);
47 bool isToggleButton()
const;
51 void setShortcut(
const char*);
57 void setID(
int i ) { id_ = i; }
58 int id()
const {
return id_; }
65 uiToolButtonBody& mkbody(
uiParent*,
const char* icon_identifier,
74 #define mDefuiTBSUMemb(typ,memb) mDefSetupClssMemb(uiToolButtonSetup,typ,memb) 89 , name_(!nm.
isEmpty() ? nm : tt){}
#define mExpClass(module)
Definition: commondefs.h:160
Definition: uistring.h:89
Definition: uiparent.h:26
bool isOn(int flag=0xffff)
StdActionType
Definition: oduicommon.h:61
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:40
static uiString sEmptyString()
Definition: uistrings.h:286
bool isEmpty(const NLAModel *mdl)
CallBacks object-oriented (object + method).
Definition: callback.h:57