|
6 | 6 | <rect>
|
7 | 7 | <x>0</x>
|
8 | 8 | <y>0</y>
|
9 |
| - <width>300</width> |
10 |
| - <height>369</height> |
| 9 | + <width>625</width> |
| 10 | + <height>395</height> |
11 | 11 | </rect>
|
12 | 12 | </property>
|
13 | 13 | <property name="windowTitle">
|
14 | 14 | <string>Style Manager</string>
|
15 | 15 | </property>
|
16 |
| - <layout class="QVBoxLayout"> |
| 16 | + <layout class="QVBoxLayout" name="verticalLayout"> |
17 | 17 | <item>
|
18 |
| - <widget class="QLabel" name="label"> |
19 |
| - <property name="text"> |
20 |
| - <string>Style item type</string> |
| 18 | + <widget class="QTabWidget" name="tabItemType"> |
| 19 | + <property name="sizePolicy"> |
| 20 | + <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> |
| 21 | + <horstretch>0</horstretch> |
| 22 | + <verstretch>0</verstretch> |
| 23 | + </sizepolicy> |
21 | 24 | </property>
|
22 |
| - <property name="buddy"> |
23 |
| - <cstring>cboItemType</cstring> |
| 25 | + <property name="currentIndex"> |
| 26 | + <number>0</number> |
24 | 27 | </property>
|
| 28 | + <property name="iconSize"> |
| 29 | + <size> |
| 30 | + <width>22</width> |
| 31 | + <height>22</height> |
| 32 | + </size> |
| 33 | + </property> |
| 34 | + <property name="documentMode"> |
| 35 | + <bool>true</bool> |
| 36 | + </property> |
| 37 | + <widget class="QWidget" name="tabMarker"> |
| 38 | + <property name="sizePolicy"> |
| 39 | + <sizepolicy hsizetype="Preferred" vsizetype="Ignored"> |
| 40 | + <horstretch>0</horstretch> |
| 41 | + <verstretch>0</verstretch> |
| 42 | + </sizepolicy> |
| 43 | + </property> |
| 44 | + <attribute name="icon"> |
| 45 | + <iconset resource="../../images/images.qrc"> |
| 46 | + <normaloff>:/images/themes/default/styleicons/style-point.png</normaloff>:/images/themes/default/styleicons/style-point.png</iconset> |
| 47 | + </attribute> |
| 48 | + <attribute name="title"> |
| 49 | + <string>Marker</string> |
| 50 | + </attribute> |
| 51 | + </widget> |
| 52 | + <widget class="QWidget" name="tabLine"> |
| 53 | + <property name="sizePolicy"> |
| 54 | + <sizepolicy hsizetype="Preferred" vsizetype="Ignored"> |
| 55 | + <horstretch>0</horstretch> |
| 56 | + <verstretch>0</verstretch> |
| 57 | + </sizepolicy> |
| 58 | + </property> |
| 59 | + <attribute name="icon"> |
| 60 | + <iconset resource="../../images/images.qrc"> |
| 61 | + <normaloff>:/images/themes/default/styleicons/style-line.png</normaloff>:/images/themes/default/styleicons/style-line.png</iconset> |
| 62 | + </attribute> |
| 63 | + <attribute name="title"> |
| 64 | + <string>Line</string> |
| 65 | + </attribute> |
| 66 | + </widget> |
| 67 | + <widget class="QWidget" name="tabFill"> |
| 68 | + <property name="sizePolicy"> |
| 69 | + <sizepolicy hsizetype="Preferred" vsizetype="Ignored"> |
| 70 | + <horstretch>0</horstretch> |
| 71 | + <verstretch>0</verstretch> |
| 72 | + </sizepolicy> |
| 73 | + </property> |
| 74 | + <attribute name="icon"> |
| 75 | + <iconset resource="../../images/images.qrc"> |
| 76 | + <normaloff>:/images/themes/default/styleicons/style-polygon.png</normaloff>:/images/themes/default/styleicons/style-polygon.png</iconset> |
| 77 | + </attribute> |
| 78 | + <attribute name="title"> |
| 79 | + <string>Fill</string> |
| 80 | + </attribute> |
| 81 | + </widget> |
| 82 | + <widget class="QWidget" name="tabColorRamp"> |
| 83 | + <property name="sizePolicy"> |
| 84 | + <sizepolicy hsizetype="Preferred" vsizetype="Ignored"> |
| 85 | + <horstretch>0</horstretch> |
| 86 | + <verstretch>0</verstretch> |
| 87 | + </sizepolicy> |
| 88 | + </property> |
| 89 | + <attribute name="icon"> |
| 90 | + <iconset resource="../../images/images.qrc"> |
| 91 | + <normaloff>:/images/themes/default/styleicons/color.png</normaloff>:/images/themes/default/styleicons/color.png</iconset> |
| 92 | + </attribute> |
| 93 | + <attribute name="title"> |
| 94 | + <string>Color ramp</string> |
| 95 | + </attribute> |
| 96 | + </widget> |
25 | 97 | </widget>
|
26 | 98 | </item>
|
27 |
| - <item> |
28 |
| - <widget class="QComboBox" name="cboItemType"/> |
29 |
| - </item> |
30 | 99 | <item>
|
31 | 100 | <widget class="QListView" name="listItems">
|
| 101 | + <property name="sizePolicy"> |
| 102 | + <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> |
| 103 | + <horstretch>0</horstretch> |
| 104 | + <verstretch>3</verstretch> |
| 105 | + </sizepolicy> |
| 106 | + </property> |
32 | 107 | <property name="editTriggers">
|
33 | 108 | <set>QAbstractItemView::EditKeyPressed|QAbstractItemView::SelectedClicked</set>
|
34 | 109 | </property>
|
|
59 | 134 | <property name="toolTip">
|
60 | 135 | <string>Add item</string>
|
61 | 136 | </property>
|
| 137 | + <property name="text"> |
| 138 | + <string>Add</string> |
| 139 | + </property> |
62 | 140 | </widget>
|
63 | 141 | </item>
|
64 | 142 | <item>
|
65 | 143 | <widget class="QPushButton" name="btnEditItem">
|
66 | 144 | <property name="toolTip">
|
67 | 145 | <string>Edit item</string>
|
68 | 146 | </property>
|
| 147 | + <property name="text"> |
| 148 | + <string>Edit</string> |
| 149 | + </property> |
69 | 150 | </widget>
|
70 | 151 | </item>
|
71 | 152 | <item>
|
72 | 153 | <widget class="QPushButton" name="btnRemoveItem">
|
73 | 154 | <property name="toolTip">
|
74 | 155 | <string>Remove item</string>
|
75 | 156 | </property>
|
| 157 | + <property name="text"> |
| 158 | + <string>Remove</string> |
| 159 | + </property> |
76 | 160 | </widget>
|
77 | 161 | </item>
|
78 | 162 | <item>
|
|
103 | 187 | </layout>
|
104 | 188 | </widget>
|
105 | 189 | <tabstops>
|
106 |
| - <tabstop>cboItemType</tabstop> |
107 | 190 | <tabstop>listItems</tabstop>
|
108 | 191 | <tabstop>btnAddItem</tabstop>
|
109 | 192 | <tabstop>btnEditItem</tabstop>
|
110 | 193 | <tabstop>btnRemoveItem</tabstop>
|
111 | 194 | <tabstop>buttonBox</tabstop>
|
112 | 195 | </tabstops>
|
113 |
| - <resources/> |
| 196 | + <resources> |
| 197 | + <include location="../../images/images.qrc"/> |
| 198 | + </resources> |
114 | 199 | <connections>
|
115 | 200 | <connection>
|
116 | 201 | <sender>buttonBox</sender>
|
|
0 commit comments