12#include <QCoreApplication>
45 Scene *m_scene =
nullptr;
48 void adjustMainProperty(
int dir);
50 void adjustSecondaryProperty(
int dir);
53 void applyWithUndo(
GraphicElement *element,
const std::function<
void()> &mutate);
Abstract base class for all graphical circuit elements in wiRedPanda.
void prevElement()
Morphs each selected element to the previous type in the cycle.
void nextMainProperty()
Increments the primary property of each selected element.
void prevMainProperty()
Decrements the primary property of each selected element.
void nextElement()
Morphs each selected element to the next type in the cycle.
void nextSecondaryProperty()
Increments the secondary property of each selected element.
void prevSecondaryProperty()
Decrements the secondary property of each selected element.
PropertyShortcutHandler(Scene *scene)
Main circuit editing scene.