2025-03-10 23:46:12 +08:00
|
|
|
#ifndef MAINWINDOW_H
|
|
|
|
#define MAINWINDOW_H
|
|
|
|
|
|
|
|
#include <QMainWindow>
|
|
|
|
|
|
|
|
#include <DockManager.h>
|
2025-03-19 19:11:25 +08:00
|
|
|
#include <DockAreaWidget.h>
|
2025-03-10 23:46:12 +08:00
|
|
|
|
|
|
|
class MainWindow : public QMainWindow
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
explicit MainWindow(QWidget* parent = 0);
|
|
|
|
~MainWindow() = default;
|
|
|
|
|
2025-03-19 19:11:25 +08:00
|
|
|
ads::CDockAreaWidget* createDockWidget(QWidget* embedded_widget, QString dock_widget_title, ads::DockWidgetArea area,
|
|
|
|
ads::CDockAreaWidget* DockAreaWidget = nullptr);
|
|
|
|
|
2025-03-10 23:46:12 +08:00
|
|
|
private:
|
|
|
|
ads::CDockManager* _dock_manager;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // MAINWINDOW_H
|