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
2025-03-20 13:33:22 +01:00

25 lines
514 B
C++

#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <DockManager.h>
#include <DockAreaWidget.h>
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindow(QWidget* parent = 0);
~MainWindow() = default;
ads::CDockAreaWidget* createDockWidget(QWidget* embedded_widget, QString dock_widget_title, ads::DockWidgetArea area,
ads::CDockAreaWidget* DockAreaWidget = nullptr);
private:
ads::CDockManager* _dock_manager;
};
#endif // MAINWINDOW_H