1
0
mirror of https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git synced 2025-04-01 02:42:39 +08:00
Qt-Advanced-Docking-System/examples/openGL/mainwindow.h

25 lines
514 B
C
Raw Normal View History

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