mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-05-19 19:29:58 +02:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user