1<?xml version="1.0" encoding="UTF-8"?> 2<ui version="4.0"> 3 <class>MirrorAddDlg</class> 4 <widget class="QWidget" name="MirrorAddDlg"> 5 <property name="geometry"> 6 <rect> 7 <x>0</x> 8 <y>0</y> 9 <width>481</width> 10 <height>187</height> 11 </rect> 12 </property> 13 <layout class="QVBoxLayout" name="verticalLayout"> 14 <item> 15 <layout class="QFormLayout" name="formLayout"> 16 <item row="0" column="0"> 17 <widget class="QLabel" name="labelMirror"> 18 <property name="text"> 19 <string>Mirror:</string> 20 </property> 21 </widget> 22 </item> 23 <item row="1" column="0"> 24 <widget class="QLabel" name="labelConnections"> 25 <property name="text"> 26 <string>Number of connections:</string> 27 </property> 28 </widget> 29 </item> 30 <item row="0" column="1"> 31 <widget class="KLineEdit" name="url"> 32 <property name="placeholderText" stdset="0"> 33 <string>Enter a URL</string> 34 </property> 35 <property name="showClearButton" stdset="0"> 36 <bool>true</bool> 37 </property> 38 </widget> 39 </item> 40 <item row="1" column="1"> 41 <widget class="QSpinBox" name="numConnections"> 42 <property name="minimum"> 43 <number>1</number> 44 </property> 45 <property name="maximum"> 46 <number>20</number> 47 </property> 48 </widget> 49 </item> 50 <item row="2" column="0"> 51 <widget class="QLabel" name="labelPriority"> 52 <property name="text"> 53 <string>Priority:</string> 54 </property> 55 </widget> 56 </item> 57 <item row="2" column="1"> 58 <widget class="QSpinBox" name="priority"> 59 <property name="toolTip"> 60 <string>Optional: The priority of the mirror, 1 highest 999999 lowest.</string> 61 </property> 62 <property name="value"> 63 <number>0</number> 64 </property> 65 <property name="minimum"> 66 <number>0</number> 67 </property> 68 <property name="maximum"> 69 <number>999999</number> 70 </property> 71 <property name="specialValueText"> 72 <string>not specified</string> 73 </property> 74 </widget> 75 </item> 76 <item row="3" column="0"> 77 <widget class="QLabel" name="labelLocation"> 78 <property name="text"> 79 <string>Location:</string> 80 </property> 81 </widget> 82 </item> 83 <item row="3" column="1"> 84 <widget class="QComboBox" name="location"/> 85 </item> 86 </layout> 87 </item> 88 <item> 89 <spacer name="verticalSpacer"> 90 <property name="orientation"> 91 <enum>Qt::Vertical</enum> 92 </property> 93 <property name="sizeHint" stdset="0"> 94 <size> 95 <width>20</width> 96 <height>40</height> 97 </size> 98 </property> 99 </spacer> 100 </item> 101 <item> 102 <widget class="QDialogButtonBox" name="buttonBox"> 103 <property name="standardButtons"> 104 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Yes</set> 105 </property> 106 </widget> 107 </item> 108 </layout> 109 </widget> 110 <customwidgets> 111 <customwidget> 112 <class>KLineEdit</class> 113 <extends>QLineEdit</extends> 114 <header>KLineEdit</header> 115 </customwidget> 116 </customwidgets> 117 <resources/> 118 <connections/> 119</ui> 120