OpendTect-6_4  6.4
oduicommon.h
Go to the documentation of this file.
1 #ifndef uiodcommon_h
2 #define uiodcommon_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: Bert
9  Date: May 2014
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 #include "basicmod.h"
16 
17 
18 namespace OD
19 {
20 
24 {
27 };
28 
29 
33 {
37 };
38 
39 
43 {
48 };
49 
50 
54 {
58 };
59 
60 
62 {
63  NoIcon=0,
70  Ok,
81 };
82 
83 } // namespace OD
84 
85 
86 inline bool isHorizontal( OD::Orientation orient )
87  { return orient == OD::Horizontal; }
88 inline bool isVertical( OD::Orientation orient )
89  { return orient == OD::Vertical; }
90 inline bool isMultiChoice( OD::ChoiceMode cm )
91  { return cm > 1; }
92 inline bool isOptional( OD::ChoiceMode cm )
93  { return cm == OD::ChooseZeroOrMore; }
94 
95 
96 #endif
Definition: oduicommon.h:63
Definition: oduicommon.h:73
Definition: oduicommon.h:46
ChoiceMode
What to choose from any list-type UI object.
Definition: oduicommon.h:42
Definition: oduicommon.h:72
Definition: oduicommon.h:76
Definition: oduicommon.h:65
Definition: oduicommon.h:45
Definition: oduicommon.h:25
bool isHorizontal(OD::Orientation orient)
Definition: oduicommon.h:86
Definition: oduicommon.h:70
Definition: oduicommon.h:36
Definition: oduicommon.h:69
Definition: oduicommon.h:56
Definition: oduicommon.h:66
CheckState
State of check objects.
Definition: oduicommon.h:53
Definition: oduicommon.h:80
Definition: oduicommon.h:79
StdActionType
Definition: oduicommon.h:61
bool isOptional(OD::ChoiceMode cm)
Definition: oduicommon.h:92
Definition: oduicommon.h:26
Definition: oduicommon.h:78
Definition: oduicommon.h:44
bool isVertical(OD::Orientation orient)
Definition: oduicommon.h:88
Definition: oduicommon.h:57
Definition: oduicommon.h:64
Definition: oduicommon.h:71
Definition: oduicommon.h:55
SliceType
OpendTect flat slice types.
Definition: oduicommon.h:32
Definition: oduicommon.h:67
OpendTect.
Definition: commontypes.h:29
Definition: oduicommon.h:75
Definition: oduicommon.h:77
Definition: oduicommon.h:35
Definition: oduicommon.h:47
Definition: oduicommon.h:74
bool isMultiChoice(OD::ChoiceMode cm)
Definition: oduicommon.h:90
Definition: oduicommon.h:68
Definition: oduicommon.h:34
Orientation
Fundamental orientation in 2D UIs.
Definition: oduicommon.h:23

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019