#ifndef MAINWINDOWX_H #define MAINWINDOWX_H #include /** * an eXtension of QMainWindow; * It is intended to be generic, * for use with other projects. */ class MainWindowX : public QMainWindow { Q_OBJECT public: explicit MainWindowX(QWidget* parent = 0); void sortWidgetsByTitle(QList& list); void sortWidgetsByTitle(QList& list); public slots: void toggleRightDockArea(bool state); void toggleLeftDockArea(bool state); void toggleTopDockArea(bool state); void toggleBottomDockArea(bool state); void toggleFloatingDockwidgets(bool state); }; #endif // MAINWINDOWX_H