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

@@ -42,6 +42,7 @@ class RecentFiles;
class DiagramPropertiesEditorDockWidget;
class ElementsCollectionWidget;
class AutoNumberingDockWidget;
class QComboBox;
#ifdef BUILD_WITHOUT_KF5
#else
@@ -240,5 +241,6 @@ class QETDiagramEditor : public QETMainWindow
int activeSubWindowIndex;
bool m_first_show = true;
SearchAndReplaceWidget m_search_and_replace_widget;
QComboBox *m_scale_picture_cb = nullptr;
};
#endif