mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2025-04-01 02:42:39 +08:00
25 lines
514 B
C++
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
|