init
This commit is contained in:
29
main/mainwindowx.h
Normal file
29
main/mainwindowx.h
Normal file
@@ -0,0 +1,29 @@
|
||||
#ifndef MAINWINDOWX_H
|
||||
#define MAINWINDOWX_H
|
||||
|
||||
#include <QMainWindow>
|
||||
|
||||
/**
|
||||
* 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<QDockWidget*>& list);
|
||||
void sortWidgetsByTitle(QList<QToolBar*>& 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
|
||||
Reference in New Issue
Block a user