#include "SUIT_MessageBox.h"
#include "SUIT_Application.h"
#include "SUIT_ViewManager.h"
+#include "QtxActionToolMgr.h"
#include <QEvent>
#include <QIcon>
setWindowIcon( myDesktop->windowIcon() );
setAttribute( Qt::WA_DeleteOnClose );
+
+ myToolMgr = new QtxActionToolMgr( this );
}
/*! Destructor.*/
void SUIT_ViewWindow::setVisualParameters( const QString& /*parameters*/ )
{
}
+
+/*!
+ \return associated tool bar manager
+*/
+QtxActionToolMgr* SUIT_ViewWindow::toolMgr() const
+{
+ return myToolMgr;
+}
#include "SUIT.h"
#include <QMainWindow>
-#include <QImage>
class SUIT_Desktop;
class SUIT_ViewManager;
+class QtxActionToolMgr;
+class QImage;
class SUIT_EXPORT SUIT_ViewWindow: public QMainWindow
{
void setDestructiveClose( const bool );
+ QtxActionToolMgr* toolMgr() const;
+
public slots:
virtual void onDumpView();
SUIT_Desktop* myDesktop;
SUIT_ViewManager* myManager;
+
+private:
+ QtxActionToolMgr* myToolMgr;
};
#endif // !defined(AFX_SUIT_VIEWWINDOW_H__82C3D51A_6F10_45B0_BCFE_3CB3EF596A4D__INCLUDED_)