OpendTect-6_4  6.4
uicmddriverdlg.h
Go to the documentation of this file.
1 #ifndef cmddriverdlg_h
2 #define cmddriverdlg_h
3 /*+
4 ________________________________________________________________________
5 
6  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
7  Author: Nageswara
8  Date: October 2009
9  RCS: $Id$
10 ________________________________________________________________________
11 
12 -*/
13 
14 #include "uicmddrivermod.h"
15 #include "uidialog.h"
16 
17 class uiCheckBox;
18 class uiFileInput;
19 class uiTextEdit;
20 class uiLabel;
21 class uiLabeledComboBox;
22 class uiPushButton;
23 
24 
25 namespace CmdDrive
26 {
27 
28 class CmdDriver;
29 class CmdRecorder;
30 class InteractSpec;
31 
32 
33 mExpClass(uiCmdDriver) uiCmdInteractDlg : public uiDialog
35 public:
37 
38  bool unHide() const { return unhide_; }
39 
40 protected:
41  bool rejectOK(CallBacker*);
44  bool unhide_;
45 };
46 
47 
48 mExpClass(uiCmdDriver) uiCmdDriverDlg : public uiDialog
50 public:
53  const char* defaultscriptsdir=0,
54  const char* defaultlogdir=0);
55  ~uiCmdDriverDlg();
56 
57  void popUp();
58  void autoStartGo( const char* fnm);
59  void executeFinished();
60  void beforeSurveyChg();
61  void afterSurveyChg();
62 
63 protected:
64 
65  void selChgCB(CallBacker*);
66  bool selectGoCB(CallBacker*);
67  void selectAbortCB(CallBacker*);
68  void selectPauseCB(CallBacker*);
69  bool selectStartRecordCB(CallBacker*);
70  void selectStopRecordCB(CallBacker*);
71  void interactCB(CallBacker*);
72  bool rejectOK(CallBacker*);
73  void interactClosedCB(CallBacker*);
74  void toolTipChangeCB(CallBacker*);
75 
76  void refreshDisplay(bool runmode,bool idle);
77  void setDefaultSelDirs();
78  void setDefaultLogFile();
79 
83 
88 
98 
101 
103 
104 private:
105 
106  static uiString sInterrupting() { return tr("-Interrupting-"); }
107 };
108 
109 
110 }; // namespace CmdDrive
111 
112 
113 #endif
#define mExpClass(module)
Definition: commondefs.h:160
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
Definition: uitextedit.h:74
uiFileInput * logfld_
Definition: uicmddriverdlg.h:82
uiPushButton * startbut_
Definition: uicmddriverdlg.h:93
is the base class for all buttons.
Definition: uibutton.h:83
Command Drive
Definition: canvascommands.h:22
uiFileInput * inpfld_
Definition: uicmddriverdlg.h:80
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
BufferString logproposal_
Definition: uicmddriverdlg.h:87
A file-name input.
Definition: uifileinput.h:34
uiCmdInteractDlg * interactdlg_
Definition: uicmddriverdlg.h:102
uiLabeledComboBox * cmdoptionfld_
Definition: uicmddriverdlg.h:89
Definition: uistring.h:89
Definition: uiparent.h:26
CmdRecorder & rec_
Definition: uicmddriverdlg.h:97
uiFileInput * outfld_
Definition: uicmddriverdlg.h:81
uiPushButton * stopbut_
Definition: uicmddriverdlg.h:94
Definition: uidialog.h:42
Definition: cmdrecorder.h:71
uiPushButton * gobut_
Definition: uicmddriverdlg.h:90
bool inpfldsurveycheck_
Definition: uicmddriverdlg.h:84
bool outfldsurveycheck_
Definition: uicmddriverdlg.h:85
Definition: cmddriverbasics.h:197
Definition: uicmddriverdlg.h:48
uiTextEdit * infofld_
Definition: uicmddriverdlg.h:42
static uiString sInterrupting()
Definition: uicmddriverdlg.h:106
CmdDriver & drv_
Definition: uicmddriverdlg.h:96
uiPushButton * pausebut_
Definition: uicmddriverdlg.h:92
Definition: uicombobox.h:133
Definition: uicmddriverdlg.h:33
bool unhide_
Definition: uicmddriverdlg.h:44
bool logfldsurveycheck_
Definition: uicmddriverdlg.h:86
uiLabel * resumelbl_
Definition: uicmddriverdlg.h:43
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:40
Definition: uilabel.h:24
BufferString defaultscriptsdir_
Definition: uicmddriverdlg.h:99
bool unHide() const
Definition: uicmddriverdlg.h:38
uiCheckBox * tooltipfld_
Definition: uicmddriverdlg.h:95
BufferString defaultlogdir_
Definition: uicmddriverdlg.h:100
Definition: uibutton.h:134
Definition: cmddriver.h:103
uiPushButton * abortbut_
Definition: uicmddriverdlg.h:91

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