 |
OpendTect
6.6
|
Go to the documentation of this file.
14 #include "uibasemod.h"
23 uiBaseObject(
const char* nm, uiBody* = 0);
24 virtual ~uiBaseObject();
28 bool finalised()
const;
31 virtual void translateText() {}
35 inline const uiBody* body()
const {
return body_; }
36 inline uiBody* body() {
return body_; }
38 static void addCmdRecorder(
const CallBack&);
39 static void removeCmdRecorder(
const CallBack&);
41 int beginCmdRecEvent(
const char* msg=0);
42 void endCmdRecEvent(
int refnr,
const char* msg=0);
46 void endCmdRecEvent(
od_uint64 id,
int refnr,
50 {
return finaliseStart; }
52 {
return finaliseDone; }
54 virtual mQtclass(QWidget*) getWidget() {
return 0; }
55 const mQtclass(QWidget*) getWidget()
const;
59 void setBody( uiBody* b ) { body_ = b; }
81 #define mBlockCmdRec CmdRecStopper cmdrecstopper(this);
#define od_uint64
Definition: plftypes.h:36
static bool isInStopperList(const uiBaseObject *obj)
CallBacker object with a name. Use if you want your object to be able to send and receive CallBack's,...
Definition: namedobj.h:72
#define mFDQtclass(cls)
Definition: commondefs.h:233
#define mExpClass(module)
Definition: commondefs.h:177
Inherit from this class to be able to send and/or receive CallBacks.
Definition: callback.h:185
CallBacks object-oriented (object + method).
Definition: callback.h:62
Class to help setup a callback handling.
Definition: notify.h:126
CmdRecStopper(const uiBaseObject *)
#define mQtclass(cls)
Definition: commondefs.h:234
static void clearStopperList(const CallBacker *cmdrec)
will clear after all cmdrecs have called
Definition: uibaseobject.h:84
Generated at
for the OpendTect
seismic interpretation project.
Copyright (C): dGB Beheer B.V. 1995-2021