You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
59 lines
1.3 KiB
C++
59 lines
1.3 KiB
C++
/**
|
|
*
|
|
* @file FITKAbstractGUIObject.h
|
|
* @brief GUI对象基类声明
|
|
* @author LiBaojun (libaojunqd@foxmail.com)
|
|
* @date 2024-02-23
|
|
*
|
|
*/
|
|
#ifndef __FITKGUIABSTRACTOBJECT_H__
|
|
#define __FITKGUIABSTRACTOBJECT_H__
|
|
|
|
#include "FITKCoreAPI.h"
|
|
#include "FITKCoreMacros.h"
|
|
#include "FITKAbstractObject.hpp"
|
|
|
|
namespace Core
|
|
{
|
|
/**
|
|
* @brief GUI窗体基类
|
|
* @author LiBaojun (libaojunqd@foxmail.com)
|
|
* @date 2024-02-23
|
|
*/
|
|
class FITKCoreAPI FITKAbstractGUIObject : public FITKAbstractObject
|
|
{
|
|
public:
|
|
/**
|
|
* @brief Construct a new FITKAbstractGUIObject object
|
|
* @author LiBaojun (libaojunqd@foxmail.com)
|
|
* @date 2024-02-23
|
|
*/
|
|
explicit FITKAbstractGUIObject();
|
|
/**
|
|
* @brief Destroy the FITKAbstractGUIObject object
|
|
* @author LiBaojun (libaojunqd@foxmail.com)
|
|
* @date 2024-02-23
|
|
*/
|
|
virtual ~FITKAbstractGUIObject() = 0;
|
|
/**
|
|
* @brief 获取窗体ID
|
|
* @return int
|
|
* @author LiBaojun (libaojunqd@foxmail.com)
|
|
* @date 2024-02-23
|
|
*/
|
|
int getGUIObjectID() const;
|
|
|
|
|
|
private:
|
|
/**
|
|
* @brief 窗体ID
|
|
* @author LiBaojun (libaojunqd@foxmail.com)
|
|
* @date 2024-02-23
|
|
*/
|
|
int _guiID{ 0 };
|
|
};
|
|
}
|
|
|
|
|
|
#endif // !__FITKGUIObject
|