1 #ifndef uiodannottreeitem_h 2 #define uiodannottreeitem_h 15 #include "uiodmainmod.h" 31 const char* parentType()
const;
39 const char*
name()
const {
return getName(); }
58 virtual const char* parentType()
const;
60 void prepareForShutdown();
61 virtual bool showSubMenu();
65 virtual const char* managerName()
const = 0;
66 virtual const char* oldSelKey()
const = 0;
82 static bool doesNameExist(
const char*);
83 static char createIOEntry(
const char* nm,
bool overwrite,
95 void prepareForShutdown();
98 virtual const char* parentType()
const =0;
109 virtual void setScale(
float);
110 void setColor(
Color);
114 void storeAs(
bool trywithoutdlg=
false )
const;
116 virtual const char* managerName()
const = 0;
132 static const char*
sKeyManager() {
return "ScaleBarAnnotations"; }
137 const char* parentType()
const;
138 void fillStoragePar(
IOPar&)
const;
161 virtual const char* parentType()
const;
163 void fillStoragePar(
IOPar&)
const;
189 const char* parentType()
const;
190 void fillStoragePar(
IOPar&)
const;
197 void updateColumnText(
int col);
202 void selectFileName()
const;
208 #define mDefineParentItem(type,typestr,defsz) \ 209 class type##ParentItem : public uiODAnnotTreeItem \ 213 : uiODAnnotTreeItem(typestr)\ 215 mAttachCB( Pick::Mgr().setToBeRemoved, \ 216 type##ParentItem::setRemovedCB ); \ 219 uiTreeItem* createSubItem(int di,Pick::Set& pck) \ 220 { return new type##SubItem(pck,di); } \ 221 const char* managerName() const { return type##SubItem::sKeyManager(); } \ 222 const char* oldSelKey() const { return typestr.getFullString().buf(); } \ 223 int defScale() const { return defsz; } \ 224 void setRemovedCB(CallBacker*); \ #define mExpClass(module)
Definition: commondefs.h:160
uiODTreeItem inheritedClass
Definition: uiodannottreeitem.h:49
static const char * sKeyManager()
Definition: uiodannottreeitem.h:132
virtual void rightclickCB(CallBacker *)
Definition: uiodannottreeitem.h:103
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
Definition: menuhandler.h:187
Definition: uiodannottreeitem.h:36
Definition: uiodtreeitem.h:27
~ScaleBarSubItem()
Definition: uiodannottreeitem.h:135
OpendTect application top level object.
Definition: uiodmain.h:41
static const char * sKeyManager()
Definition: uiodannottreeitem.h:185
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
~ArrowSubItem()
Definition: uiodannottreeitem.h:160
MenuItem storemnuitem_
Definition: uiodannottreeitem.h:121
uiTreeItem * create() const
Definition: uiodannottreeitem.h:42
Pick::Set * set_
Definition: uiodannottreeitem.h:123
virtual bool hasScale() const
Definition: uiodannottreeitem.h:108
virtual int defScale() const
Definition: uiodannottreeitem.h:62
bool hasScale() const
Definition: uiodannottreeitem.h:199
Definition: uiodannottreeitem.h:21
Definition: uistring.h:89
Definition: uioddisplaytreeitem.h:24
Definition: uiodtreeitem.h:80
Definition: uiodannottreeitem.h:79
static const char * sKeyArrowType()
Definition: uiodannottreeitem.h:174
const char * managerName() const
Definition: uiodannottreeitem.h:144
virtual void mouseMoveCB(CallBacker *)
Definition: uiodannottreeitem.h:102
Set of picks with something in common.
Definition: pickset.h:31
MenuItem storeasmnuitem_
Definition: uiodannottreeitem.h:122
static const char * sKeyLineWidth()
Definition: uiodannottreeitem.h:175
MenuItem propmnuitem_
Definition: uiodannottreeitem.h:146
Definition: uitreeview.h:201
MenuItem filemnuitem_
Definition: uiodannottreeitem.h:204
MenuItem propmnuitem_
Definition: uiodannottreeitem.h:168
const char * managerName() const
Definition: uiodannottreeitem.h:172
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:47
#define mMenuOnAnyButton
Definition: uiodtreeitem.h:91
MenuItem scalemnuitem_
Definition: uiodannottreeitem.h:120
virtual void clickCB(CallBacker *)
Definition: uiodannottreeitem.h:101
Definition: uiodannottreeitem.h:180
#define mDefineParentItem(type, typestr, defsz)
Definition: uiodannottreeitem.h:208
virtual void fillStoragePar(IOPar &) const
Definition: uiodannottreeitem.h:99
float defscale_
Definition: uiodannottreeitem.h:118
Definition: uiodannottreeitem.h:47
~ImageSubItem()
Definition: uiodannottreeitem.h:188
const char * name() const
Definition: uiodannottreeitem.h:39
static uiHor3DInterpol * create(uiParent *)
static const char * getName()
Definition: uiodannottreeitem.h:40
Color is an RGB color object, with a transparancy. The storage is in a 4-byte integer, similar to Qt.
Definition: color.h:26
int arrowtype_
Definition: uiodannottreeitem.h:169
bool hasScale() const
Definition: uiodannottreeitem.h:171
Pick::Set * getSet()
Definition: uiodannottreeitem.h:89
#define mToUiStringTodo(i)
Definition: uistring.h:303
uiString typestr_
Definition: uiodannottreeitem.h:74
const char * managerName() const
Definition: uiodannottreeitem.h:200
Definition: uitreeitemmanager.h:34
Definition: uiodannottreeitem.h:127
Compound key consisting of ints.
Definition: multiid.h:25
Definition: uiodannottreeitem.h:150
static const char * sKeyManager()
Definition: uiodannottreeitem.h:157