8 #include <QtxMainWindow.h>
12 class SUIT_ViewWindow;
13 class QtxActionMenuMgr;
14 class QtxActionToolMgr;
16 class SUIT_EXPORT SUIT_Desktop : public QtxMainWindow
22 virtual ~SUIT_Desktop();
24 QtxActionMenuMgr* menuMgr() const;
25 QtxActionToolMgr* toolMgr() const;
27 virtual SUIT_ViewWindow* activeWindow() const = 0;
28 virtual QPtrList<SUIT_ViewWindow> windows() const = 0;
30 void addLogo( const QString&, const QPixmap& ); // Not should be used. Will be removed.
31 void removeLogo( const QString& ); // Not should be used. Will be removed.
33 int logoCount() const;
36 void logoRemove( const QString& );
37 void logoInsert( const QString&, const QPixmap&, const int = -1 );
42 void windowActivated( SUIT_ViewWindow* );
43 void closing( SUIT_Desktop*, QCloseEvent* );
46 virtual bool event( QEvent* );
47 virtual void closeEvent( QCloseEvent* );
48 virtual void childEvent( QChildEvent* );
50 virtual QWidget* parentArea() const = 0;
53 QtxActionMenuMgr* myMenuMgr;
54 QtxActionToolMgr* myToolMgr;
55 QtxLogoMgr* myLogoMgr;