OpendTect-6_4  6.4
Classes | Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Static Protected Attributes | Friends | List of all members
uiDialog Class Reference

Inherits uiMainWin.

Inherited by CmdDrive::uiCmdDriverDlg, CmdDrive::uiCmdInteractDlg, Coords::uiCoordSystemDlg, PreStack::uiAGC, PreStack::uiAngleCompAdvParsDlg, PreStack::uiAngleMute, PreStack::uiAngleMuteComputer, PreStack::uiEventExport, PreStack::uiEventImport, PreStack::uiExportMute, PreStack::uiImportMute, PreStack::uiLateralStack, PreStack::uiMute, PreStack::uiSemblanceAlgorithm, PreStack::uiTrimStatics, PreStackView::uiViewer2DPosDlg, PreStackView::uiViewer2DSelDataDlg, uiAddEditMrkrDlg, uiArr2DFilterParsDlg, uiArrowDialog, uiAttr2DSelDlg, uiAttribCrossPlot, uiAttribDescSetEd, uiAttribTransDlg, uiAttrInpDlg, uiAttrSelDlg, uiAutoAttrSelDlg, uiAutoAttrSetOpen, uiBatchHostsDlg, uiBatchProcDlg, uiBatchProgLaunch, uiBatchTime2DepthSetup, uiBodyOperatorDlg, uiBodyRegionDlg, uiBulk2DHorizonImport, uiBulkD2TModelImport, uiBulkFaultImport, uiBulkHorizonImport, uiBulkLogImport, uiBulkMarkerImport, uiBulkTrackImport, uiCalcHorVol, uiChangeHorizonDlg, uiClusterJobProv, uiClusterProc, uiColorBarDialog, uiColorTableMan, uiColTabImport, uiColTabMarkerDlg, uiConvertPos, uiCopyFaultSet, uiCopySurface, uiCrDevEnv, uiCreate2DGrid, uiCreateAttribLogDlg, uiCreateDPSPDF, uiCreateHorizon, uiCreateLogCubeDlg, uiCreatePicks, uiCrossAttrEvaluateDlg, uiD2TModelDlg, uiDataPointSet, uiDataPointSetMerger, uiDirLightDlg, uiDispEditMarkerDlg, uiDPSAddColumnDlg, uiDPSOverlayPropDlg, uiDPSRefineSelDlg, uiDPSSelGrpDlg, uiEditProbDenFuncDlg, uiElasticPropSelDlg, uiEMPreLoadDlg, uiEvaluateDlg, uiExp2DGeom, uiExport2DHorizon, uiExportFault, uiExportHorizon, uiExportLogs, uiExpRokDocPDF, uiExpSelectionArea, uiFaultStickTransferDlg, uiFlatViewZoomLevelDlg, uiFreqTaperDlg, uiGainAnalysisDlg, uiGenInputDlg, uiGenRanLineFromPolygon, uiGenRanLinesByContour, uiGenRanLinesByShift, uiGetChoice, uiGetFileForAttrSet, uiGetObjectName, uiGridLinesDlg, uiHandleDLSiteFail, uiHor2DFrom3DDlg, uiHor3DFrom2DDlg, uiHorAttr2Geom, uiHorizonInterpolDlg, uiHorizonMergeDlg, uiHorizonRelationsDlg, uiHorizonShiftDialog, uiHorizonSortDlg, uiImp2DGeom, uiImpAttrSet, uiImpExpPickSet, uiImplBodyCalDlg, uiImplicitBodyValueSwitchDlg, uiImportFault, uiImportHorizon, uiImportHorizon2D, uiImportLogsDlg, uiImpPVDS, uiImpRokDocPDF, uiInvDistInterpolPars, uiIOObjRetDlg, uiIssueReporterDlg, uiLatLong2CoordDlg, uiLaySeqAttribEd, uiLinePosSelDlg, uiManageLineGeomDlg, uiManPROPS, uiMarkerDlg, uiMarkerStyleDlg, uiMarkerViewDlg, uiMathPropEdDlg, uiMeasureDlg, uiMergeSeis, uiMMBatchJobDispatcher, uiMultCompDlg, uiMultCompSel::MCompDlg, uiMultiMapperRangeEditWin, uiMultiSurfaceReadDlg, uiMultOutSel, uiObjFileMan, uiODEditAttribColorDlg, uiODSysAdm, uiODSysAdmColorTabs, uiODViewer2DPosDlg, uiPluginMan, uiPluginSel, uiPosProvDlg, uiPreStackCopyDlg, uiPreStackDataPackSelDlg, uiPreStackMergeDlg, uiProbDenFuncGen, uiProxyDlg, uiReadSelGrp, uiReadSurfaceDlg, uiRGBAttrSelDlg, uiSaveImageDlg, uiSceneColorbarMgr, uiScenePropertyDlg, uiSeis2DFileMan, uiSeis2DFrom3D, uiSeis2DTo3D, uiSeis2DTo3DInterPol, uiSeisBrowser, uiSeisCopy2DDataSet, uiSeisCopyCube, uiSeisDump2DGeom, uiSeisEventSnapper, uiSeisExpCubePositionsDlg, uiSeisImpCBVSFromOtherSurveyDlg, uiSeisImportCBVS, uiSeisIOSimple, uiSeisMultiCubePS, uiSeisPreLoadMgr, uiSeisPreLoadSel, uiSeisRandTo2DLineDlg, uiSeisWvltCopy, uiSeisWvltCreate, uiSeisWvltExp, uiSeisWvltImp, uiSeisWvltSliderDlg, uiSelectFromList, uiSelectPropRefs, uiSelFonts, uiSelObjFromOtherSurvey, uiSetD2TFromOtherWell, uiSetDataDir, uiSetPickDirs, uiSettings, uiShortcutsDlg, uiSimpleMultiWellCreate, uiSingleAttribEd, uiSingleGroupDlg, uiSliceSelDlg, uiSrchProcFiles, uiStartBatchJobDialog, uiStereoDlg, uiStoreAuxData, uiStratContentsDlg, uiStratEditLayer, uiStratLayModFRPropSelector, uiStratLevelDlg, uiStratLinkLvlUnitDlg, uiStratLithoDlg, uiStratSynthCrossplot, uiStratSynthExport, uiStratUnitDivideDlg, uiStratUnitEditDlg, uiSurvey, uiSurveyInfoEditor, uiSurveySelectDlg, uiSurvTopBotImageDlg, uiSynthGenDlg, uiSynthToRealScale, uiTabStackDlg, uiTaskRunner, uiTextFileDlg, uiTrcPositionDlg, uiVariogramDisplay, uiVariogramDlg, uiVarWizardDlg, uiVelocityDescDlg, uiWaveletDispPropDlg, uiWaveletExtraction, uiWaveletMatchDlg, uiWell2RandomLineDlg, uiWellAttribCrossPlot, uiWellAttribSel, uiWellDispPropDlg, uiWellImportAsc, uiWellLogCalc, uiWellLogDispDlg, uiWellLogEditor, uiWellLogToolWinMgr, uiWellLogUOMDlg, uiWellMarkersDlg, uiWellTo2DLineDlg, uiWellTrackDlg, uiWindowFuncSelDlg, uiWindowGrabDlg, uiWizard, uiWriteSurfaceDlg, uiZStretchDlg, Vel::uiAddFunction, Vel::uiBatchVolumeConversion, Vel::uiEditFunction, Vel::uiImportVelFunc, VolProc::uiBatchSetup, VolProc::uiChain, VolProc::uiStepDialog, WellTie::uiCheckShotEdit, WellTie::uiInfoDlg, WellTie::uiSaveDataDlg, and WellTie::uiTieWinMGRDlg.

Classes

class  Setup
 description of properties of dialog. More...
 

Public Types

enum  Button {
  OK, CANCEL, APPLY, HELP,
  CREDITS, SAVE
}
 
enum  CtrlStyle { OkAndCancel, RunAndClose, CloseOnly }
 
- Public Types inherited from uiMainWin
enum  Dock {
  Top, Bottom, Right, Left,
  Minimized, TornOff, Unmanaged
}
 Dock Selector. More...
 
enum  PopupArea {
  TopLeft, TopRight, BottomLeft, BottomRight,
  Middle, Auto
}
 
enum  ActModalTyp {
  None =0, Main, Message, File,
  Colour, Font, Unknown
}
 

Public Member Functions

 uiDialog (uiParent *, const Setup &)
 
const Setupsetup () const
 
int go ()
 
int goMinimized ()
 
void reject (CallBacker *cb=0)
 
void accept (CallBacker *cb=0)
 
void done (int ret=0)
 0=Cancel, 1=OK, other=user defined More...
 
void setHSpacing (int)
 
void setVSpacing (int)
 
void setBorder (int)
 
void setModal (bool yn)
 
bool isModal () const
 
uiButton * button (Button but)
 
void setButtonText (Button but, const uiString &txt)
 
void setCtrlStyle (CtrlStyle)
 On construction, it's (of course) OkAndCancel. More...
 
CtrlStyle getCtrlStyle () const
 OK button disabled when set to CloseOnly. More...
 
void setOkCancelText (const uiString &ok, const uiString &cnl)
 
void setOkText (const uiString &)
 
void setCancelText (const uiString &)
 Cancel button disabled when set to empty. More...
 
void enableSaveButton (const uiString &txt=uiStrings::sSaveAsDefault())
 Save button enabled when set to non-empty. More...
 
int uiResult () const
 0: cancel; 1: OK More...
 
void setButtonSensitive (Button, bool)
 
void setSaveButtonChecked (bool)
 
void setTitleText (const uiString &txt)
 
bool hasSaveButton () const
 
bool saveButtonChecked () const
 
void setSeparator (bool yn)
 Separator between central dialog and OK/Cancel bar? More...
 
bool separator () const
 
void setHelpKey (const HelpKey &)
 
virtual HelpKey helpKey () const
 
void showMinMaxButtons ()
 
void showAlwaysOnTop ()
 
- Public Member Functions inherited from uiMainWin
 uiMainWin (uiParent *, const uiMainWin::Setup &)
 
 uiMainWin (uiParent *, const uiString &caption=uiString::emptyString(), int nrstatusflds=1, bool withmenubar=true, bool modal=false)
 
virtual ~uiMainWin ()
 
uiStatusBarstatusBar ()
 
uiMenuBar * menuBar ()
 
void setCaption (const uiString &)
 
const uiStringcaption (bool unique=false) const
 
void setIcon (const uiPixmap &)
 Default icon is set in uiMain. More...
 
void setIconText (const uiString &)
 
virtual void show ()
 
void close ()
 
void raise ()
 
void showMaximized ()
 
void showMinimized ()
 
void showNormal ()
 
bool isMaximized () const
 
bool isMinimized () const
 
bool isHidden () const
 
bool isModal () const
 
void setSensitive (bool yn)
 
void toStatusBar (const uiString &, int fldidx=0, int msecs=-1)
 
virtual void reDraw (bool deep)
 
uiGrouptopGroup ()
 
void setShrinkAllowed (bool yn)
 
bool shrinkAllowed ()
 
void setExitAppOnClose (bool yn)
 automatically set by uiMain::setTopLevel More...
 
void setDeleteOnClose (bool yn)
 
void removeDockWindow (uiDockWin *)
 
void addDockWindow (uiDockWin &, Dock)
 
void addToolBar (uiToolBar *)
 
uiToolBarfindToolBar (const char *)
 
uiToolBarremoveToolBar (uiToolBar *)
 
void addToolBarBreak ()
 
uiMenugetToolbarsMenu () const
 
const ObjectSet< uiToolBar > & toolBars () const
 
const ObjectSet< uiDockWin > & dockWins () const
 
void setPopupArea (PopupArea pa)
 
PopupArea getPopupArea () const
 
void setCornerPos (int x, int y)
 
uiRect geometry (bool frame=true) const
 Position of top-left corner in screen pixel coords. More...
 
bool poppedUp () const
 
bool touch ()
 resets pop-up timer if !poppedUp yet More...
 
bool finalised () const
 
virtual uiMainWinmainwin ()
 
 mQtclass (QWidget *) qWidget() const
 
uiParentparent ()
 
const uiParentparent () const
 
void translateText ()
 
bool grab (const char *filenm, int zoom=1, const char *format=0, int quality=-1) const
 
void activateInGUIThread (const CallBack &, bool busywait=true)
 
void saveImage (const char *fnm, int w, int h, int res)
 
void saveAsPDF (const char *fnm, int w, int h, int res)
 
void saveAsPS (const char *fnm, int w, int h, int res)
 
void copyToClipBoard ()
 
void runScript (const char *filename)
 
const char * getScriptToRun () const
 
- Public Member Functions inherited from uiParent
 uiParent (const char *nm, uiParentBody *)
 
void addChild (uiBaseObject &)
 
void manageChld (uiBaseObject &, uiObjectBody &)
 
void attachChild (constraintType tp, uiObject *child, uiObject *other, int margin, bool reciprocal)
 
const ObjectSet< uiBaseObject > * childList () const
 
uiObjectmainObject ()
 
const uiObjectmainObject () const
 
uiParentBodypbody ()
 
const uiParentBodypbody () const
 
void attach (constraintType t, int margin=-1)
 
void attach (constraintType t, uiParent *oth, int margin=-1, bool reciprocal=true)
 
void attach (constraintType t, uiObject *oth, int margin=-1, bool reciprocal=true)
 
virtual void display (bool yn, bool shrk=false, bool maximize=false)
 
bool isDisplayed () const
 
void setFocus ()
 
bool hasFocus () const
 
void setSensitive (bool yn=true)
 
bool sensitive () const
 
const uiFontfont () const
 
void setFont (const uiFont &f)
 
void setCaption (const uiString &c)
 
void setCursor (const MouseCursor &c)
 
uiSize actualsize (bool include_border) const
 
int prefHNrPics () const
 
int prefVNrPics () const
 
void setPrefHeight (int h)
 
void setPrefWidth (int w)
 
void setPrefHeightInChar (int h)
 
void setPrefHeightInChar (float h)
 
void setPrefWidthInChar (float w)
 
void setPrefWidthInChar (int w)
 
void shallowRedraw (CallBacker *=0)
 
void deepRedraw (CallBacker *=0)
 
void setStretch (int h, int v)
 
Color backgroundColor () const
 
Color roBackgroundColor () const
 
void setBackgroundColor (const Color &c)
 
void translateText ()
 

Static Public Member Functions

static int titlePos ()
 
static void setTitlePos (int pos)
 
- Static Public Member Functions inherited from uiMainWin
static uiMainWinactiveWindow ()
 
static uiMainWingtUiWinIfIsBdy (mQtclass(QWidget *) mwimpl)
 get uiMainWin for mwimpl if it is a uiMainWinBody More...
 
static ActModalTyp activeModalType ()
 
static uiMainWinactiveModalWindow ()
 
static const char * activeModalQDlgTitle ()
 
static const char * activeModalQDlgButTxt (int butnr)
 
static int activeModalQDlgRetVal (int butnr)
 
static void closeActiveModalQDlg (int retval)
 
static void getModalSignatures (BufferStringSet &)
 
static void getTopLevelWindows (ObjectSet< uiMainWin > &, bool visibleonly=true)
 
static uiString uniqueWinTitle (const uiString &, mQtclass(QWidget *) forwindow=0, BufferString *addendum=0)
 
static bool grabScreen (const char *filenm, const char *format=0, int quality=-1, int screen=0)
 
static void programActiveWindow (uiMainWin *)
 
static uiMainWinprogrammedActiveWindow ()
 

Public Attributes

Notifier< uiDialogapplyPushed
 
- Public Attributes inherited from uiMainWin
Notifier< uiMainWinwindowClosed
 triggered when window exits More...
 
Notifier< uiMainWinactivatedone
 
Notifier< uiMainWinctrlCPressed
 
Notifier< uiMainWinafterPopup
 
Notifier< uiMainWinrunScriptRequest
 

Protected Member Functions

virtual bool rejectOK (CallBacker *)
 confirm reject More...
 
virtual bool acceptOK (CallBacker *)
 confirm accept More...
 
virtual bool doneOK (int)
 confirm exit More...
 
- Protected Member Functions inherited from uiMainWin
virtual bool closeOK ()
 confirm window close More...
 
 uiMainWin (uiString, uiParent *)
 
uiObjectmainobject ()
 
void saveSettings ()
 
void readSettings ()
 
void saveAsPDF_PS (const char *fnm, bool aspdf, int w, int h, int res)
 
void copyToClipBoardCB (CallBacker *)
 
void aftPopupCB (CallBacker *)
 
void languageChangeCB (CallBacker *)
 
void setForceFinalise (bool)
 
void updateCaption ()
 
- Protected Member Functions inherited from uiParent
virtual void attach_ (constraintType t, uiObject *oth, int margin=-1, bool reciprocal=true)
 

Protected Attributes

bool cancelpushed_
 
CtrlStyle ctrlstyle_
 
- Protected Attributes inherited from uiMainWin
uiMainWinBodybody_
 
uiParentparent_
 
Timerafterpopuptimer_
 
PopupArea popuparea_
 
uiString caption_
 
uiString uniquecaption_
 
int languagechangecount_
 
BufferString scripttorun_
 

Static Protected Attributes

static int titlepos_
 

Friends

class uiDialogBody
 

Detailed Description

Member Enumeration Documentation

Enumerator
OK 
CANCEL 
APPLY 
HELP 
CREDITS 
SAVE 
Enumerator
OkAndCancel 
RunAndClose 
CloseOnly 

Constructor & Destructor Documentation

uiDialog::uiDialog ( uiParent ,
const Setup  
)

Member Function Documentation

void uiDialog::accept ( CallBacker cb = 0)
virtual bool uiDialog::acceptOK ( CallBacker )
inlineprotectedvirtual

confirm accept

Reimplemented in uiDataPointSet, uiExpSelectionArea, uiSetD2TFromOtherWell, uiStratLayModFRPropSelector, uiReadSelGrp, uiWellLogUOMDlg, uiStratLinkLvlUnitDlg, uiNewWellDlg, uiCreate2DGrid, uiAttribDescSetEd, uiAttrSelDlg, uiGetChoice, uiPosProvDlg, uiStratUnitDivideDlg, uiWellLogEditor, uiDataPointSetMerger, uiGenRandPicks2D, uiElasticPropSelDlg, PreStackView::uiViewer2DSelDataDlg, uiLinePosSelDlg, uiWellDispCtrlEditMarkerDlg, uiD2TModelDlg, uiSeisBrowser, WellTie::uiCheckShotEdit, uiTextFileDlg, uiSaveWinImageDlg, uiWellLogToolWinMgr, uiSurveyInfoEditor, uiCopyFaultSet, uiGenRanLineFromPolygon, uiGetObjectName, uiTabStackDlg, uiSliceSelDlg, PreStackView::uiViewer2DPosDlg, PreStack::uiAngleMute, uiSeisWvltMerge, uiGenInputDlg, uiSettingsDlg, uiGenPosPicks, uiSelectPropRefsVWDlg, Vel::uiEditFunction, uiCopySurface, uiInvDistInterpolPars, uiWell2RandomLineDlg, uiEvaluateDlg, uiDispEditMarkerDlg, uiImportFaultStickSet2D, Coords::uiCoordSystemDlg, uiSelectPropRefs, uiSurvey, uiWellLogCalc, uiImplicitBodyValueSwitchDlg, uiStratSynthCrossplot, uiGenRanLinesByShift, uiBulkD2TModelImport, uiAutoAttrSetOpen, uiLatLong2CoordDlg, Vel::uiAddFunction, uiExportLogs, uiStoreAuxData, uiCreatePicks, uiSeisPreLoadSel, uiSeisWvltCopy, uiImportFault3D, uiSynthToRealScale, WellTie::uiTieWinMGRDlg, uiLaySeqAttribEd, uiIOObjSelDlg, uiMMBatchJobDispatcher, uiVelocityDescDlg, uiSingleGroupDlg, uiColorTableMan, uiSeisIOSimple, uiODSysAdm, uiWellTrackDlg, uiStratSynthExport, uiAttr2DSelDlg, PreStack::uiAngleCompAdvParsDlg, uiPrintSceneDlg, uiStartBatchJobDialog, uiBulkMarkerImport, uiStratUnitEditDlg, uiAttribCrossPlot, uiExpRokDocPDF, uiSelectFromList, uiCreateDPSPDF, uiEditProbDenFuncDlg, uiTaskRunner, uiSeisCopy2DDataSet, uiHorAttr2Geom, uiCrossAttrEvaluateDlg, uiPreStackCopyDlg, uiSeisRandTo2DLineDlg, uiImportHorizon, uiReadSurfaceDlg, uiSynthGenDlg, uiImpAttrSet, uiHorizonShiftDialog, uiSeisWvltExp, uiExportFault, uiWellImportAsc, uiSeisMultiCubePS, uiGenRanLinesByContour, VolProc::uiBatchSetup, uiSeisWvltGen, uiMarkerDlg, uiZStretchDlg, uiHandleDLSiteFail, uiSettings, uiManageLineGeomDlg, uiExp2DGeom, VolProc::uiStepDialog, uiAttrInpDlg, uiSetPickDirs, uiWellTo2DLineDlg, uiImpExpPickSet, uiMultiSurfaceReadDlg, uiFlatViewPropDlg, uiSeis2DTo3D, uiBulkLogImport, uiAutoAttrSelDlg, uiClusterJobProv, uiExportHorizon, VolProc::uiChain, uiDirLightDlg, uiSeisImportCBVS, uiImportLogsDlg, PreStack::uiImportMute, uiPreStackMergeDlg, uiPluginSel, uiWriteSurfaceDlg, uiImportHorizon2D, WellTie::uiSaveDataDlg, uiWindowGrabDlg, uiExport2DHorizon, Vel::uiImportVelFunc, uiWellAttribSel, uiImpRokDocPDF, uiSeis2DTo3DInterPol, uiStratEditLayer, uiImportFault, uiAddEditMrkrDlg, uiSingleAttribEd, VolProc::uiSurfaceLimitedFiller, uiCreateAttribLogDlg, uiColTabImport, uiChangeHorizonDlg, uiSeisEventSnapper, uiWizard, uiFlatViewZoomLevelDlg, uiDataPointSetCrossPlotterPropDlg, uiSeisCopyCube, uiGetFileForAttrSet, uiGainAnalysisDlg, uiScenePropertyDlg, uiColTabMarkerDlg, uiBatchProgLaunch, uiSelObjFromOtherSurvey, uiSeisWvltImp, uiHorizonInterpolDlg, uiIssueReporterDlg, uiProxyDlg, uiHorizonSortDlg, VolProc::uiVolumeReader, VolProc::uiWellLogInterpolator, uiDPSOverlayPropDlg, uiDPSRefineSelDlg, uiImpPVDS, uiSrchProcFiles, uiHor3DFrom2DDlg, PreStack::uiAngleMuteComputer, PreStack::uiExportMute, VolProc::uiLateralSmoother, uiWellAttribCrossPlot, uiPreStackDataPackSelDlg, uiSeisImpCBVSFromOtherSurveyDlg, uiWaveletExtraction, uiBodyOperatorDlg, uiHorGeom2Attr, VolProc::uiHorInterFiller, uiHor2DFrom3DDlg, uiBatchHostsDlg, uiSetDataDir, uiMathPropEdDlg, uiProbDenFuncGen, Vel::uiBatchVolumeConversion, uiSimpleMultiWellCreate, VolProc::uiVelocityGridder, VolProc::uiSmoother, uiDPSAddColumnDlg, uiMergeSeis, PreStack::uiMute, uiCreateHorizon, PreStack::uiTrimStatics, uiCreateLogCubeDlg, uiODSysAdmColorTabs, uiBatchTime2DepthSetup, uiBodyRegionDlg, uiPickPropDlg, uiWaveletMatchDlg, uiBulkTrackImport, VolProc::uiBodyFiller, uiODViewer2DPosDlg, uiBatchProcDlg, uiShortcutsDlg, uiImp2DGeom, uiSeisDump2DGeom, uiODEditAttribColorDlg, uiSeisExpCubePositionsDlg, PreStack::uiEventImport, uiStereoDlg, uiCrDevEnv, uiHorizonMergeDlg, PreStack::uiAGC, PreStack::uiEventExport, PreStack::uiLateralStack, uiRGBAttrSelDlg, uiGridLinesDlg, uiGraphicsSaveImageDlg, uiSeis2DFrom3D, uiDPSSelectednessDlg, uiBulk2DHorizonImport, uiBulkFaultImport, uiAttribTransDlg, uiMarkerStyleDlg, and uiBulkHorizonImport.

uiButton* uiDialog::button ( Button  but)
void uiDialog::done ( int  ret = 0)

0=Cancel, 1=OK, other=user defined

virtual bool uiDialog::doneOK ( int  )
inlineprotectedvirtual

confirm exit

void uiDialog::enableSaveButton ( const uiString txt = uiStrings::sSaveAsDefault())

Save button enabled when set to non-empty.

CtrlStyle uiDialog::getCtrlStyle ( ) const
inline

OK button disabled when set to CloseOnly.

int uiDialog::go ( )
int uiDialog::goMinimized ( )
bool uiDialog::hasSaveButton ( ) const
virtual HelpKey uiDialog::helpKey ( ) const
virtual

Reimplemented in uiTabStackDlg, and uiSingleGroupDlg.

bool uiDialog::isModal ( ) const
void uiDialog::reject ( CallBacker cb = 0)
virtual bool uiDialog::rejectOK ( CallBacker )
inlineprotectedvirtual
bool uiDialog::saveButtonChecked ( ) const
bool uiDialog::separator ( ) const
void uiDialog::setBorder ( int  )
void uiDialog::setButtonSensitive ( Button  ,
bool   
)
void uiDialog::setButtonText ( Button  but,
const uiString txt 
)
void uiDialog::setCancelText ( const uiString )

Cancel button disabled when set to empty.

void uiDialog::setCtrlStyle ( CtrlStyle  )

On construction, it's (of course) OkAndCancel.

void uiDialog::setHelpKey ( const HelpKey )
void uiDialog::setHSpacing ( int  )
void uiDialog::setModal ( bool  yn)
void uiDialog::setOkCancelText ( const uiString ok,
const uiString cnl 
)
void uiDialog::setOkText ( const uiString )
void uiDialog::setSaveButtonChecked ( bool  )
void uiDialog::setSeparator ( bool  yn)

Separator between central dialog and OK/Cancel bar?

static void uiDialog::setTitlePos ( int  pos)
static
void uiDialog::setTitleText ( const uiString txt)
const Setup& uiDialog::setup ( ) const
void uiDialog::setVSpacing ( int  )
void uiDialog::showAlwaysOnTop ( )
void uiDialog::showMinMaxButtons ( )
static int uiDialog::titlePos ( )
static
int uiDialog::uiResult ( ) const

0: cancel; 1: OK

Friends And Related Function Documentation

friend class uiDialogBody
friend

Member Data Documentation

Notifier<uiDialog> uiDialog::applyPushed
bool uiDialog::cancelpushed_
protected
CtrlStyle uiDialog::ctrlstyle_
protected
int uiDialog::titlepos_
staticprotected

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