QetGraphicsHandlerItem reduce hoover size

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5075 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
scorpio810
2017-10-11 15:37:40 +00:00
parent ad82ce07b7
commit 8dbd96d334

View File

@@ -30,7 +30,7 @@
class QetGraphicsHandlerItem : public QGraphicsItem
{
public:
QetGraphicsHandlerItem(qreal size = 15);
QetGraphicsHandlerItem(qreal size = 8);
QRectF boundingRect() const override;
enum { Type = UserType + 1200};
@@ -47,7 +47,7 @@ class QetGraphicsHandlerItem : public QGraphicsItem
QColor m_color;
public:
static QVector<QetGraphicsHandlerItem *> handlerForPoint(const QVector<QPointF> &points, int size = 15);
static QVector<QetGraphicsHandlerItem *> handlerForPoint(const QVector<QPointF> &points, int size = 8);
};
#endif // QETGRAPHICSHANDLERITEM_H