#include <STD_TabDesktop.h>

Public Types | |
| enum | { SplitVertical, SplitHorizontal } |
Public Member Functions | |
| STD_TabDesktop () | |
| virtual | ~STD_TabDesktop () |
| virtual SUIT_ViewWindow * | activeWindow () const |
| virtual void | setActiveWindow (SUIT_ViewWindow *) |
| virtual QList< SUIT_ViewWindow * > | windows () const |
| void | windowOperation (const int) |
| void | setWindowOperations (const int,...) |
| void | setWindowOperations (const QList< int > &) |
| QtxWorkstack * | workstack () const |
Public Member Functions inherited from SUIT_Desktop | |
| SUIT_Desktop () | |
| virtual | ~SUIT_Desktop () |
| QtxActionMenuMgr * | menuMgr () const |
| QtxActionToolMgr * | toolMgr () const |
| QtxLogoMgr * | logoMgr () const |
| int | logoCount () const |
| void | logoClear () |
| void | logoRemove (const QString &) |
| void | logoInsert (const QString &, QMovie *, const int=-1) |
| void | logoInsert (const QString &, const QPixmap &, const int=-1) |
| void | emitActivated () |
| void | emitMessage (const QString &) |
Public Member Functions inherited from QtxMainWindow | |
| QtxMainWindow (QWidget *=0, Qt::WindowFlags=0) | |
| Constructor. More... | |
| virtual | ~QtxMainWindow () |
| Destructor. More... | |
| bool | isOpaqueResize () const |
| void | setOpaqueResize (bool) |
| bool | isDockableMenuBar () const |
| Check if the menu bar is dockable. More... | |
| void | setDockableMenuBar (const bool) |
| Set menu bar dockable/undockable. More... | |
| bool | isDockableStatusBar () const |
| Check if the status bar is dockable. More... | |
| void | setDockableStatusBar (const bool) |
| Set status bar dockable/undockable. More... | |
| QString | storeGeometry () const |
| Dump main window geometry to the string. More... | |
| void | retrieveGeometry (const QString &) |
| Restore main window geometry from the string. More... | |
| bool | isFullScreenAllowed () const |
| FullScreenAllowed flag allowed dump in the main window geometry Qt::WindowFullScreen parameter. More... | |
| void | setFullScreenAllowed (const bool) |
| Set FullScreenAllowed flag. The default value is true. More... | |
| bool | isMinimizeAllowed () const |
| MinimizeAllowed flag allowed dump in the main window geometry Qt::WindowMinimized parameter. More... | |
| void | setMinimizeAllowed (const bool) |
| Set MinimizeAllowed flag. The default value is true. More... | |
Protected Member Functions | |
| void | createActions () |
| virtual void | addWindow (QWidget *) |
Protected Member Functions inherited from SUIT_Desktop | |
| virtual bool | event (QEvent *) |
| virtual void | customEvent (QEvent *) |
| virtual void | closeEvent (QCloseEvent *) |
| virtual void | childEvent (QChildEvent *) |
Private Slots | |
| void | onWindowActivated (QWidget *) |
| void | onArrangeViews () |
Private Member Functions | |
| int | operationFlag (const int) const |
Private Attributes | |
| QtxWorkstack * | myWorkstack |
| QtxWorkstackAction * | myWorkstackAction |
Additional Inherited Members | |
Signals inherited from SUIT_Desktop | |
| void | activated () |
| void | deactivated () |
| void | windowActivated (SUIT_ViewWindow *) |
| void | closing (SUIT_Desktop *, QCloseEvent *) |
| void | message (const QString &) |
| STD_TabDesktop::STD_TabDesktop | ( | ) |
Constructor.Create new instances of QVBox and QtxWorkstack.
References QtxWorkstack::Close, createActions(), QtxResourceMgr::loadPixmap(), main(), myWorkstack, onWindowActivated(), SUIT_Session::resourceMgr(), SUIT_Session::session(), QtxWorkstack::setAccel(), QtxWorkstack::setIcon(), QtxWorkstack::SplitHorizontal, QtxWorkstack::SplitVertical, and SUIT_Desktop::windowActivated().
|
virtual |
Destructor.
|
virtual |
| SUIT_ViewWindow | - return const active window. |
Implements SUIT_Desktop.
References QtxWorkstack::activeWindow(), and myWorkstack.
|
protectedvirtual |
Insert new widget into desktop.
Implements SUIT_Desktop.
References QtxWorkstack::addWindow(), and workstack().
|
protected |
Create actions for window.
References QtxWorkstackAction::getArrangeViewsAction(), QtxActionMenuMgr::insert(), QtxResourceMgr::loadPixmap(), SUIT_Desktop::menuMgr(), myWorkstackAction, onArrangeViews(), SUIT_Session::resourceMgr(), QtxActionMgr::separator(), SUIT_Session::session(), QtxWorkstackAction::setAccel(), QtxWorkstackAction::setIcon(), QtxWorkstackAction::setMenuActions(), QtxWorkstackAction::setStatusTip(), QtxWorkstackAction::setText(), QtxWorkstackAction::Split, QtxWorkstackAction::SplitHorizontal, QtxWorkstackAction::SplitVertical, QtxWorkstackAction::Windows, and workstack().
|
privateslot |
Emit Arrange Views menu activated.
References ArrangeViews, and workstack().
|
privateslot |
Emit window activated.
References SUIT_Desktop::windowActivated().
|
private |
Convert STD_TabDesktop enumerations to QtxWorkstackAction
References SplitHorizontal, QtxWorkstackAction::SplitHorizontal, SplitVertical, and QtxWorkstackAction::SplitVertical.
|
virtual |
Set active window
| wnd | - view window |
Reimplemented from SUIT_Desktop.
References myWorkstack, and QtxWorkstack::setActiveWindow().
| void STD_TabDesktop::setWindowOperations | ( | const int | first, |
| ... | |||
| ) |
Sets window operations by first ... parameters.
Sets window operations by variable opList - operation list.
References operationFlag().
| void STD_TabDesktop::windowOperation | ( | const int | type | ) |
Call method perform for operation type.
References myWorkstackAction, operationFlag(), and QtxWorkstackAction::perform().
|
virtual |
| QPtrList<SUIT_ViewWindow> | - return const active window list. |
Implements SUIT_Desktop.
References myWorkstack, and QtxWorkstack::windowList().
| QtxWorkstack * STD_TabDesktop::workstack | ( | ) | const |
| QtxWorkstack | pointer - Qt work stack. |
References myWorkstack.
|
private |
|
private |