17 Star 30 Fork 22

zhouxiang / air_plane

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

搜索帮助