1 Star 1 Fork 22

zhjun5337 / air_plane

forked from zhouxiang / air_plane 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
customitem.h 546 Bytes
一键复制 编辑 原始数据 按行查看 历史
zhouxiang 提交于 2013-09-16 18:58 . 添加注释
#ifndef CUSTOMITEM_H
#define CUSTOMITEM_H
#include <QGraphicsObject>
/**
* @brief The CustomItem class 作为可以显示在界面,不过不是飞行系统的一部分的项的基类
*/
class CustomItem : public QGraphicsObject
{
Q_OBJECT
public:
enum {Type = UserType + 1};
explicit CustomItem(QGraphicsItem *parent = 0);
/**
* @brief type 是为了与飞行系统的项区别
* @return
*/
int type() const {
return Type;
}
signals:
public slots:
};
#endif // CUSTOMITEM_H
1
https://gitee.com/zhjun5337/air_plane.git
git@gitee.com:zhjun5337/air_plane.git
zhjun5337
air_plane
air_plane
master

搜索帮助