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

#include <STD_MDIDesktop.h>

Inheritance diagram for STD_MDIDesktop:
Inheritance graph

Public Types

enum  { Cascade, Tile, HTile, VTile }
 

Public Member Functions

 STD_MDIDesktop ()
 
virtual ~STD_MDIDesktop ()
 
virtual SUIT_ViewWindowactiveWindow () const
 
virtual QList< SUIT_ViewWindow * > windows () const
 
void windowOperation (const int)
 
void setWindowOperations (const int,...)
 
void setWindowOperations (const QList< int > &)
 
QtxWorkspaceworkspace () const
 
- Public Member Functions inherited from SUIT_Desktop
 SUIT_Desktop ()
 
virtual ~SUIT_Desktop ()
 
QtxActionMenuMgrmenuMgr () const
 
QtxActionToolMgrtoolMgr () const
 
QtxLogoMgrlogoMgr () const
 
virtual void setActiveWindow (SUIT_ViewWindow *)
 
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 *)
 

Private Member Functions

int operationFlag (const int) const
 

Private Attributes

QtxWorkspacemyWorkspace
 
QtxWorkspaceActionmyWorkspaceAction
 

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
Cascade 
Tile 
HTile 
VTile 

Constructor & Destructor Documentation

STD_MDIDesktop::STD_MDIDesktop ( )
STD_MDIDesktop::~STD_MDIDesktop ( )
virtual

Destructor.

Member Function Documentation

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

Implements SUIT_Desktop.

References myWorkspace.

void STD_MDIDesktop::addWindow ( QWidget w)
protectedvirtual

Add the new widget into desktop.

Implements SUIT_Desktop.

References workspace().

void STD_MDIDesktop::onWindowActivated ( QWidget w)
privateslot

Emit window activated.

References SUIT_Desktop::windowActivated().

int STD_MDIDesktop::operationFlag ( const int  type) const
private
void STD_MDIDesktop::setWindowOperations ( const int  first,
  ... 
)

Sets window operations by first ... parameters.

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

Sets window operations by variable opList - operation list.

References myWorkspaceAction, operationFlag(), and QtxWorkspaceAction::setMenuActions().

void STD_MDIDesktop::windowOperation ( const int  type)

Call method perform for operation type.

References myWorkspaceAction, operationFlag(), and QtxWorkspaceAction::perform().

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

Implements SUIT_Desktop.

References myWorkspace.

QtxWorkspace * STD_MDIDesktop::workspace ( ) const
Return values
QtxWorkspacepointer - work space.

References myWorkspace.

Member Data Documentation

QtxWorkspace* STD_MDIDesktop::myWorkspace
private
QtxWorkspaceAction* STD_MDIDesktop::myWorkspaceAction
private

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