13 #include "uitoolsmod.h" 36 int state()
const {
return state_; }
44 virtual void raiseCurrent() = 0;
53 virtual void doPart() = 0;
54 virtual void closeDown();
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) ); \
#define mExpClass(module)
Definition: commondefs.h:157
Inherit from this class to be able to send and/or receive CallBacks.
Definition: callback.h:182
static int cCancelled()
Definition: uivarwizard.h:40
uiParent * parent_
Definition: uivarwizard.h:48
#define mODTextTranslationClass(clss)
Definition: uistring.h:37
friend class uiVarWizard
Definition: uivarwizarddlg.h:40
int state_
Definition: uivarwizard.h:50
'Server' for flexible wizards.
Definition: uivarwizard.h:27
IOPar pars_
Definition: uivarwizard.h:49
Definition: uiparent.h:24
IOPar & pars()
Definition: uivarwizard.h:34
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:53
Dialog in flexible wizard series.
Definition: uivarwizarddlg.h:20
virtual ~uiVarWizard()
Definition: uivarwizard.h:32
static int cWait4Dialog()
Definition: uivarwizard.h:42
int state() const
Definition: uivarwizard.h:36
static int cFinished()
Definition: uivarwizard.h:41
const IOPar & pars() const
Definition: uivarwizard.h:35
Notifier< uiVarWizard > processEnded
Definition: uivarwizard.h:38
int afterfinishedstate_
Definition: uivarwizard.h:51
IOPar & pars_
Definition: uivarwizarddlg.h:34