1 #ifndef uiodfaulttoolman_h 2 #define uiodfaulttoolman_h 17 #include "uiodmainmod.h" 37 namespace EM {
class FaultStickSet; }
39 class FaultStickSetDisplay; }
52 : displayifnot_( true )
53 , saveifdisplayed_( true )
54 , colormode_( Inherit )
64 bool displayAfterwards()
const;
65 bool saveAfterwards()
const;
66 int colorMode()
const;
68 void setOutputDisplayed(
bool);
69 void setColorMode(
int);
99 void finaliseDoneCB( CallBacker* );
101 void displayModeChg(CallBacker*);
102 void treeItemSelCB(CallBacker*);
103 void treeItemDeselCB(CallBacker*);
104 void addRemoveEMObjCB(CallBacker*);
105 void addRemoveVisObjCB(CallBacker*);
106 void deselTimerCB(CallBacker*);
107 void surveyChg(CallBacker*);
109 void enableToolbar(
bool yn);
110 void clearCurDisplayObj();
112 void updateToolbarCB(CallBacker*);
113 void editSelectToggleCB(CallBacker*);
114 void outputTypeChg(CallBacker*);
115 void outputActionChg(CallBacker*);
116 void stickRemovalCB(CallBacker*);
117 void undoCB(CallBacker*);
118 void redoCB(CallBacker*);
119 void keyPressedCB(CallBacker*);
120 void keyReleasedCB(CallBacker*);
122 void outputEditTextChg(CallBacker*);
123 void outputComboSelChg(CallBacker*);
124 void editReadyTimerCB(CallBacker*);
126 void processOutputName();
128 void setOutputName(
const char*);
129 void setAuxSurfaceWrite(
const char*);
131 void selectOutputCB(CallBacker*);
132 void outputSelectedCB(CallBacker*);
134 void colorPressedCB(CallBacker*);
135 void outputColorChg(CallBacker*);
136 void colorModeChg(CallBacker*);
137 void updateColorMode();
139 void settingsToggleCB(CallBacker*);
140 void settingsClosedCB(CallBacker*);
141 void showSettings(
bool yn);
143 void transferSticksCB(CallBacker*);
144 void displayUpdate();
145 void afterTransferUpdate();
148 bool isInSerialMode()
const;
149 bool isInCreateMode()
const;
151 bool displayAfterwards()
const;
152 bool saveAfterwards()
const;
153 bool inheritColor()
const;
154 bool randomColor()
const;
155 bool currentColor()
const;
158 void updateOutputItems(
bool clearcuritem);
159 void publishOutputItems();
161 void flashOutputName(
bool error,
162 const char* newname=0);
163 void flashOutputTimerCB(CallBacker*);
166 bool areSticksAccessible()
const;
167 void enableStickAccess(
bool yn);
223 static uiString sKeyCopySelection();
224 static uiString sKeyMoveSelection();
226 static uiString sKeyToFaultStickSet();
227 static uiString sKeyCreateSingleNew();
228 static uiString sKeyCreateNewInSeries();
229 static uiString sKeyMergeWithExisting();
230 static uiString sKeyReplaceExisting();
#define mExpClass(module)
Definition: commondefs.h:160
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
Notifier< uiFaultStickTransferDlg > colormodechg
Definition: uiodfaulttoolman.h:71
Setup()
Definition: uiodfaulttoolman.h:51
Definition: uiodfaulttoolman.h:49
bool displayifnot_
Definition: uiodfaulttoolman.h:85
ColorMode
Definition: uiodfaulttoolman.h:46
OpendTect application top level object.
Definition: uiodmain.h:41
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
FixedString Random()
Definition: keystrs.h:106
uiGenInput * existscolormodefld_
Definition: uiodfaulttoolman.h:82
Definition: uiodfaulttoolman.h:47
Definition: uiiosurface.h:95
Combo box.
Definition: uicombobox.h:32
Definition: uistring.h:89
uiGenInput * serialcolormodefld_
Definition: uiodfaulttoolman.h:81
Set of BufferString objects.
Definition: bufstringset.h:28
Used for displaying a polyline, preview for a random line created throught well path.
Definition: visarrowdisplay.h:20
Definition: uidialog.h:42
Definition: visfaultdisplay.h:55
bool saveifdisplayed_
Definition: uiodfaulttoolman.h:86
Definition: uiodfaulttoolman.h:42
Definition: uiodfaulttoolman.h:46
#define mDefSetupMemb(typ, memb)
Definition: commondefs.h:137
User Interface (UI) element for selection of IOObjs.
Definition: uiioobjsel.h:38
uiCheckBox * savefld_
Definition: uiodfaulttoolman.h:80
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:40
Earth Model objects like horizons, faults, fault-sticks and bodies.
Definition: embody.h:25
Color is an RGB color object, with a transparancy. The storage is in a 4-byte integer, similar to Qt.
Definition: color.h:26
Definition: uilineedit.h:51
uiCheckBox * displayfld_
Definition: uiodfaulttoolman.h:79
Display class for FaultStickSets.
Definition: visfaultsticksetdisplay.h:45
Timer class.
Definition: timer.h:25
Definition: uibutton.h:134
uiGenInput * singlecolormodefld_
Definition: uiodfaulttoolman.h:83