 |
OpendTect
6.6
|
Go to the documentation of this file.
14 #include "uitoolsmod.h"
36 int state()
const {
return state_; }
60 #define mSetVWState(st) \
61 { state_ = st; nextAction(); return; }
63 #define mLaunchVWDialogOnly(dlg,clss,fn) \
64 dlg->windowClosed.notify( mCB(this,clss,fn) ); \
65 dlg->setDeleteOnClose( true ); dlg->go()
67 #define mLaunchVWDialog(dlg,clss,fn) \
68 mLaunchVWDialogOnly(dlg,clss,fn); \
69 mSetVWState( cWait4Dialog() )
71 #define mHandleVWCancel(dlg,backstate) \
73 if ( !dlg->uiResult() ) \
75 const bool doleave = mustLeave(dlg); \
77 mSetVWState( doleave ? cCancelled() : ((int)backstate) ); \
int state_
Definition: uivarwizard.h:50
const IOPar & pars() const
Definition: uivarwizard.h:35
#define mExpClass(module)
Definition: commondefs.h:177
Dialog in flexible wizard series.
Definition: uivarwizarddlg.h:22
int afterfinishedstate_
Definition: uivarwizard.h:51
void nextAction()
Call in constructor of subclass.
Inherit from this class to be able to send and/or receive CallBacks.
Definition: callback.h:185
'Server' for flexible wizards.
Definition: uivarwizard.h:28
IOPar & pars_
Definition: uivarwizarddlg.h:35
int state() const
Definition: uivarwizard.h:36
IOPar & pars()
Definition: uivarwizard.h:34
IOPar pars_
Definition: uivarwizard.h:49
static int cFinished()
Definition: uivarwizard.h:41
static bool mustLeave(uiVarWizardDlg *)
mODTextTranslationClass(uiVarWizard)
Notifier< uiVarWizard > processEnded
Definition: uivarwizard.h:38
virtual ~uiVarWizard()
Definition: uivarwizard.h:32
friend class uiVarWizard
Definition: uivarwizarddlg.h:41
static int cWait4Dialog()
Definition: uivarwizard.h:42
static int cCancelled()
Definition: uivarwizard.h:40
uiParent * parent_
Definition: uivarwizard.h:48
Definition: uiparent.h:26
virtual void doPart()=0
default -1 meaning: close down
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:55
virtual void raiseCurrent()=0
Generated at
for the OpendTect
seismic interpretation project.
Copyright (C): dGB Beheer B.V. 1995-2021