Draft: Added load/save functionality to SetStyle dialog

This commit is contained in:
Yorik van Havre
2021-05-06 18:36:41 +02:00
parent 970158f78b
commit 8c4f4e6895
2 changed files with 174 additions and 5 deletions

View File

@@ -6,14 +6,51 @@
<rect>
<x>0</x>
<y>0</y>
<width>245</width>
<height>531</height>
<width>255</width>
<height>571</height>
</rect>
</property>
<property name="windowTitle">
<string>Style settings</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QComboBox" name="comboPresets">
<property name="toolTip">
<string>Fills the values below with a stored style preset</string>
</property>
<item>
<property name="text">
<string>Load preset</string>
</property>
</item>
</widget>
</item>
<item>
<widget class="QPushButton" name="saveButton">
<property name="maximumSize">
<size>
<width>32</width>
<height>16777215</height>
</size>
</property>
<property name="toolTip">
<string>Save current style as a preset...</string>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset theme="gtk-save">
<normaloff/>
</iconset>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="QGroupBox" name="groupBox">
<property name="title">
@@ -311,6 +348,11 @@
<property name="text">
<string>Apply to selected objects</string>
</property>
<property name="icon">
<iconset theme="gtk-apply">
<normaloff/>
</iconset>
</property>
</widget>
</item>
</layout>