27 explicit InputRotary(QGraphicsItem *parent =
nullptr);
32 bool isOn(
const int port = 0)
const override;
46 void setOn()
override;
53 void setOn(
const bool value,
const int port = 0)
override;
62 void paint(QPainter *painter,
const QStyleOptionGraphicsItem *option, QWidget *widget)
override;
68 void setAppearance(
const bool defaultAppearance,
const QString &fileName)
override;
91 int m_currentPort = 0;
Bundles all per-deserialization state so that load() overrides receive it through one explicit parame...
Options passed to GraphicElement::save() (and friends); the save-side counterpart of SerializationCon...