1 Star 0 Fork 56

SimianBin/QtDrawRegion

forked from falion/QtDrawRegion 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
QGraphicsScenes.h 499 Bytes
一键复制 编辑 原始数据 按行查看 历史
falion 提交于 2021-03-16 23:43 +08:00 . 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_
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/SimianBin/qt-draw-region.git
git@gitee.com:SimianBin/qt-draw-region.git
SimianBin
qt-draw-region
QtDrawRegion
master

搜索帮助