20 ,
public QGraphicsItem
23 Q_INTERFACES(QGraphicsItem)
27 QRectF boundingRect()
const override;
28 void paint(QPainter* painter,
const QStyleOptionGraphicsItem* option, QWidget* widget)
30 void changeHeight(qreal newH);
32 void setSelected(
bool selected);
34 static const constexpr int Type = ItemType::Condition;
35 int type()
const final override {
return Type; }
38 void pressed(QPointF arg_1) W_SIGNAL(pressed, arg_1);
41 void setHeight(qreal);
43 QPainterPath shape()
const override;
44 bool contains(
const QPointF& point)
const override;
45 QPainterPath opaqueArea()
const override;
46 void mousePressEvent(QGraphicsSceneMouseEvent*)
override;
50 QPainterPath m_strokedCpath;
52 bool m_selected{
false};