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

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