1 Star 2 Fork 11

morixinguan / WorkXP

forked from ITVENTI科技 / WorkXP 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
folderelement.h 611 Bytes
一键复制 编辑 原始数据 按行查看 历史
huanglingzhi 提交于 2020-06-29 18:07 . Let's roll
#ifndef FOLDERELEMENT_H
#define FOLDERELEMENT_H
#include "lineelement.h"
class FolderElement : public BaseElement
{
Q_OBJECT
QPen m_pen;
enum { Type = QGraphicsItem::UserType + GRAPHICSITEM_TYPE_BEZIER};
public:
int type() const override
{
// Enable the use of qgraphicsitem_cast with this item.
return Type;
}
FolderElement(
BaseElement *parent,
BaseSpace * space,
QRectF initRect = QRectF(0,0,100,100)
);
inline BasePicker * createPicker() override { return 0;}
};
#endif // FOLDERELEMENT_H
C++
1
https://gitee.com/morixinguan/workxp.git
git@gitee.com:morixinguan/workxp.git
morixinguan
workxp
WorkXP
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891