mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2024-11-15 21:25:44 +08:00
34 lines
541 B
C
34 lines
541 B
C
|
#ifndef MAINWINDOW_H
|
||
|
#define MAINWINDOW_H
|
||
|
|
||
|
#include <QMainWindow>
|
||
|
#include <QStackedLayout>
|
||
|
#include "DockManager.h"
|
||
|
|
||
|
QT_BEGIN_NAMESPACE
|
||
|
namespace Ui {
|
||
|
class MainWindow;
|
||
|
}
|
||
|
QT_END_NAMESPACE
|
||
|
|
||
|
class MainWindow : public QMainWindow
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
|
||
|
public:
|
||
|
explicit MainWindow(QWidget *parent = 0);
|
||
|
~MainWindow();
|
||
|
|
||
|
private slots:
|
||
|
void openProject();
|
||
|
void closeProject();
|
||
|
|
||
|
private:
|
||
|
Ui::MainWindow *ui;
|
||
|
QWidget* m_welcomeWidget;
|
||
|
ads::CDockManager* m_DockManager;
|
||
|
QStackedLayout* m_layout;
|
||
|
};
|
||
|
|
||
|
#endif // MAINWINDOW_H
|