Add a combo box to change the QPicture scale of element picture

This is a test commit to see if we can fix the wrong scale of element in
some screen size.:
Add a QComboBox into the QToolBar of the diagram editor to change the
current scale factor of the element QPicture.
This commit is contained in:
joshua
2021-04-17 09:49:23 +02:00
parent b8d9d38d31
commit de2f161566
4 changed files with 45 additions and 0 deletions

View File

@@ -95,6 +95,7 @@ class Element : public QetGraphicsItem
public:
static void setPictureScale(qreal scale);
QList<Terminal *> terminals() const;
QList<Conductor *> conductors() const;
QList<QPair<Terminal *,Terminal *>> AlignedFreeTerminals() const;