1<?xml version="1.0" encoding="UTF-8"?> 2<ui version="4.0"> 3 <class>StyleManager</class> 4 <widget class="QDialog" name="StyleManager"> 5 <property name="enabled"> 6 <bool>true</bool> 7 </property> 8 <property name="geometry"> 9 <rect> 10 <x>0</x> 11 <y>0</y> 12 <width>772</width> 13 <height>422</height> 14 </rect> 15 </property> 16 <property name="sizePolicy"> 17 <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred"> 18 <horstretch>0</horstretch> 19 <verstretch>0</verstretch> 20 </sizepolicy> 21 </property> 22 <property name="windowTitle"> 23 <string>Style Manager</string> 24 </property> 25 <layout class="QVBoxLayout" name="verticalLayout_2"> 26 <property name="leftMargin"> 27 <number>9</number> 28 </property> 29 <property name="topMargin"> 30 <number>9</number> 31 </property> 32 <property name="rightMargin"> 33 <number>9</number> 34 </property> 35 <property name="bottomMargin"> 36 <number>9</number> 37 </property> 38 <item> 39 <layout class="QHBoxLayout" name="horizontalLayout"> 40 <property name="spacing"> 41 <number>9</number> 42 </property> 43 <item> 44 <layout class="QVBoxLayout" name="verticalLayout"> 45 <property name="spacing"> 46 <number>9</number> 47 </property> 48 <item> 49 <widget class="StyleView" name="styleView"> 50 <property name="sizePolicy"> 51 <sizepolicy hsizetype="Preferred" vsizetype="Expanding"> 52 <horstretch>0</horstretch> 53 <verstretch>0</verstretch> 54 </sizepolicy> 55 </property> 56 <property name="contextMenuPolicy"> 57 <enum>Qt::CustomContextMenu</enum> 58 </property> 59 <property name="alternatingRowColors"> 60 <bool>true</bool> 61 </property> 62 <property name="allColumnsShowFocus"> 63 <bool>true</bool> 64 </property> 65 <column> 66 <property name="text"> 67 <string>Name</string> 68 </property> 69 </column> 70 <column> 71 <property name="text"> 72 <string>Shortcut</string> 73 </property> 74 </column> 75 </widget> 76 </item> 77 <item> 78 <widget class="QFrame" name="leftFrame"> 79 <property name="sizePolicy"> 80 <sizepolicy hsizetype="Minimum" vsizetype="Preferred"> 81 <horstretch>0</horstretch> 82 <verstretch>0</verstretch> 83 </sizepolicy> 84 </property> 85 <property name="minimumSize"> 86 <size> 87 <width>190</width> 88 <height>0</height> 89 </size> 90 </property> 91 <property name="maximumSize"> 92 <size> 93 <width>32767</width> 94 <height>32767</height> 95 </size> 96 </property> 97 <property name="frameShape"> 98 <enum>QFrame::NoFrame</enum> 99 </property> 100 <property name="frameShadow"> 101 <enum>QFrame::Plain</enum> 102 </property> 103 <property name="lineWidth"> 104 <number>0</number> 105 </property> 106 <layout class="QGridLayout" name="gridLayout"> 107 <property name="leftMargin"> 108 <number>0</number> 109 </property> 110 <property name="topMargin"> 111 <number>0</number> 112 </property> 113 <property name="rightMargin"> 114 <number>0</number> 115 </property> 116 <property name="bottomMargin"> 117 <number>0</number> 118 </property> 119 <item row="0" column="0"> 120 <widget class="QPushButton" name="newButton"> 121 <property name="sizePolicy"> 122 <sizepolicy hsizetype="Preferred" vsizetype="Minimum"> 123 <horstretch>0</horstretch> 124 <verstretch>0</verstretch> 125 </sizepolicy> 126 </property> 127 <property name="minimumSize"> 128 <size> 129 <width>0</width> 130 <height>0</height> 131 </size> 132 </property> 133 <property name="maximumSize"> 134 <size> 135 <width>1000</width> 136 <height>32767</height> 137 </size> 138 </property> 139 <property name="text"> 140 <string>&New</string> 141 </property> 142 <property name="shortcut"> 143 <string>Alt+N</string> 144 </property> 145 </widget> 146 </item> 147 <item row="0" column="1"> 148 <widget class="QPushButton" name="cloneButton"> 149 <property name="sizePolicy"> 150 <sizepolicy hsizetype="Preferred" vsizetype="Minimum"> 151 <horstretch>0</horstretch> 152 <verstretch>0</verstretch> 153 </sizepolicy> 154 </property> 155 <property name="minimumSize"> 156 <size> 157 <width>0</width> 158 <height>0</height> 159 </size> 160 </property> 161 <property name="maximumSize"> 162 <size> 163 <width>1000</width> 164 <height>32767</height> 165 </size> 166 </property> 167 <property name="toolTip"> 168 <string>Clone copies the style to make similar styles easily</string> 169 </property> 170 <property name="text"> 171 <string>&Clone</string> 172 </property> 173 <property name="shortcut"> 174 <string>Alt+C</string> 175 </property> 176 </widget> 177 </item> 178 <item row="1" column="0"> 179 <widget class="QPushButton" name="importButton"> 180 <property name="sizePolicy"> 181 <sizepolicy hsizetype="Preferred" vsizetype="Minimum"> 182 <horstretch>0</horstretch> 183 <verstretch>0</verstretch> 184 </sizepolicy> 185 </property> 186 <property name="text"> 187 <string>&Import</string> 188 </property> 189 <property name="shortcut"> 190 <string>Alt+I</string> 191 </property> 192 </widget> 193 </item> 194 <item row="1" column="1"> 195 <widget class="QPushButton" name="deleteButton"> 196 <property name="sizePolicy"> 197 <sizepolicy hsizetype="Preferred" vsizetype="Minimum"> 198 <horstretch>0</horstretch> 199 <verstretch>0</verstretch> 200 </sizepolicy> 201 </property> 202 <property name="text"> 203 <string>&Delete</string> 204 </property> 205 <property name="shortcut"> 206 <string>Alt+D</string> 207 </property> 208 </widget> 209 </item> 210 </layout> 211 </widget> 212 </item> 213 </layout> 214 </item> 215 <item> 216 <widget class="QFrame" name="rightFrame"> 217 <property name="minimumSize"> 218 <size> 219 <width>472</width> 220 <height>0</height> 221 </size> 222 </property> 223 <property name="frameShape"> 224 <enum>QFrame::NoFrame</enum> 225 </property> 226 <property name="frameShadow"> 227 <enum>QFrame::Plain</enum> 228 </property> 229 <property name="lineWidth"> 230 <number>0</number> 231 </property> 232 <layout class="QVBoxLayout"> 233 <property name="spacing"> 234 <number>0</number> 235 </property> 236 <property name="leftMargin"> 237 <number>0</number> 238 </property> 239 <property name="topMargin"> 240 <number>0</number> 241 </property> 242 <property name="rightMargin"> 243 <number>0</number> 244 </property> 245 <property name="bottomMargin"> 246 <number>0</number> 247 </property> 248 <item> 249 <widget class="QFrame" name="editFrame"> 250 <property name="sizePolicy"> 251 <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> 252 <horstretch>0</horstretch> 253 <verstretch>0</verstretch> 254 </sizepolicy> 255 </property> 256 <property name="frameShape"> 257 <enum>QFrame::NoFrame</enum> 258 </property> 259 <property name="frameShadow"> 260 <enum>QFrame::Plain</enum> 261 </property> 262 <property name="lineWidth"> 263 <number>0</number> 264 </property> 265 <layout class="QVBoxLayout"> 266 <property name="spacing"> 267 <number>9</number> 268 </property> 269 <property name="leftMargin"> 270 <number>0</number> 271 </property> 272 <property name="topMargin"> 273 <number>0</number> 274 </property> 275 <property name="rightMargin"> 276 <number>0</number> 277 </property> 278 <property name="bottomMargin"> 279 <number>0</number> 280 </property> 281 <item> 282 <layout class="QHBoxLayout"> 283 <item> 284 <widget class="QLabel" name="nameLabel"> 285 <property name="text"> 286 <string>Name:</string> 287 </property> 288 <property name="wordWrap"> 289 <bool>false</bool> 290 </property> 291 </widget> 292 </item> 293 <item> 294 <widget class="QLineEdit" name="nameEdit"> 295 <property name="enabled"> 296 <bool>false</bool> 297 </property> 298 </widget> 299 </item> 300 </layout> 301 </item> 302 <item> 303 <widget class="QLabel" name="uniqueLabel"> 304 <property name="maximumSize"> 305 <size> 306 <width>32767</width> 307 <height>30</height> 308 </size> 309 </property> 310 <property name="font"> 311 <font> 312 <weight>75</weight> 313 <bold>true</bold> 314 </font> 315 </property> 316 <property name="text"> 317 <string>Please select a unique name for the style</string> 318 </property> 319 <property name="alignment"> 320 <set>Qt::AlignCenter</set> 321 </property> 322 <property name="wordWrap"> 323 <bool>false</bool> 324 </property> 325 </widget> 326 </item> 327 <item> 328 <widget class="QFrame" name="mainFrame"> 329 <property name="sizePolicy"> 330 <sizepolicy hsizetype="Expanding" vsizetype="MinimumExpanding"> 331 <horstretch>0</horstretch> 332 <verstretch>0</verstretch> 333 </sizepolicy> 334 </property> 335 </widget> 336 </item> 337 </layout> 338 </widget> 339 </item> 340 </layout> 341 </widget> 342 </item> 343 </layout> 344 </item> 345 <item> 346 <layout class="QHBoxLayout" name="horizontalLayout_2"> 347 <item> 348 <spacer name="horizontalSpacer"> 349 <property name="orientation"> 350 <enum>Qt::Horizontal</enum> 351 </property> 352 <property name="sizeHint" stdset="0"> 353 <size> 354 <width>40</width> 355 <height>20</height> 356 </size> 357 </property> 358 </spacer> 359 </item> 360 <item> 361 <layout class="QHBoxLayout"> 362 <property name="leftMargin"> 363 <number>0</number> 364 </property> 365 <property name="topMargin"> 366 <number>0</number> 367 </property> 368 <property name="rightMargin"> 369 <number>0</number> 370 </property> 371 <property name="bottomMargin"> 372 <number>0</number> 373 </property> 374 <item> 375 <widget class="QPushButton" name="okButton"> 376 <property name="sizePolicy"> 377 <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> 378 <horstretch>0</horstretch> 379 <verstretch>0</verstretch> 380 </sizepolicy> 381 </property> 382 <property name="minimumSize"> 383 <size> 384 <width>85</width> 385 <height>24</height> 386 </size> 387 </property> 388 <property name="text"> 389 <string><< &Done</string> 390 </property> 391 <property name="shortcut"> 392 <string>Alt+D</string> 393 </property> 394 </widget> 395 </item> 396 <item> 397 <widget class="QPushButton" name="applyButton"> 398 <property name="sizePolicy"> 399 <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> 400 <horstretch>0</horstretch> 401 <verstretch>0</verstretch> 402 </sizepolicy> 403 </property> 404 <property name="minimumSize"> 405 <size> 406 <width>85</width> 407 <height>24</height> 408 </size> 409 </property> 410 <property name="text"> 411 <string>&Apply</string> 412 </property> 413 <property name="shortcut"> 414 <string>Alt+A</string> 415 </property> 416 </widget> 417 </item> 418 <item> 419 <widget class="QPushButton" name="resetButton"> 420 <property name="sizePolicy"> 421 <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> 422 <horstretch>0</horstretch> 423 <verstretch>0</verstretch> 424 </sizepolicy> 425 </property> 426 <property name="minimumSize"> 427 <size> 428 <width>85</width> 429 <height>24</height> 430 </size> 431 </property> 432 <property name="text"> 433 <string>&Reset</string> 434 </property> 435 <property name="shortcut"> 436 <string>Alt+R</string> 437 </property> 438 </widget> 439 </item> 440 </layout> 441 </item> 442 </layout> 443 </item> 444 </layout> 445 </widget> 446 <customwidgets> 447 <customwidget> 448 <class>StyleView</class> 449 <extends>QTreeWidget</extends> 450 <header>ui/styleview.h</header> 451 </customwidget> 452 </customwidgets> 453 <includes> 454 <include location="local">ui/scrpalettebase.h</include> 455 <include location="local">ui/scrpalettebase.h</include> 456 </includes> 457 <resources/> 458 <connections/> 459</ui> 460