mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 13:10:19 +00:00
581eb1f563
The dialog asks the user for a name and warns if the name already exists, i.e. an old filter preset will be overwritten. Possibly, this should contain an auto-completion facility in the case that the user wants to overwrite old presets. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
87 lines
2.2 KiB
XML
87 lines
2.2 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>AddFilterPresetDialog</class>
|
|
<widget class="QDialog" name="AddFilterPresetDialog">
|
|
<property name="windowModality">
|
|
<enum>Qt::WindowModal</enum>
|
|
</property>
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>211</width>
|
|
<height>127</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Save filter set</string>
|
|
</property>
|
|
<property name="windowIcon">
|
|
<iconset>
|
|
<normalon>:subsurface-icon</normalon>
|
|
</iconset>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
<property name="spacing">
|
|
<number>1</number>
|
|
</property>
|
|
<property name="leftMargin">
|
|
<number>3</number>
|
|
</property>
|
|
<property name="topMargin">
|
|
<number>3</number>
|
|
</property>
|
|
<property name="rightMargin">
|
|
<number>3</number>
|
|
</property>
|
|
<property name="bottomMargin">
|
|
<number>3</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QGroupBox" name="groupBox">
|
|
<property name="title">
|
|
<string>Save filter set</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<property name="leftMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="topMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="rightMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="bottomMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QLineEdit" name="name"/>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="duplicateWarning">
|
|
<property name="text">
|
|
<string>Warning: this will overwrite an existing filter set.</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QDialogButtonBox" name="buttonBox">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="standardButtons">
|
|
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<resources>
|
|
<include location="../subsurface.qrc"/>
|
|
</resources>
|
|
<connections/>
|
|
</ui>
|