Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
STD_TabDesktop Class Reference

#include <STD_TabDesktop.h>

Inheritance diagram for STD_TabDesktop:
Inheritance graph

Public Types

enum  { SplitVertical, SplitHorizontal }
 

Public Member Functions

 STD_TabDesktop ()
 
virtual ~STD_TabDesktop ()
 
virtual SUIT_ViewWindowactiveWindow () 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 > &)
 
QtxWorkstackworkstack () const
 
- Public Member Functions inherited from SUIT_Desktop
 SUIT_Desktop ()
 
virtual ~SUIT_Desktop ()
 
QtxActionMenuMgrmenuMgr () const
 
QtxActionToolMgrtoolMgr () const
 
QtxLogoMgrlogoMgr () 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

QtxWorkstackmyWorkstack
 
QtxWorkstackActionmyWorkstackAction
 

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 &)
 

Member Enumeration Documentation

anonymous enum
Enumerator
SplitVertical 
SplitHorizontal 

Constructor & Destructor Documentation

STD_TabDesktop::~STD_TabDesktop ( )
virtual

Destructor.

Member Function Documentation

SUIT_ViewWindow * STD_TabDesktop::activeWindow ( ) const
virtual
Return values
SUIT_ViewWindow- return const active window.

Implements SUIT_Desktop.

References QtxWorkstack::activeWindow(), and myWorkstack.

void STD_TabDesktop::addWindow ( QWidget w)
protectedvirtual

Insert new widget into desktop.

Implements SUIT_Desktop.

References QtxWorkstack::addWindow(), and workstack().

void STD_TabDesktop::onArrangeViews ( )
privateslot

Emit Arrange Views menu activated.

References ArrangeViews, and workstack().

void STD_TabDesktop::onWindowActivated ( QWidget w)
privateslot

Emit window activated.

References SUIT_Desktop::windowActivated().

int STD_TabDesktop::operationFlag ( const int  type) const
private
void STD_TabDesktop::setActiveWindow ( SUIT_ViewWindow wnd)
virtual

Set active window

Parameters
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.

void STD_TabDesktop::setWindowOperations ( const QList< int > &  opList)

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().

QList< SUIT_ViewWindow * > STD_TabDesktop::windows ( ) const
virtual
Return values
QPtrList<SUIT_ViewWindow>- return const active window list.

Implements SUIT_Desktop.

References myWorkstack, and QtxWorkstack::windowList().

QtxWorkstack * STD_TabDesktop::workstack ( ) const
Return values
QtxWorkstackpointer - Qt work stack.

References myWorkstack.

Member Data Documentation

QtxWorkstack* STD_TabDesktop::myWorkstack
private
QtxWorkstackAction* STD_TabDesktop::myWorkstackAction
private

The documentation for this class was generated from the following files: