<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>NewMapConnectionDialog</class> <widget class="QDialog" name="NewMapConnectionDialog"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>234</width> <height>120</height> </rect> </property> <property name="windowTitle"> <string>Add New Map Connection</string> </property> <layout class="QVBoxLayout" name="verticalLayout"> <item> <widget class="QFrame" name="frame"> <property name="frameShape"> <enum>QFrame::NoFrame</enum> </property> <property name="frameShadow"> <enum>QFrame::Plain</enum> </property> <layout class="QFormLayout" name="formLayout_2"> <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 row="0" column="0"> <widget class="QLabel" name="label_Map"> <property name="text"> <string>Map</string> </property> </widget> </item> <item row="0" column="1"> <widget class="NoScrollComboBox" name="comboBox_Map"/> </item> <item row="1" column="0"> <widget class="QLabel" name="label_Direction"> <property name="text"> <string>Direction</string> </property> </widget> </item> <item row="1" column="1"> <widget class="NoScrollComboBox" name="comboBox_Direction"/> </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> <customwidgets> <customwidget> <class>NoScrollComboBox</class> <extends>QComboBox</extends> <header>noscrollcombobox.h</header> </customwidget> </customwidgets> <resources/> <connections> <connection> <sender>buttonBox</sender> <signal>accepted()</signal> <receiver>NewMapConnectionDialog</receiver> <slot>accept()</slot> </connection> <connection> <sender>buttonBox</sender> <signal>rejected()</signal> <receiver>NewMapConnectionDialog</receiver> <slot>reject()</slot> </connection> </connections> </ui>