Have MainWindow and others make use of the new SubWindow class

This commit is contained in:
Colin Wallace
2015-06-15 03:26:07 +00:00
parent 7cc917cc06
commit 908591ba7d
13 changed files with 82 additions and 59 deletions

View File

@@ -30,6 +30,8 @@
#include <QtCore/QList>
#include <QMainWindow>
#include "SubWindow.h"
class QAction;
class QDomElement;
class QGridLayout;
@@ -57,6 +59,9 @@ public:
int addWidgetToToolBar( QWidget * _w, int _row = -1, int _col = -1 );
void addSpacingToToolBar( int _size );
// wrap the widget with a window decoration and add it to the workspace
SubWindow* addWindowedWidget(QWidget *w, Qt::WindowFlags windowFlags=0);
///
/// \brief Asks whether changes made to the project are to be saved.