<?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>