DAWorkbench 0.0.1
DAWorkbench API
载入中...
搜索中...
未找到
DAInterfaceHelper.h
1#ifndef DAINTERFACEHELPER_H
2#define DAINTERFACEHELPER_H
3#include "DAInterfaceAPI.h"
4class QMainWindow;
5namespace DA
6{
7class DACoreInterface;
8class DAUIInterface;
9class DADockingAreaInterface;
10class DARibbonAreaInterface;
11class DADataManagerInterface;
12class DACommandInterface;
13class DAProjectInterface;
14class DAStatusBarInterface;
20class DAINTERFACE_API DAInterfaceHelper
21{
22public:
23 explicit DAInterfaceHelper();
24 virtual ~DAInterfaceHelper();
25 virtual void initialize(DACoreInterface* core);
26 DACoreInterface* core() const;
27 DAUIInterface* uiInterface() const;
28 DADockingAreaInterface* dockAreaInterface() const;
29 DARibbonAreaInterface* ribbonAreaInterface() const;
30 DAStatusBarInterface* statusBarAreaInterface() const;
31 DADataManagerInterface* dataManagerInterface() const;
32 DACommandInterface* commandInterface() const;
33 DAProjectInterface* projectInterface() const;
34 QMainWindow* mainWindow();
35
36private:
37 DACoreInterface* m_core { nullptr };
38 DAUIInterface* m_ui { nullptr };
39 DADockingAreaInterface* m_dockArea { nullptr };
40 DARibbonAreaInterface* m_ribbonArea { nullptr };
41 DAStatusBarInterface* m_statusBarArea { nullptr };
42 DADataManagerInterface* m_dataManager { nullptr };
43 DACommandInterface* m_cmd { nullptr };
44 DAProjectInterface* m_project { nullptr };
45};
46}
47#endif // DAINTERFACEHELPER_H
命令接口
Definition DACommandInterface.h:22
APP的核心接口
Definition DACoreInterface.h:24
数据管理接口
Definition DADataManagerInterface.h:16
此接口负责整个app的dock区域
Definition DADockingAreaInterface.h:38
interface的辅助类,可以继承它,也可以持有它
Definition DAInterfaceHelper.h:21
负责总体工程的接口
Definition DAProjectInterface.h:21
这个接口管理了AppRibbon区域的相关操作
Definition DARibbonAreaInterface.h:24
Definition DAStatusBarInterface.h:8
界面相关的接口
Definition DAUIInterface.h:26
序列化类都是带异常的,使用中需要处理异常
Definition AppMainWindow.cpp:44