OpendTect  6.6
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  RCS: $Id$
10 ________________________________________________________________________
11 
12 -*/
13 
14 #include "basicmod.h"
15 
16 
17 namespace OD
18 {
19 
23 {
25  Vertical=1
26 };
27 
28 
32 {
35  ZSlice=2
36 };
37 
38 
42 {
47 };
48 
49 
53 {
56  Checked=2
57 };
58 
59 
60 enum Edge
61 {
62  Top=0,
63  Left=1,
64  Right=2,
65  Bottom=3
66 };
67 
68 
69 enum Corner
70 {
74  BottomRight=3
75 };
76 
77 
79 {
80  NoIcon=0,
87  Ok,
98  Video
99 };
100 
102 {
105 };
106 
107 } // namespace OD
108 
109 
110 inline bool isHorizontal( OD::Orientation orient )
111  { return orient == OD::Horizontal; }
112 inline bool isVertical( OD::Orientation orient )
113  { return orient == OD::Vertical; }
114 inline bool isMultiChoice( OD::ChoiceMode cm )
115  { return cm > 1; }
116 inline bool isOptional( OD::ChoiceMode cm )
117  { return cm == OD::ChooseZeroOrMore; }
118 
119 
OD::Ok
@ Ok
Definition: oduicommon.h:87
OD::AlwaysActivateWindow
@ AlwaysActivateWindow
Definition: oduicommon.h:104
OD::Cancel
@ Cancel
Definition: oduicommon.h:82
OD::SliceType
SliceType
OpendTect flat slice types.
Definition: oduicommon.h:32
OD::Bottom
@ Bottom
Definition: oduicommon.h:65
OD::TopLeft
@ TopLeft
Definition: oduicommon.h:71
isHorizontal
bool isHorizontal(OD::Orientation orient)
Definition: oduicommon.h:110
OD::BottomLeft
@ BottomLeft
Definition: oduicommon.h:73
OD::NoIcon
@ NoIcon
Definition: oduicommon.h:80
OD::SaveAs
@ SaveAs
Definition: oduicommon.h:94
isMultiChoice
bool isMultiChoice(OD::ChoiceMode cm)
Definition: oduicommon.h:114
OD
OpendTect.
Definition: commontypes.h:28
OD::Edit
@ Edit
Definition: oduicommon.h:85
OD::BottomRight
@ BottomRight
Definition: oduicommon.h:74
OD::ZSlice
@ ZSlice
Definition: oduicommon.h:35
OD::Top
@ Top
Definition: oduicommon.h:62
OD::Apply
@ Apply
Definition: oduicommon.h:81
isOptional
bool isOptional(OD::ChoiceMode cm)
Definition: oduicommon.h:116
OD::Video
@ Video
Definition: oduicommon.h:98
OD::WindowActivationBehavior
WindowActivationBehavior
Definition: oduicommon.h:102
OD::Select
@ Select
Definition: oduicommon.h:95
OD::InlineSlice
@ InlineSlice
Definition: oduicommon.h:33
OD::TopRight
@ TopRight
Definition: oduicommon.h:72
OD::Help
@ Help
Definition: oduicommon.h:86
OD::PartiallyChecked
@ PartiallyChecked
Definition: oduicommon.h:55
OD::Define
@ Define
Definition: oduicommon.h:83
OD::Settings
@ Settings
Definition: oduicommon.h:96
OD::Remove
@ Remove
Definition: oduicommon.h:92
OD::Save
@ Save
Definition: oduicommon.h:93
OD::Examine
@ Examine
Definition: oduicommon.h:90
OD::ChooseOnlyOne
@ ChooseOnlyOne
Definition: oduicommon.h:44
OD::Checked
@ Checked
Definition: oduicommon.h:56
OD::Options
@ Options
Definition: oduicommon.h:88
OD::StdActionType
StdActionType
Definition: oduicommon.h:79
OD::Edge
Edge
Definition: oduicommon.h:61
OD::CheckState
CheckState
State of check objects.
Definition: oduicommon.h:53
OD::CrosslineSlice
@ CrosslineSlice
Definition: oduicommon.h:34
OD::ChooseZeroOrMore
@ ChooseZeroOrMore
Definition: oduicommon.h:46
OD::Vertical
@ Vertical
Definition: oduicommon.h:25
OD::Unload
@ Unload
Definition: oduicommon.h:97
OD::Unchecked
@ Unchecked
Definition: oduicommon.h:54
OD::ChooseNone
@ ChooseNone
Definition: oduicommon.h:43
OD::Properties
@ Properties
Definition: oduicommon.h:89
OD::Horizontal
@ Horizontal
Definition: oduicommon.h:24
OD::ChoiceMode
ChoiceMode
What to choose from any list-type UI object.
Definition: oduicommon.h:42
OD::DefaultActivateWindow
@ DefaultActivateWindow
Definition: oduicommon.h:103
OD::ChooseAtLeastOne
@ ChooseAtLeastOne
Definition: oduicommon.h:45
isVertical
bool isVertical(OD::Orientation orient)
Definition: oduicommon.h:112
OD::Corner
Corner
Definition: oduicommon.h:70
OD::Orientation
Orientation
Fundamental orientation in 2D UIs.
Definition: oduicommon.h:23
OD::Rename
@ Rename
Definition: oduicommon.h:91
OD::Delete
@ Delete
Definition: oduicommon.h:84
OD::Right
@ Right
Definition: oduicommon.h:64
OD::Left
@ Left
Definition: oduicommon.h:63

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