15 #include "uitoolsmod.h" 37 int state()
const {
return state_; }
45 virtual void raiseCurrent() = 0;
54 virtual void doPart() = 0;
55 virtual void closeDown();
61 #define mSetVWState(st) \ 62 { state_ = st; nextAction(); return; } 64 #define mLaunchVWDialogOnly(dlg,clss,fn) \ 65 dlg->windowClosed.notify( mCB(this,clss,fn) ); \ 66 dlg->setDeleteOnClose( true ); dlg->go() 68 #define mLaunchVWDialog(dlg,clss,fn) \ 69 mLaunchVWDialogOnly(dlg,clss,fn); \ 70 mSetVWState( cWait4Dialog() ) 72 #define mHandleVWCancel(dlg,backstate) \ 74 if ( !dlg->uiResult() ) \ 76 const bool doleave = mustLeave(dlg); \ 78 mSetVWState( doleave ? cCancelled() : ((int)backstate) ); \ #define mExpClass(module)
Definition: commondefs.h:160
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
static int cCancelled()
Definition: uivarwizard.h:41
uiParent * parent_
Definition: uivarwizard.h:49
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
friend class uiVarWizard
Definition: uivarwizarddlg.h:42
int state_
Definition: uivarwizard.h:51
'Server' for flexible wizards.
Definition: uivarwizard.h:28
IOPar pars_
Definition: uivarwizard.h:50
Definition: uiparent.h:26
IOPar & pars()
Definition: uivarwizard.h:35
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:47
Dialog in flexible wizard series.
Definition: uivarwizarddlg.h:22
virtual ~uiVarWizard()
Definition: uivarwizard.h:33
static int cWait4Dialog()
Definition: uivarwizard.h:43
int state() const
Definition: uivarwizard.h:37
static int cFinished()
Definition: uivarwizard.h:42
const IOPar & pars() const
Definition: uivarwizard.h:36
Notifier< uiVarWizard > processEnded
Definition: uivarwizard.h:39
int afterfinishedstate_
Definition: uivarwizard.h:52
IOPar & pars_
Definition: uivarwizarddlg.h:36