Changeset View
Changeset View
Standalone View
Standalone View
libs/ui/forms/WdgDlgPaletteEditor.ui
- This file was added.
1 | <?xml version="1.0" encoding="UTF-8"?> | ||||
---|---|---|---|---|---|
2 | <ui version="4.0"> | ||||
3 | <class>WdgDlgPaletteEditor</class> | ||||
4 | <widget class="QDialog" name="WdgDlgPaletteEditor"> | ||||
5 | <property name="geometry"> | ||||
6 | <rect> | ||||
7 | <x>0</x> | ||||
8 | <y>0</y> | ||||
9 | <width>524</width> | ||||
10 | <height>481</height> | ||||
11 | </rect> | ||||
12 | </property> | ||||
13 | <property name="windowTitle"> | ||||
14 | <string>Dialog</string> | ||||
15 | </property> | ||||
16 | <layout class="QVBoxLayout" name="verticalLayout"> | ||||
17 | <item> | ||||
18 | <widget class="QWidget" name="widget" native="true"> | ||||
19 | <layout class="QHBoxLayout" name="horizontalLayout_3"> | ||||
20 | <item> | ||||
21 | <widget class="QGroupBox" name="gbxPalette"> | ||||
22 | <property name="title"> | ||||
23 | <string>Palette settings</string> | ||||
24 | </property> | ||||
25 | <layout class="QVBoxLayout" name="verticalLayout_3"> | ||||
26 | <item> | ||||
27 | <widget class="QLabel" name="labelName"> | ||||
28 | <property name="text"> | ||||
29 | <string>Palette Name</string> | ||||
30 | </property> | ||||
31 | </widget> | ||||
32 | </item> | ||||
33 | <item> | ||||
34 | <widget class="QLineEdit" name="lineEditName"/> | ||||
35 | </item> | ||||
36 | <item> | ||||
37 | <widget class="QLabel" name="labelFilename"> | ||||
38 | <property name="text"> | ||||
39 | <string>File name</string> | ||||
40 | </property> | ||||
41 | </widget> | ||||
42 | </item> | ||||
43 | <item> | ||||
44 | <widget class="QLineEdit" name="lineEditFilename"/> | ||||
45 | </item> | ||||
46 | <item> | ||||
47 | <widget class="QLabel" name="labelColCount"> | ||||
48 | <property name="text"> | ||||
49 | <string>Column count</string> | ||||
50 | </property> | ||||
51 | </widget> | ||||
52 | </item> | ||||
53 | <item> | ||||
54 | <widget class="QSpinBox" name="spinBoxCol"/> | ||||
55 | </item> | ||||
56 | <item> | ||||
57 | <layout class="QHBoxLayout" name="horizontalLayout_2"> | ||||
58 | <item> | ||||
59 | <widget class="QCheckBox" name="ckxGlobal"> | ||||
60 | <property name="text"> | ||||
61 | <string>Global</string> | ||||
62 | </property> | ||||
63 | </widget> | ||||
64 | </item> | ||||
65 | <item> | ||||
66 | <widget class="QCheckBox" name="ckxReadOnly"> | ||||
67 | <property name="text"> | ||||
68 | <string>Read only</string> | ||||
69 | </property> | ||||
70 | </widget> | ||||
71 | </item> | ||||
72 | </layout> | ||||
73 | </item> | ||||
74 | <item> | ||||
75 | <spacer name="verticalSpacer_2"> | ||||
76 | <property name="orientation"> | ||||
77 | <enum>Qt::Vertical</enum> | ||||
78 | </property> | ||||
79 | <property name="sizeHint" stdset="0"> | ||||
80 | <size> | ||||
81 | <width>20</width> | ||||
82 | <height>40</height> | ||||
83 | </size> | ||||
84 | </property> | ||||
85 | </spacer> | ||||
86 | </item> | ||||
87 | <item> | ||||
88 | <widget class="QToolButton" name="bnAddGroup"> | ||||
89 | <property name="sizePolicy"> | ||||
90 | <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> | ||||
91 | <horstretch>0</horstretch> | ||||
92 | <verstretch>0</verstretch> | ||||
93 | </sizepolicy> | ||||
94 | </property> | ||||
95 | <property name="text"> | ||||
96 | <string>Add a group</string> | ||||
97 | </property> | ||||
98 | </widget> | ||||
99 | </item> | ||||
100 | </layout> | ||||
101 | </widget> | ||||
102 | </item> | ||||
103 | <item> | ||||
104 | <widget class="QGroupBox" name="gbxGroup"> | ||||
105 | <property name="title"> | ||||
106 | <string>Group settings</string> | ||||
107 | </property> | ||||
108 | <layout class="QVBoxLayout" name="verticalLayout_2"> | ||||
109 | <item> | ||||
110 | <widget class="QComboBox" name="cbxGroup"/> | ||||
111 | </item> | ||||
112 | <item> | ||||
113 | <widget class="QLabel" name="labelRowCount"> | ||||
114 | <property name="text"> | ||||
115 | <string>Row count</string> | ||||
116 | </property> | ||||
117 | </widget> | ||||
118 | </item> | ||||
119 | <item> | ||||
120 | <widget class="QSpinBox" name="spinBoxRow"/> | ||||
121 | </item> | ||||
122 | <item> | ||||
123 | <spacer name="verticalSpacer"> | ||||
124 | <property name="orientation"> | ||||
125 | <enum>Qt::Vertical</enum> | ||||
126 | </property> | ||||
127 | <property name="sizeHint" stdset="0"> | ||||
128 | <size> | ||||
129 | <width>20</width> | ||||
130 | <height>40</height> | ||||
131 | </size> | ||||
132 | </property> | ||||
133 | </spacer> | ||||
134 | </item> | ||||
135 | <item> | ||||
136 | <widget class="QToolButton" name="bnRenGroup"> | ||||
137 | <property name="sizePolicy"> | ||||
138 | <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> | ||||
139 | <horstretch>0</horstretch> | ||||
140 | <verstretch>0</verstretch> | ||||
141 | </sizepolicy> | ||||
142 | </property> | ||||
143 | <property name="text"> | ||||
144 | <string>Rename this group</string> | ||||
145 | </property> | ||||
146 | </widget> | ||||
147 | </item> | ||||
148 | <item> | ||||
149 | <widget class="QToolButton" name="bnDelGroup"> | ||||
150 | <property name="sizePolicy"> | ||||
151 | <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> | ||||
152 | <horstretch>0</horstretch> | ||||
153 | <verstretch>0</verstretch> | ||||
154 | </sizepolicy> | ||||
155 | </property> | ||||
156 | <property name="text"> | ||||
157 | <string>Delete this group</string> | ||||
158 | </property> | ||||
159 | </widget> | ||||
160 | </item> | ||||
161 | </layout> | ||||
162 | </widget> | ||||
163 | </item> | ||||
164 | </layout> | ||||
165 | </widget> | ||||
166 | </item> | ||||
167 | <item> | ||||
168 | <widget class="QDialogButtonBox" name="buttonBox"> | ||||
169 | <property name="orientation"> | ||||
170 | <enum>Qt::Horizontal</enum> | ||||
171 | </property> | ||||
172 | <property name="standardButtons"> | ||||
173 | <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> | ||||
174 | </property> | ||||
175 | </widget> | ||||
176 | </item> | ||||
177 | </layout> | ||||
178 | </widget> | ||||
179 | <resources/> | ||||
180 | <connections> | ||||
181 | <connection> | ||||
182 | <sender>buttonBox</sender> | ||||
183 | <signal>rejected()</signal> | ||||
184 | <receiver>WdgDlgPaletteEditor</receiver> | ||||
185 | <slot>reject()</slot> | ||||
186 | <hints> | ||||
187 | <hint type="sourcelabel"> | ||||
188 | <x>316</x> | ||||
189 | <y>260</y> | ||||
190 | </hint> | ||||
191 | <hint type="destinationlabel"> | ||||
192 | <x>286</x> | ||||
193 | <y>274</y> | ||||
194 | </hint> | ||||
195 | </hints> | ||||
196 | </connection> | ||||
197 | <connection> | ||||
198 | <sender>buttonBox</sender> | ||||
199 | <signal>accepted()</signal> | ||||
200 | <receiver>WdgDlgPaletteEditor</receiver> | ||||
201 | <slot>accept()</slot> | ||||
202 | <hints> | ||||
203 | <hint type="sourcelabel"> | ||||
204 | <x>248</x> | ||||
205 | <y>254</y> | ||||
206 | </hint> | ||||
207 | <hint type="destinationlabel"> | ||||
208 | <x>157</x> | ||||
209 | <y>274</y> | ||||
210 | </hint> | ||||
211 | </hints> | ||||
212 | </connection> | ||||
213 | </connections> | ||||
214 | </ui> |