2018-12-20 16:15:02 +08:00
|
|
|
#ifndef MAINWINDOW_H
|
|
|
|
#define MAINWINDOW_H
|
|
|
|
|
|
|
|
#include <QMainWindow>
|
|
|
|
#include "DockManager.h"
|
|
|
|
|
2020-05-14 05:26:05 +08:00
|
|
|
QT_BEGIN_NAMESPACE
|
2018-12-20 16:15:02 +08:00
|
|
|
namespace Ui {
|
|
|
|
class MainWindow;
|
|
|
|
}
|
2020-05-14 05:26:05 +08:00
|
|
|
QT_END_NAMESPACE
|
2020-05-07 20:39:02 +08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* This example shows, how to place a dock widget container and a static
|
|
|
|
* sidebar into a QMainWindow
|
|
|
|
*/
|
2018-12-20 16:15:02 +08:00
|
|
|
class MainWindow : public QMainWindow
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
explicit MainWindow(QWidget *parent = 0);
|
|
|
|
~MainWindow();
|
|
|
|
|
|
|
|
private:
|
|
|
|
Ui::MainWindow *ui;
|
|
|
|
ads::CDockManager* m_DockManager;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // MAINWINDOW_H
|