OpendTect-6_4
6.4
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
od6.4.5
include
uiODMain
uiodscenetreeitem.h
Go to the documentation of this file.
1
#ifndef uiodscenetreeitem_h
2
#define uiodscenetreeitem_h
3
4
/*+
5
________________________________________________________________________
6
7
(C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8
Author: Kristofer Tingdahl
9
Date: May 2006
10
RCS: $Id$
11
________________________________________________________________________
12
13
14
-*/
15
16
#include "uiodmainmod.h"
17
#include "
uiodtreeitem.h
"
18
19
class
uiMenuHandler
;
20
21
mExpClass
(
uiODMain
)
uiODSceneTreeItem
: public
uiODTreeItem
22
{
mODTextTranslationClass
(
uiODSceneTreeItem
);
23
public
:
24
uiODSceneTreeItem
(
const
uiString
&,
int
);
25
~
uiODSceneTreeItem
();
26
27
void
updateColumnText(
int
);
28
29
protected
:
30
31
virtual
bool
init
();
32
void
createMenu
(
MenuHandler
*,
bool
istb);
33
bool
showSubMenu();
34
35
bool
isSelectable
()
const
{
return
false
; }
36
bool
isExpandable
()
const
{
return
false
; }
37
const
char
*
parentType
()
const
38
{
return
typeid
(
uiODTreeTop
).name(); }
39
int
selectionKey
()
const
{
return
displayid_; }
40
41
void
createMenuCB(
CallBacker
*);
42
void
addToToolBarCB(
CallBacker
*);
43
void
handleMenuCB(
CallBacker
*);
44
45
int
displayid_
;
46
47
uiMenuHandler
*
menu_
;
48
MenuItem
propitem_
;
49
MenuItem
imageitem_
;
50
MenuItem
coltabitem_
;
51
MenuItem
dumpivitem_
;
52
};
53
54
#endif
mExpClass
#define mExpClass(module)
Definition:
commondefs.h:160
uiODSceneTreeItem::isExpandable
bool isExpandable() const
Definition:
uiodscenetreeitem.h:36
CallBacker
To be able to send and/or receive CallBacks, inherit from this class.
Definition:
callback.h:272
MenuHandler
Definition:
menuhandler.h:187
uiODTreeItem
Definition:
uiodtreeitem.h:27
uiODSceneTreeItem::menu_
uiMenuHandler * menu_
Definition:
uiodscenetreeitem.h:47
uiODMain
OpendTect application top level object.
Definition:
uiodmain.h:41
uiODSceneTreeItem::isSelectable
bool isSelectable() const
Definition:
uiodscenetreeitem.h:35
mODTextTranslationClass
#define mODTextTranslationClass(clss)
Definition:
uistring.h:38
uiODSceneTreeItem::propitem_
MenuItem propitem_
Definition:
uiodscenetreeitem.h:48
MPE::init
bool init()
uiodtreeitem.h
uiODSceneTreeItem
Definition:
uiodscenetreeitem.h:21
uiString
Definition:
uistring.h:89
uiMenuHandler
Definition:
uimenuhandler.h:27
uiODSceneTreeItem::coltabitem_
MenuItem coltabitem_
Definition:
uiodscenetreeitem.h:50
MenuItem
Definition:
menuhandler.h:76
uiODSceneTreeItem::selectionKey
int selectionKey() const
Definition:
uiodscenetreeitem.h:39
uiODSceneTreeItem::parentType
const char * parentType() const
Definition:
uiodscenetreeitem.h:37
uiODTreeTop
Definition:
uiodtreeitem.h:50
uiMenuHandler::createMenu
uiMenu * createMenu(const ObjectSet< MenuItem > &, const MenuItem *=0)
uiODSceneTreeItem::displayid_
int displayid_
Definition:
uiodscenetreeitem.h:45
uiODSceneTreeItem::imageitem_
MenuItem imageitem_
Definition:
uiodscenetreeitem.h:49
uiODSceneTreeItem::dumpivitem_
MenuItem dumpivitem_
Definition:
uiodscenetreeitem.h:51
Generated at for the
OpendTect
seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019