OpendTect  6.6
Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes | List of all members
uiDialogBody Class Reference
Inheritance diagram for uiDialogBody:
[legend]

Public Member Functions

 uiDialogBody (uiDialog &, uiParent *, const uiDialog::Setup &)
 
 ~uiDialogBody ()
 
void accept (CallBacker *)
 to be called by a 'ok' button More...
 
virtual void addChild (uiBaseObject &child)
 
virtual void attachChild (constraintType, uiObject *child, uiObject *other, int margin, bool reciprocal)
 
uiButtonbutton (uiDialog::Button)
 
void done (int i)
 
void enableSaveButton (const uiString &txt)
 
int exec (bool showminimized)
 
uiGroupgetDlgGrp ()
 
const uiDialog::SetupgetSetup () const
 
bool hasSaveButton () const
 
HelpKey helpKey () const
 
virtual void manageChld_ (uiBaseObject &, uiObjectBody &)
 
int nrVideos () const
 
void provideHelp (CallBacker *)
 
void reject (CallBacker *)
 to be called by a 'cancel' button More...
 
void removeVideo (int)
 
bool saveButtonChecked () const
 
bool separator () const
 
void setApplyText (const uiString &)
 
void setBorder (int b)
 
void setButtonSensitive (uiDialog::Button, bool yn)
 
void setCancelText (const uiString &)
 Cancel button disabled when set to empty. More...
 
void setDlgGrp (uiGroup *cw)
 
void setHelpKey (const HelpKey &key)
 
void setHSpacing (int spc)
 
void setOkCancelText (const uiString &, const uiString &)
 
void setOkText (const uiString &)
 OK button disabled when set to empty. More...
 
void setSaveButtonChecked (bool yn)
 
void setSeparator (bool yn)
 Separator between central dialog and Ok/Cancel bar? More...
 
void setTitleText (const uiString &txt)
 
void setVideoKey (const HelpKey &, int idx=-1)
 
void setVSpacing (int spc)
 
void showCredits (CallBacker *)
 
void showVideo (CallBacker *)
 
int uiResult ()
 
void uiSetResult (int v)
 
HelpKey videoKey (int idx) const
 
- Public Member Functions inherited from uiMainWinBody
 uiMainWinBody (uiMainWin &handle, uiParent *parnt, const char *nm, bool modal)
 
virtual ~uiMainWinBody ()
 
void activateInGUIThread (const CallBack &, bool busywait)
 
void addDockWin (uiDockWin &, uiMainWin::Dock)
 
void addToolBar (uiToolBar *)
 
void close ()
 
void construct (int nrstatusflds, bool wantmenubar)
 
virtual QMenu * createPopupMenu ()
 
const ObjectSet< uiDockWin > & dockWins () const
 
void doSetWindowFlags (Qt::WindowFlags, bool yn)
 
uiToolBarfindToolBar (const char *)
 
uiMenugetToolbarsMenu ()
 
void go (bool showminimized=false)
 
bool isModal () const
 
void move (int, int)
 
void move (uiMainWin::PopupArea)
 
virtual void polish ()
 
bool poppedUp () const
 
void reDraw (bool deep)
 
void removeDockWin (uiDockWin *)
 
uiToolBarremoveToolBar (uiToolBar *)
 
QScreen * screen (bool usetoplevel=false) const
 
void setModal (bool yn)
 
virtual void show ()
 
const ObjectSet< uiToolBar > & toolBars () const
 
bool touch ()
 
uiMenuBaruimenubar ()
 
uiStatusBaruistatusbar ()
 
void updateToolbarsMenu ()
 
- Public Member Functions inherited from uiCentralWidgetBody
virtual ~uiCentralWidgetBody ()
 
uiGroupuiCentralWidg ()
 
- Public Member Functions inherited from uiParentBody
virtual ~uiParentBody ()
 
const ObjectSet< uiBaseObject > * childList () const
 
void clearChildren ()
 
void finaliseChildren ()
 
bool finalised () const
 
void manageChld (uiBaseObject &child, uiObjectBody &b)
 child becomes mine. More...
 
QWidget * managewidg ()
 widget to be used as parent for QWidgets More...
 
const QWidget * managewidg () const
 widget to be used as parent for QWidgets More...
 
- Public Member Functions inherited from uiBody
virtual ~uiBody ()
 
virtual void clear ()
 
virtual void fontchanged ()
 
QWidget * qwidget ()
 can return 0 More...
 
const QWidget * qwidget () const
 can return 0 More...
 
- Public Member Functions inherited from NamedCallBacker
 NamedCallBacker (const char *nm=0)
 
 NamedCallBacker (const NamedCallBacker &)
 
virtual Notifier< NamedCallBacker > & objectToBeDeleted () const
 
bool operator== (const NamedCallBacker &oth) const
 
bool operator== (const NamedObject &oth) const
 
- Public Member Functions inherited from CallBacker
 CallBacker ()
 
 CallBacker (const CallBacker &)
 
virtual ~CallBacker ()
 
bool attachCB (const NotifierAccess &, const CallBack &, bool onlyifnew=false) const
 
bool attachCB (const NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false) const
 
void detachAllNotifiers () const
 Call from the destructor of your inherited object. More...
 
void detachCB (const NotifierAccess &, const CallBack &) const
 
void detachCB (const NotifierAccess *notif, const CallBack &cb) const
 
virtual bool isCapsule () const
 
bool isNotifierAttached (const NotifierAccess *) const
 Only for debugging purposes, don't use. More...
 
void stopReceivingNotifications () const
 
- Public Member Functions inherited from NamedObject
 NamedObject (const char *nm=nullptr)
 
 NamedObject (const NamedObject &oth)
 
virtual ~NamedObject ()
 
virtual BufferString getName () const
 
bool getNameFromPar (const IOPar &)
 
virtual const name_typename () const
 
NamedObjectoperator= (const NamedObject &)
 
bool operator== (const NamedObject &oth) const
 
virtual void setName (const char *nm)
 
- Public Member Functions inherited from ObjectWithName
virtual ~ObjectWithName ()
 
bool hasName (const char *nm) const
 
bool hasName (const name_type &nm) const
 
void putNameInPar (IOPar &) const
 

Protected Member Functions

void _done (int)
 
void applyCB (CallBacker *)
 
void closeEvent (QCloseEvent *)
 
virtual void finalise ()
 
virtual void finalise (bool)
 
virtual const QWidget * managewidg_ () const
 
- Protected Member Functions inherited from uiMainWinBody
void closeEvent (QCloseEvent *)
 
void doShow (bool minimized=false)
 
bool event (QEvent *)
 
void keyPressEvent (QKeyEvent *)
 
void managePopupPos ()
 
virtual const QWidget * qwidget_ () const
 
void readSettings ()
 
void renewToolbarsMenu ()
 
void resizeEvent (QResizeEvent *)
 
void saveSettings ()
 
void toggleToolbar (CallBacker *)
 
- Protected Member Functions inherited from uiCentralWidgetBody
 uiCentralWidgetBody (const char *nm)
 
- Protected Member Functions inherited from uiParentBody
 uiParentBody (const char *nm)
 
void childDel (CallBacker *cb)
 
void deleteAllChildren ()
 
- Protected Member Functions inherited from uiBody
 uiBody ()
 
- Protected Member Functions inherited from NamedCallBacker
void sendDelNotif () const
 

Protected Attributes

uiButtonapplybut_
 
uiButtoncnclbut_
 
uiToolButtoncreditsbut_
 
uiGroupdlggrp_
 
uiButtonhelpbut_
 
bool initchildrendone_
 
uiButtonokbut_
 
int result_
 
uiCheckBoxsavebutcb_
 
uiToolButtonsavebuttb_
 
uiDialog::Setup setup_
 
uiLabeltitlelbl_
 
uiButtonvideobut_
 
TypeSet< HelpKeyvideokeys_
 
- Protected Attributes inherited from uiMainWinBody
ObjectSet< CallBackactivatecbs_
 
Threads::Mutex activatemutex_
 
ObjectSet< uiDockWindockwins_
 
int eventrefnr_
 
bool exitapponclose_
 
uiMainWinhandle_
 
uiMenuBarmenubar_
 
int nractivated_
 
uiStatusBarstatusbar_
 
ObjectSet< uiToolBartoolbars_
 
uiMenutoolbarsmnu_
 
uiString windowtitle_
 
- Protected Attributes inherited from uiCentralWidgetBody
uiGroupcentralwidget_
 
bool initing_
 
- Protected Attributes inherited from uiParentBody
ObjectSet< uiBaseObjectchildren_
 
- Protected Attributes inherited from NamedCallBacker
Threads::Atomic< bool > delalreadytriggered_
 
Notifier< NamedCallBackerdelnotif_
 
- Protected Attributes inherited from NamedObject
BufferString name_
 

Private Member Functions

uiObjectcreateChildren ()
 
void initChildren ()
 
void layoutChildren (uiObject *)
 

Private Attributes

uiDialogdlghandle_
 

Additional Inherited Members

- Public Types inherited from ObjectWithName
typedef OD::String name_type
 
- Static Public Member Functions inherited from uiMainWinBody
static void getTopLevelWindows (ObjectSet< uiMainWin > &, bool visibleonly)
 
static QScreen * primaryScreen ()
 
- Static Public Member Functions inherited from CallBacker
static void createReceiverForCurrentThread ()
 
static void removeReceiverForCurrentThread ()
 
- Public Attributes inherited from uiMainWinBody
bool force_finalise_
 

Constructor & Destructor Documentation

◆ uiDialogBody()

uiDialogBody::uiDialogBody ( uiDialog ,
uiParent ,
const uiDialog::Setup  
)

◆ ~uiDialogBody()

uiDialogBody::~uiDialogBody ( )

Member Function Documentation

◆ _done()

void uiDialogBody::_done ( int  )
protected

◆ accept()

void uiDialogBody::accept ( CallBacker )

to be called by a 'ok' button

◆ addChild()

virtual void uiDialogBody::addChild ( uiBaseObject child)
virtual

Reimplemented from uiCentralWidgetBody.

◆ applyCB()

void uiDialogBody::applyCB ( CallBacker )
protected

◆ attachChild()

virtual void uiDialogBody::attachChild ( constraintType  ,
uiObject child,
uiObject other,
int  margin,
bool  reciprocal 
)
virtual

Reimplemented from uiCentralWidgetBody.

◆ button()

uiButton* uiDialogBody::button ( uiDialog::Button  )

◆ closeEvent()

void uiDialogBody::closeEvent ( QCloseEvent *  )
protected

◆ createChildren()

uiObject* uiDialogBody::createChildren ( )
private

◆ done()

void uiDialogBody::done ( int  i)

◆ enableSaveButton()

void uiDialogBody::enableSaveButton ( const uiString txt)

◆ exec()

int uiDialogBody::exec ( bool  showminimized)

◆ finalise() [1/2]

virtual void uiDialogBody::finalise ( )
inlineprotectedvirtual

Reimplemented from uiMainWinBody.

◆ finalise() [2/2]

virtual void uiDialogBody::finalise ( bool  )
protectedvirtual

Reimplemented from uiMainWinBody.

◆ getDlgGrp()

uiGroup* uiDialogBody::getDlgGrp ( )
inline

◆ getSetup()

const uiDialog::Setup& uiDialogBody::getSetup ( ) const
inline

◆ hasSaveButton()

bool uiDialogBody::hasSaveButton ( ) const

◆ helpKey()

HelpKey uiDialogBody::helpKey ( ) const
inline

◆ initChildren()

void uiDialogBody::initChildren ( )
private

◆ layoutChildren()

void uiDialogBody::layoutChildren ( uiObject )
private

◆ manageChld_()

virtual void uiDialogBody::manageChld_ ( uiBaseObject ,
uiObjectBody  
)
virtual

Reimplemented from uiCentralWidgetBody.

◆ managewidg_()

virtual const QWidget* uiDialogBody::managewidg_ ( ) const
inlineprotectedvirtual

Reimplemented from uiCentralWidgetBody.

◆ nrVideos()

int uiDialogBody::nrVideos ( ) const

◆ provideHelp()

void uiDialogBody::provideHelp ( CallBacker )

◆ reject()

void uiDialogBody::reject ( CallBacker )

to be called by a 'cancel' button

◆ removeVideo()

void uiDialogBody::removeVideo ( int  )

◆ saveButtonChecked()

bool uiDialogBody::saveButtonChecked ( ) const

◆ separator()

bool uiDialogBody::separator ( ) const
inline

◆ setApplyText()

void uiDialogBody::setApplyText ( const uiString )

◆ setBorder()

void uiDialogBody::setBorder ( int  b)
inline

◆ setButtonSensitive()

void uiDialogBody::setButtonSensitive ( uiDialog::Button  ,
bool  yn 
)

◆ setCancelText()

void uiDialogBody::setCancelText ( const uiString )

Cancel button disabled when set to empty.

◆ setDlgGrp()

void uiDialogBody::setDlgGrp ( uiGroup cw)
inline

◆ setHelpKey()

void uiDialogBody::setHelpKey ( const HelpKey key)
inline

◆ setHSpacing()

void uiDialogBody::setHSpacing ( int  spc)
inline

◆ setOkCancelText()

void uiDialogBody::setOkCancelText ( const uiString ,
const uiString  
)

◆ setOkText()

void uiDialogBody::setOkText ( const uiString )

OK button disabled when set to empty.

◆ setSaveButtonChecked()

void uiDialogBody::setSaveButtonChecked ( bool  yn)

◆ setSeparator()

void uiDialogBody::setSeparator ( bool  yn)
inline

Separator between central dialog and Ok/Cancel bar?

◆ setTitleText()

void uiDialogBody::setTitleText ( const uiString txt)

◆ setVideoKey()

void uiDialogBody::setVideoKey ( const HelpKey ,
int  idx = -1 
)

◆ setVSpacing()

void uiDialogBody::setVSpacing ( int  spc)
inline

◆ showCredits()

void uiDialogBody::showCredits ( CallBacker )

◆ showVideo()

void uiDialogBody::showVideo ( CallBacker )

◆ uiResult()

int uiDialogBody::uiResult ( )
inline

◆ uiSetResult()

void uiDialogBody::uiSetResult ( int  v)
inline

◆ videoKey()

HelpKey uiDialogBody::videoKey ( int  idx) const

Member Data Documentation

◆ applybut_

uiButton* uiDialogBody::applybut_
protected

◆ cnclbut_

uiButton* uiDialogBody::cnclbut_
protected

◆ creditsbut_

uiToolButton* uiDialogBody::creditsbut_
protected

◆ dlggrp_

uiGroup* uiDialogBody::dlggrp_
protected

◆ dlghandle_

uiDialog& uiDialogBody::dlghandle_
private

◆ helpbut_

uiButton* uiDialogBody::helpbut_
protected

◆ initchildrendone_

bool uiDialogBody::initchildrendone_
protected

◆ okbut_

uiButton* uiDialogBody::okbut_
protected

◆ result_

int uiDialogBody::result_
protected

◆ savebutcb_

uiCheckBox* uiDialogBody::savebutcb_
protected

◆ savebuttb_

uiToolButton* uiDialogBody::savebuttb_
protected

◆ setup_

uiDialog::Setup uiDialogBody::setup_
protected

◆ titlelbl_

uiLabel* uiDialogBody::titlelbl_
protected

◆ videobut_

uiButton* uiDialogBody::videobut_
protected

◆ videokeys_

TypeSet<HelpKey> uiDialogBody::videokeys_
protected

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