1<?xml version="1.0" encoding="UTF-8"?> 2<ui version="4.0"> 3 <class>UiEditPolygonDialog</class> 4 <widget class="QDialog" name="UiEditPolygonDialog"> 5 <property name="geometry"> 6 <rect> 7 <x>0</x> 8 <y>0</y> 9 <width>323</width> 10 <height>390</height> 11 </rect> 12 </property> 13 <property name="windowTitle"> 14 <string>Add polygon</string> 15 </property> 16 <property name="sizeGripEnabled"> 17 <bool>false</bool> 18 </property> 19 <layout class="QVBoxLayout" name="verticalLayout_4"> 20 <item> 21 <layout class="QHBoxLayout" name="horizontalLayout"> 22 <item> 23 <widget class="QLabel" name="label"> 24 <property name="text"> 25 <string>Name</string> 26 </property> 27 </widget> 28 </item> 29 <item> 30 <widget class="QLineEdit" name="m_name"> 31 <property name="text"> 32 <string/> 33 </property> 34 </widget> 35 </item> 36 </layout> 37 </item> 38 <item> 39 <widget class="QTabWidget" name="tabWidget"> 40 <property name="currentIndex"> 41 <number>1</number> 42 </property> 43 <widget class="QWidget" name="m_descriptionTab"> 44 <attribute name="title"> 45 <string>Description</string> 46 </attribute> 47 <layout class="QVBoxLayout" name="verticalLayout_2"> 48 <item> 49 <widget class="Marble::FormattedTextWidget" name="m_formattedTextWidget" native="true"/> 50 </item> 51 </layout> 52 </widget> 53 <widget class="QWidget" name="m_styleTab"> 54 <attribute name="title"> 55 <string>Style, Color</string> 56 </attribute> 57 <layout class="QVBoxLayout" name="verticalLayout"> 58 <item> 59 <widget class="QGroupBox" name="linesGroupBox"> 60 <property name="title"> 61 <string>Lines</string> 62 </property> 63 <layout class="QHBoxLayout" name="horizontalLayout_2"> 64 <item> 65 <widget class="QLabel" name="label_3"> 66 <property name="text"> 67 <string>Color:</string> 68 </property> 69 </widget> 70 </item> 71 <item> 72 <widget class="QPushButton" name="m_linesColorButton"> 73 <property name="enabled"> 74 <bool>true</bool> 75 </property> 76 <property name="sizePolicy"> 77 <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> 78 <horstretch>0</horstretch> 79 <verstretch>0</verstretch> 80 </sizepolicy> 81 </property> 82 <property name="maximumSize"> 83 <size> 84 <width>24</width> 85 <height>24</height> 86 </size> 87 </property> 88 <property name="text"> 89 <string/> 90 </property> 91 <property name="iconSize"> 92 <size> 93 <width>12</width> 94 <height>12</height> 95 </size> 96 </property> 97 </widget> 98 </item> 99 <item> 100 <spacer name="horizontalSpacer_2"> 101 <property name="orientation"> 102 <enum>Qt::Horizontal</enum> 103 </property> 104 <property name="sizeType"> 105 <enum>QSizePolicy::Fixed</enum> 106 </property> 107 <property name="sizeHint" stdset="0"> 108 <size> 109 <width>20</width> 110 <height>20</height> 111 </size> 112 </property> 113 </spacer> 114 </item> 115 <item> 116 <widget class="QLabel" name="label_4"> 117 <property name="text"> 118 <string>Width:</string> 119 </property> 120 </widget> 121 </item> 122 <item> 123 <widget class="QDoubleSpinBox" name="m_linesWidth"> 124 <property name="decimals"> 125 <number>1</number> 126 </property> 127 <property name="minimum"> 128 <double>0.100000000000000</double> 129 </property> 130 <property name="maximum"> 131 <double>10.000000000000000</double> 132 </property> 133 <property name="singleStep"> 134 <double>0.100000000000000</double> 135 </property> 136 </widget> 137 </item> 138 <item> 139 <spacer name="horizontalSpacer_3"> 140 <property name="orientation"> 141 <enum>Qt::Horizontal</enum> 142 </property> 143 <property name="sizeHint" stdset="0"> 144 <size> 145 <width>71</width> 146 <height>20</height> 147 </size> 148 </property> 149 </spacer> 150 </item> 151 </layout> 152 </widget> 153 </item> 154 <item> 155 <widget class="QGroupBox" name="areaGroupBox"> 156 <property name="title"> 157 <string>Area</string> 158 </property> 159 <layout class="QHBoxLayout" name="horizontalLayout_3"> 160 <item> 161 <widget class="QLabel" name="label_7"> 162 <property name="text"> 163 <string>Color:</string> 164 </property> 165 </widget> 166 </item> 167 <item> 168 <widget class="QPushButton" name="m_polyColorButton"> 169 <property name="maximumSize"> 170 <size> 171 <width>24</width> 172 <height>24</height> 173 </size> 174 </property> 175 <property name="text"> 176 <string/> 177 </property> 178 <property name="iconSize"> 179 <size> 180 <width>12</width> 181 <height>12</height> 182 </size> 183 </property> 184 </widget> 185 </item> 186 <item> 187 <spacer name="horizontalSpacer"> 188 <property name="orientation"> 189 <enum>Qt::Horizontal</enum> 190 </property> 191 <property name="sizeType"> 192 <enum>QSizePolicy::Fixed</enum> 193 </property> 194 <property name="sizeHint" stdset="0"> 195 <size> 196 <width>20</width> 197 <height>20</height> 198 </size> 199 </property> 200 </spacer> 201 </item> 202 <item> 203 <widget class="QComboBox" name="m_filledColor"> 204 <item> 205 <property name="text"> 206 <string>Filled</string> 207 </property> 208 </item> 209 <item> 210 <property name="text"> 211 <string>Not Filled</string> 212 </property> 213 </item> 214 </widget> 215 </item> 216 <item> 217 <spacer name="horizontalSpacer_5"> 218 <property name="orientation"> 219 <enum>Qt::Horizontal</enum> 220 </property> 221 <property name="sizeHint" stdset="0"> 222 <size> 223 <width>92</width> 224 <height>20</height> 225 </size> 226 </property> 227 </spacer> 228 </item> 229 </layout> 230 <zorder>m_filledColor</zorder> 231 <zorder>label_7</zorder> 232 <zorder>m_polyColorButton</zorder> 233 </widget> 234 </item> 235 <item> 236 <spacer name="verticalSpacer"> 237 <property name="orientation"> 238 <enum>Qt::Vertical</enum> 239 </property> 240 <property name="sizeHint" stdset="0"> 241 <size> 242 <width>20</width> 243 <height>119</height> 244 </size> 245 </property> 246 </spacer> 247 </item> 248 </layout> 249 </widget> 250 <widget class="QWidget" name="tab"> 251 <attribute name="title"> 252 <string>Nodes</string> 253 </attribute> 254 <layout class="QVBoxLayout" name="verticalLayout_3"> 255 <item> 256 <widget class="QTreeView" name="m_nodeView"> 257 <property name="rootIsDecorated"> 258 <bool>false</bool> 259 </property> 260 <attribute name="headerStretchLastSection"> 261 <bool>true</bool> 262 </attribute> 263 </widget> 264 </item> 265 </layout> 266 </widget> 267 </widget> 268 </item> 269 <item> 270 <widget class="QDialogButtonBox" name="buttonBox"> 271 <property name="orientation"> 272 <enum>Qt::Horizontal</enum> 273 </property> 274 <property name="standardButtons"> 275 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> 276 </property> 277 </widget> 278 </item> 279 </layout> 280 </widget> 281 <customwidgets> 282 <customwidget> 283 <class>Marble::FormattedTextWidget</class> 284 <extends>QWidget</extends> 285 <header>FormattedTextWidget.h</header> 286 <container>1</container> 287 </customwidget> 288 </customwidgets> 289 <resources/> 290 <connections> 291 <connection> 292 <sender>buttonBox</sender> 293 <signal>rejected()</signal> 294 <receiver>UiEditPolygonDialog</receiver> 295 <slot>reject()</slot> 296 <hints> 297 <hint type="sourcelabel"> 298 <x>316</x> 299 <y>260</y> 300 </hint> 301 <hint type="destinationlabel"> 302 <x>286</x> 303 <y>274</y> 304 </hint> 305 </hints> 306 </connection> 307 </connections> 308</ui> 309