src/ui/colorsel.ui

changeset 327
9ea604af1319
equal deleted inserted replaced
326:469bf1fe26e8 327:9ea604af1319
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3 <class>ColorSelUI</class>
4 <widget class="QDialog" name="ColorSelUI">
5 <property name="geometry">
6 <rect>
7 <x>0</x>
8 <y>0</y>
9 <width>382</width>
10 <height>442</height>
11 </rect>
12 </property>
13 <property name="windowTitle">
14 <string>Pick a Color</string>
15 </property>
16 <layout class="QVBoxLayout" name="verticalLayout">
17 <item>
18 <widget class="QGraphicsView" name="viewport">
19 <property name="verticalScrollBarPolicy">
20 <enum>Qt::ScrollBarAlwaysOn</enum>
21 </property>
22 <property name="horizontalScrollBarPolicy">
23 <enum>Qt::ScrollBarAlwaysOff</enum>
24 </property>
25 </widget>
26 </item>
27 <item>
28 <layout class="QHBoxLayout" name="horizontalLayout">
29 <item>
30 <widget class="QLabel" name="colorLabel">
31 <property name="text">
32 <string>[[ COLOR HERE ]]</string>
33 </property>
34 </widget>
35 </item>
36 <item>
37 <spacer name="horizontalSpacer">
38 <property name="orientation">
39 <enum>Qt::Horizontal</enum>
40 </property>
41 <property name="sizeHint" stdset="0">
42 <size>
43 <width>40</width>
44 <height>20</height>
45 </size>
46 </property>
47 </spacer>
48 </item>
49 </layout>
50 </item>
51 <item>
52 <widget class="QDialogButtonBox" name="buttonBox">
53 <property name="orientation">
54 <enum>Qt::Horizontal</enum>
55 </property>
56 <property name="standardButtons">
57 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
58 </property>
59 </widget>
60 </item>
61 </layout>
62 </widget>
63 <resources/>
64 <connections>
65 <connection>
66 <sender>buttonBox</sender>
67 <signal>accepted()</signal>
68 <receiver>ColorSelUI</receiver>
69 <slot>accept()</slot>
70 <hints>
71 <hint type="sourcelabel">
72 <x>248</x>
73 <y>254</y>
74 </hint>
75 <hint type="destinationlabel">
76 <x>157</x>
77 <y>274</y>
78 </hint>
79 </hints>
80 </connection>
81 <connection>
82 <sender>buttonBox</sender>
83 <signal>rejected()</signal>
84 <receiver>ColorSelUI</receiver>
85 <slot>reject()</slot>
86 <hints>
87 <hint type="sourcelabel">
88 <x>316</x>
89 <y>260</y>
90 </hint>
91 <hint type="destinationlabel">
92 <x>286</x>
93 <y>274</y>
94 </hint>
95 </hints>
96 </connection>
97 </connections>
98 </ui>

mercurial