Make buttons toggleable by single clicking

This commit is contained in:
xypwn
2020-04-04 14:07:16 +02:00
parent 5340635389
commit 7ade16be8b
20 changed files with 80 additions and 65 deletions

View File

@@ -5,7 +5,6 @@
// This includes things like undo, redo, etc...
#include <QGraphicsScene>
#include <QUndoStack>
#include "ePartType.h"
#include "CircuitBuffer.h"
@@ -91,8 +90,8 @@ private:
void connectorClicked(Connector *connector);
// Removal is done undoably
void removeConnectorsConnections(Connector *connector);
void mouseReleaseEvent(QGraphicsSceneMouseEvent *event);
// Called by Part when moved by mouse. Only called by the Part that was under the mouse pointer while moved
void partMoved(QPointF delta);
};
#endif // SCENE_H