13 #include "uibasemod.h" 29 uiBaseObject(
const char* nm, uiBody* = 0);
30 virtual ~uiBaseObject();
34 bool finalised()
const;
37 virtual void translateText() {}
41 inline const uiBody* body()
const {
return body_; }
42 inline uiBody* body() {
return body_; }
44 static void addCmdRecorder(
const CallBack&);
45 static void removeCmdRecorder(
const CallBack&);
47 int beginCmdRecEvent(
const char* msg=0);
48 void endCmdRecEvent(
int refnr,
const char* msg=0);
52 void endCmdRecEvent(
od_uint64 id,
int refnr,
56 {
return finaliseStart_; }
58 {
return finaliseDone_; }
60 virtual int getNrWidgets()
const = 0;
61 virtual mQtclass(QWidget)* getWidget(
int widgetindex);
62 const mQtclass(QWidget)* getConstWidget(
int widgetindex)
const;
64 virtual RowCol getWidgetOrigin(
int widgetindex)
const;
65 virtual RowCol getWidgetSpan(
int widgetindex)
const;
67 int getNrRows()
const;
68 int getNrCols()
const;
72 void setBody( uiBody* b ) { body_ = b; }
81 int getNrRowCols(
bool row )
const;
97 #define mBlockCmdRec CmdRecStopper cmdrecstopper(this); 102 CmdRecStopper(
const uiBaseObject*);
105 static void clearStopperList(
const CallBacker* cmdrec);
108 static bool isInStopperList(
const uiBaseObject* obj);
#define mExpClass(module)
Definition: commondefs.h:157
Inherit from this class to be able to send and/or receive CallBacks.
Definition: callback.h:182
#define mQtclass(cls)
Definition: commondefs.h:232
Definition: uibaseobject.h:99
Class to help setup a callback handling.
Definition: notify.h:121
#define mFDQtclass(cls)
Definition: commondefs.h:231
#define od_uint64
Definition: plftypes.h:35
IdxPair used for its row() and col().
Definition: rowcol.h:23
CallBacks object-oriented (object + method).
Definition: callback.h:62
CallBacker object with a name. Use if you want your object to be able to send and receive CallBack's...
Definition: namedobj.h:50