OpendTect  7.0
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)
 
QMenu * createPopupMenu () override
 
virtual void display (bool yn)
 
const ObjectSet< uiDockWin > & dockWins () const
 
void doSetWindowFlags (Qt::WindowFlags, bool yn)
 
uiToolBarfindToolBar (const char *)
 
uiMenugetToolbarsMenu ()
 
void go (bool showminimized=false)
 
bool isDeleteOnClose () const
 
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 setInTray (bool yn)
 
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 ()
 
void addChild (uiBaseObject &) override
 
void attachChild (constraintType, uiObject *child, uiObject *other, int margin, bool reciprocal) override
 
uiGroupuiCentralWidg ()
 
- Public Member Functions inherited from uiParentBody
virtual ~uiParentBody ()
 
const ObjectSet< uiBaseObject > * childList () const
 
void clearChildren ()
 
void finalizeChildren ()
 
bool finalized () const override
 
void manageChild (uiBaseObject &child, uiObjectBody &)
 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
 
virtual CallBackertrueCaller ()
 
- 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 &)
 
const name_typename () const override
 
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_finalize_
 

Protected Member Functions

void closeEvent (QCloseEvent *) override
 
void doDisplay (bool yn)
 
void doShow (bool minimized=false)
 
bool event (QEvent *) override
 
void finalize () override
 
virtual void finalize (bool trigger_finalize_start_stop)
 
void keyPressEvent (QKeyEvent *) override
 
void managePopupPos ()
 
const QWidget * qwidget_ () const override
 
void readSettings ()
 
void renewToolbarsMenu ()
 
void resizeEvent (QResizeEvent *) override
 
void restoreDefaultState ()
 
void saveSettings ()
 
void toggleToolbar (CallBacker *)
 
- Protected Member Functions inherited from uiCentralWidgetBody
 uiCentralWidgetBody (const char *nm)
 
void manageChld_ (uiBaseObject &, uiObjectBody &) override
 
const QWidget * managewidg_ () const override
 
- Protected Member Functions inherited from uiParentBody
 uiParentBody (const char *nm)
 
void childDel (CallBacker *)
 
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_ = -1
 
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 intray_ = false
 
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 *  )
overrideprotected

◆ construct()

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

◆ createPopupMenu()

QMenu* uiMainWinBody::createPopupMenu ( )
override

◆ display()

virtual void uiMainWinBody::display ( bool  yn)
inlinevirtual

◆ dockWins()

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

◆ doDisplay()

void uiMainWinBody::doDisplay ( bool  yn)
protected

◆ doSetWindowFlags()

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

◆ doShow()

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

◆ event()

bool uiMainWinBody::event ( QEvent *  )
overrideprotected

◆ finalize() [1/2]

void uiMainWinBody::finalize ( )
inlineoverrideprotectedvirtual

Reimplemented from uiParentBody.

Reimplemented in uiDialogBody.

◆ finalize() [2/2]

virtual void uiMainWinBody::finalize ( bool  trigger_finalize_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)

◆ isDeleteOnClose()

bool uiMainWinBody::isDeleteOnClose ( ) const

◆ isModal()

bool uiMainWinBody::isModal ( ) const
inline

◆ keyPressEvent()

void uiMainWinBody::keyPressEvent ( QKeyEvent *  )
overrideprotected

◆ 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_()

const QWidget* uiMainWinBody::qwidget_ ( ) const
inlineoverrideprotectedvirtual

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 *  )
overrideprotected

◆ restoreDefaultState()

void uiMainWinBody::restoreDefaultState ( )
protected

◆ saveSettings()

void uiMainWinBody::saveSettings ( )
protected

◆ screen()

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

◆ setInTray()

void uiMainWinBody::setInTray ( bool  yn)
inline

◆ 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_ = -1
protected

◆ exitapponclose_

bool uiMainWinBody::exitapponclose_
protected

◆ force_finalize_

bool uiMainWinBody::force_finalize_

◆ handle_

uiMainWin& uiMainWinBody::handle_
protected

◆ hasguisettings_

bool uiMainWinBody::hasguisettings_
private

◆ iconsz_

int uiMainWinBody::iconsz_
private

◆ intray_

bool uiMainWinBody::intray_ = false
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-2024