#include <SUIT_Desktop.h>
Classes | |
class | ReparentEvent |
Signals | |
void | activated () |
void | deactivated () |
void | windowActivated (SUIT_ViewWindow *) |
void | closing (SUIT_Desktop *, QCloseEvent *) |
void | message (const QString &) |
Public Member Functions | |
SUIT_Desktop () | |
virtual | ~SUIT_Desktop () |
QtxActionMenuMgr * | menuMgr () const |
QtxActionToolMgr * | toolMgr () const |
QtxLogoMgr * | logoMgr () const |
virtual SUIT_ViewWindow * | activeWindow () const =0 |
virtual void | setActiveWindow (SUIT_ViewWindow *) |
virtual QList< SUIT_ViewWindow * > | windows () const =0 |
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 | |
virtual bool | event (QEvent *) |
virtual void | customEvent (QEvent *) |
virtual void | closeEvent (QCloseEvent *) |
virtual void | childEvent (QChildEvent *) |
virtual void | addWindow (QWidget *)=0 |
Private Types | |
enum | { Reparent = QEvent::User } |
Private Attributes | |
QtxActionMenuMgr * | myMenuMgr |
QtxActionToolMgr * | myToolMgr |
QtxLogoMgr * | myLogoMgr |
Provide desktop management:
Provides standard desktop: main window with main menu manager, toolbars manager and logo.
|
virtual |
Destructor.
|
signal |
|
pure virtual |
Implemented in STD_MDIDesktop, STD_TabDesktop, and STD_SDIDesktop.
|
protectedpure virtual |
Implemented in STD_TabDesktop, STD_MDIDesktop, and STD_SDIDesktop.
|
protectedvirtual |
Child event.
References Reparent.
|
protectedvirtual |
Close event e.
References closing().
|
signal |
|
protectedvirtual |
References addWindow(), SUIT_Desktop::ReparentEvent::object(), and Reparent.
|
signal |
void SUIT_Desktop::emitActivated | ( | ) |
Emits activated signal
References activated().
void SUIT_Desktop::emitMessage | ( | const QString & | theMessage | ) |
Emits message signal
References message().
|
protectedvirtual |
Emit on event e.
Reimplemented from QtxMainWindow.
References activated(), deactivated(), and QtxMainWindow::event().
void SUIT_Desktop::logoClear | ( | ) |
Removes all logos
References QtxLogoMgr::clear(), and myLogoMgr.
int SUIT_Desktop::logoCount | ( | ) | const |
Returns the count of the existed logos.
References QtxLogoMgr::count(), and myLogoMgr.
Adds new logo to the menu bar area
References QtxLogoMgr::insert(), and myLogoMgr.
Adds new logo to the menu bar area
References QtxLogoMgr::insert(), and myLogoMgr.
QtxLogoMgr * SUIT_Desktop::logoMgr | ( | ) | const |
Gets logo manager.
References myLogoMgr.
void SUIT_Desktop::logoRemove | ( | const QString & | logoID | ) |
Removes a logo
References myLogoMgr, and QtxLogoMgr::remove().
QtxActionMenuMgr * SUIT_Desktop::menuMgr | ( | ) | const |
Gets menu manager.
References myMenuMgr.
|
signal |
|
virtual |
Activate window (default implementation just sets focus to the window.
Reimplemented in STD_TabDesktop.
QtxActionToolMgr * SUIT_Desktop::toolMgr | ( | ) | const |
Gets tool manager.
References myToolMgr.
|
signal |
|
pure virtual |
Implemented in STD_TabDesktop, STD_MDIDesktop, and STD_SDIDesktop.
|
private |
|
private |
|
private |