1 Star 0 Fork 40

tela / QtDrawRegion

forked from falion / QtDrawRegion 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
QGraphicsScenes.h 499 Bytes
一键复制 编辑 原始数据 按行查看 历史
falion 提交于 2021-03-16 23:43 . no commit message
#ifndef QGraphicsScenes_
#define QGraphicsScenes_
#include <QGraphicsScene>
class QGraphicsScenes : public QGraphicsScene
{
Q_OBJECT
public:
QGraphicsScenes(QObject *parent = nullptr);
void startCreate();
protected:
virtual void mousePressEvent(QGraphicsSceneMouseEvent *event);
signals:
void updatePoint(QPointF p, QList<QPointF> list, bool isCenter);
void createFinished();
protected:
QList<QPointF> Plist;
bool PolygonFlg;
};
#endif // QGraphicsScenes_
C++
1
https://gitee.com/aemedc/qt-draw-region.git
git@gitee.com:aemedc/qt-draw-region.git
aemedc
qt-draw-region
QtDrawRegion
master

搜索帮助