/** * @file PropertyChildWidgetBase.h * @brief 属性面板子部件的基类 * @author YanZhiHui (chanyuantiandao@126.com) * @date 2024-06-12 */ #ifndef __PROPERTYCHILDWIDGETBASE_H__ #define __PROPERTYCHILDWIDGETBASE_H__ #include #include "GUIWidgetAPI.h" namespace GUI { class MainWindow; /** * @brief 属性面板子部件的基类 * @author YanZhiHui (chanyuantiandao@126.com) * @date 2024-06-12 */ class GUIWIDGETAPI PropertyChildWidgetBase : public QWidget { Q_OBJECT public: /** * @brief 构造函数 * @param mainWindow 主窗口 * @author YanZhiHui (chanyuantiandao@126.com) * @date 2024-06-12 */ PropertyChildWidgetBase(MainWindow* mainWindow); /** * @brief 析构函数 * @author YanZhiHui (chanyuantiandao@126.com) * @date 2024-06-12 */ virtual ~PropertyChildWidgetBase(); protected: /** * @brief 主窗口 * @author YanZhiHui (chanyuantiandao@126.com) * @date 2024-06-12 */ MainWindow* m_MainWindow{}; }; } #endif // !__PROPERTYCHILDWIDGETBASE_H__