Have MainWindow and others make use of the new SubWindow class
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user