81 QT_FORWARD_DECLARE_CLASS(QBypassWidget)
113 bool eventFilter(QObject *
object,
QEvent *event);
117 inline QRectF boundingRect()
const;
142 void setEnabled(
bool enabled);
145 void pointsChanged(
const QPolygonF &points);
148 void firePointChange();
151 inline QRectF pointBoundingRect(
int i)
const;
152 void movePoint(
int i,
const QPointF &newPos,
bool emitChange =
true);
184 qreal x = p.
x() - w / 2;
185 qreal y = p.
y() - h / 2;
186 return QRectF(x, y, w, h);
197 #endif // HOVERPOINTS_H
void setShapeBrush(const QBrush &brush)
void setPointLock(int pos, LockType lock)
void setSortType(SortType sortType)
void setBoundingRect(const QRectF &boundingRect)
SortType sortType() const
void setEditable(bool editable)
QRectF pointBoundingRect(int i) const
QRectF boundingRect() const
void setConnectionPen(const QPen &pen)
ConnectionType m_connectionType
ConnectionType connectionType() const
const T & at(int i) const
void setShapePen(const QPen &pen)
void setConnectionType(ConnectionType connectionType)
void setPointSize(const QSizeF &size)
QHash< int, int > m_fingerPointMapping