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

Public Member Functions

 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 ()
 
virtual void addChild (uiBaseObject &)
 
virtual void attachChild (constraintType, uiObject *child, uiObject *other, int margin, bool reciprocal)
 
virtual void manageChld_ (uiBaseObject &, uiObjectBody &)
 
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
 

Static Public Member Functions

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

bool force_finalise_
 

Protected Member Functions

void closeEvent (QCloseEvent *)
 
void doShow (bool minimized=false)
 
bool event (QEvent *)
 
virtual void finalise ()
 
virtual void finalise (bool trigger_finalise_start_stop)
 
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)
 
virtual const QWidget * managewidg_ () const
 
- 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

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

void getPosForParentMiddle (int &x, int &y)
 
void getPosForScreenMiddle (int &x, int &y)
 
void popTimTick (CallBacker *)
 

Private Attributes

bool createtbmenu_
 
bool deletefrombody_
 
bool deletefromod_
 
QEventLoop eventloop_
 
bool hasguisettings_
 
int iconsz_
 
bool modal_
 
bool moved_
 
bool poppedup_
 
Timer poptimer_
 
uiPoint prefpos_
 
uiSize prefsz_
 

Friends

class uiMainWin
 

Additional Inherited Members

- Public Types inherited from ObjectWithName
typedef OD::String name_type
 

Constructor & Destructor Documentation

◆ uiMainWinBody()

uiMainWinBody::uiMainWinBody ( uiMainWin handle,
uiParent parnt,
const char *  nm,
bool  modal 
)

◆ ~uiMainWinBody()

virtual uiMainWinBody::~uiMainWinBody ( )
virtual

Member Function Documentation

◆ activateInGUIThread()

void uiMainWinBody::activateInGUIThread ( const CallBack ,
bool  busywait 
)

◆ addDockWin()

void uiMainWinBody::addDockWin ( uiDockWin ,
uiMainWin::Dock   
)

◆ addToolBar()

void uiMainWinBody::addToolBar ( uiToolBar )

◆ close()

void uiMainWinBody::close ( )

◆ closeEvent()

void uiMainWinBody::closeEvent ( QCloseEvent *  )
protected

◆ construct()

void uiMainWinBody::construct ( int  nrstatusflds,
bool  wantmenubar 
)

◆ createPopupMenu()

virtual QMenu* uiMainWinBody::createPopupMenu ( )
virtual

◆ dockWins()

const ObjectSet<uiDockWin>& uiMainWinBody::dockWins ( ) const
inline

◆ doSetWindowFlags()

void uiMainWinBody::doSetWindowFlags ( Qt::WindowFlags  ,
bool  yn 
)

◆ doShow()

void uiMainWinBody::doShow ( bool  minimized = false)
protected

◆ event()

bool uiMainWinBody::event ( QEvent *  )
protected

◆ finalise() [1/2]

virtual void uiMainWinBody::finalise ( )
inlineprotectedvirtual

Reimplemented from uiParentBody.

Reimplemented in uiDialogBody.

◆ finalise() [2/2]

virtual void uiMainWinBody::finalise ( bool  trigger_finalise_start_stop)
protectedvirtual

Reimplemented in uiDialogBody.

◆ findToolBar()

uiToolBar* uiMainWinBody::findToolBar ( const char *  )

◆ getPosForParentMiddle()

void uiMainWinBody::getPosForParentMiddle ( int &  x,
int &  y 
)
private

◆ getPosForScreenMiddle()

void uiMainWinBody::getPosForScreenMiddle ( int &  x,
int &  y 
)
private

◆ getToolbarsMenu()

uiMenu& uiMainWinBody::getToolbarsMenu ( )
inline

◆ getTopLevelWindows()

static void uiMainWinBody::getTopLevelWindows ( ObjectSet< uiMainWin > &  ,
bool  visibleonly 
)
static

◆ go()

void uiMainWinBody::go ( bool  showminimized = false)

◆ isModal()

bool uiMainWinBody::isModal ( ) const
inline

◆ keyPressEvent()

void uiMainWinBody::keyPressEvent ( QKeyEvent *  )
protected

◆ managePopupPos()

void uiMainWinBody::managePopupPos ( )
protected

◆ move() [1/2]

void uiMainWinBody::move ( int  ,
int   
)

◆ move() [2/2]

void uiMainWinBody::move ( uiMainWin::PopupArea  )

◆ polish()

virtual void uiMainWinBody::polish ( )
virtual

◆ poppedUp()

bool uiMainWinBody::poppedUp ( ) const
inline

◆ popTimTick()

void uiMainWinBody::popTimTick ( CallBacker )
private

◆ primaryScreen()

static QScreen* uiMainWinBody::primaryScreen ( )
static

◆ qwidget_()

virtual const QWidget* uiMainWinBody::qwidget_ ( ) const
inlineprotectedvirtual

Implements uiBody.

◆ readSettings()

void uiMainWinBody::readSettings ( )
protected

◆ reDraw()

void uiMainWinBody::reDraw ( bool  deep)

◆ removeDockWin()

void uiMainWinBody::removeDockWin ( uiDockWin )

◆ removeToolBar()

uiToolBar* uiMainWinBody::removeToolBar ( uiToolBar )

◆ renewToolbarsMenu()

void uiMainWinBody::renewToolbarsMenu ( )
protected

◆ resizeEvent()

void uiMainWinBody::resizeEvent ( QResizeEvent *  )
protected

◆ saveSettings()

void uiMainWinBody::saveSettings ( )
protected

◆ screen()

QScreen* uiMainWinBody::screen ( bool  usetoplevel = false) const

◆ setModal()

void uiMainWinBody::setModal ( bool  yn)

◆ show()

virtual void uiMainWinBody::show ( )
inlinevirtual

◆ toggleToolbar()

void uiMainWinBody::toggleToolbar ( CallBacker )
protected

◆ toolBars()

const ObjectSet<uiToolBar>& uiMainWinBody::toolBars ( ) const
inline

◆ touch()

bool uiMainWinBody::touch ( )

◆ uimenubar()

uiMenuBar* uiMainWinBody::uimenubar ( )

◆ uistatusbar()

uiStatusBar* uiMainWinBody::uistatusbar ( )

◆ updateToolbarsMenu()

void uiMainWinBody::updateToolbarsMenu ( )

Friends And Related Function Documentation

◆ uiMainWin

friend class uiMainWin
friend

Member Data Documentation

◆ activatecbs_

ObjectSet<CallBack> uiMainWinBody::activatecbs_
protected

◆ activatemutex_

Threads::Mutex uiMainWinBody::activatemutex_
protected

◆ createtbmenu_

bool uiMainWinBody::createtbmenu_
private

◆ deletefrombody_

bool uiMainWinBody::deletefrombody_
private

◆ deletefromod_

bool uiMainWinBody::deletefromod_
private

◆ dockwins_

ObjectSet<uiDockWin> uiMainWinBody::dockwins_
protected

◆ eventloop_

QEventLoop uiMainWinBody::eventloop_
private

◆ eventrefnr_

int uiMainWinBody::eventrefnr_
protected

◆ exitapponclose_

bool uiMainWinBody::exitapponclose_
protected

◆ force_finalise_

bool uiMainWinBody::force_finalise_

◆ handle_

uiMainWin& uiMainWinBody::handle_
protected

◆ hasguisettings_

bool uiMainWinBody::hasguisettings_
private

◆ iconsz_

int uiMainWinBody::iconsz_
private

◆ menubar_

uiMenuBar* uiMainWinBody::menubar_
protected

◆ modal_

bool uiMainWinBody::modal_
private

◆ moved_

bool uiMainWinBody::moved_
private

◆ nractivated_

int uiMainWinBody::nractivated_
protected

◆ poppedup_

bool uiMainWinBody::poppedup_
private

◆ poptimer_

Timer uiMainWinBody::poptimer_
private

◆ prefpos_

uiPoint uiMainWinBody::prefpos_
private

◆ prefsz_

uiSize uiMainWinBody::prefsz_
private

◆ statusbar_

uiStatusBar* uiMainWinBody::statusbar_
protected

◆ toolbars_

ObjectSet<uiToolBar> uiMainWinBody::toolbars_
protected

◆ toolbarsmnu_

uiMenu* uiMainWinBody::toolbarsmnu_
protected

◆ windowtitle_

uiString uiMainWinBody::windowtitle_
protected

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