Add toolbar widget for edit size of handler in diagram editor.

Add a combo box in the tool bar of diagram editor
to quickly change the size of the graphics handler item.

The sarto commit :D

NOTE
only available for diagram editor, element editor will
come later.
This commit is contained in:
joshua
2022-01-03 21:01:25 +01:00
parent e087270b6d
commit ae9faa2192
11 changed files with 223 additions and 6 deletions

View File

@@ -0,0 +1,47 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>DiagramEditorHandlerSizeWidget</class>
<widget class="QWidget" name="DiagramEditorHandlerSizeWidget">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>471</width>
<height>62</height>
</rect>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QLabel" name="label">
<property name="text">
<string>Poignées :</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="comboBox">
<item>
<property name="text">
<string>x 1</string>
</property>
</item>
<item>
<property name="text">
<string>x 2</string>
</property>
</item>
<item>
<property name="text">
<string>x 3</string>
</property>
</item>
</widget>
</item>
</layout>
</widget>
<resources/>
<connections/>
</ui>