src/colorsel.ui

branch
projects
changeset 935
8d98ee0dc917
parent 932
738673e8a6b4
equal deleted inserted replaced
930:ab77deb851fa 935:8d98ee0dc917
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>588</width>
10 <height>404</height>
11 </rect>
12 </property>
13 <property name="windowTitle">
14 <string>Select Color</string>
15 </property>
16 <layout class="QGridLayout" name="gridLayout">
17 <item row="0" column="0">
18 <widget class="QScrollArea" name="definedColors">
19 <property name="verticalScrollBarPolicy">
20 <enum>Qt::ScrollBarAlwaysOn</enum>
21 </property>
22 <property name="horizontalScrollBarPolicy">
23 <enum>Qt::ScrollBarAlwaysOff</enum>
24 </property>
25 <widget class="QWidget" name="definedColorsWidget">
26 <property name="geometry">
27 <rect>
28 <x>0</x>
29 <y>0</y>
30 <width>384</width>
31 <height>287</height>
32 </rect>
33 </property>
34 </widget>
35 </widget>
36 </item>
37 <item row="1" column="0">
38 <layout class="QHBoxLayout" name="horizontalLayout">
39 <item>
40 <widget class="QLabel" name="iconLabel">
41 <property name="text">
42 <string>[[ COLOR ICON HERE]]</string>
43 </property>
44 </widget>
45 </item>
46 <item>
47 <widget class="QLabel" name="colorLabel">
48 <property name="text">
49 <string>[[ COLOR HERE ]]</string>
50 </property>
51 </widget>
52 </item>
53 <item>
54 <spacer name="horizontalSpacer">
55 <property name="orientation">
56 <enum>Qt::Horizontal</enum>
57 </property>
58 <property name="sizeHint" stdset="0">
59 <size>
60 <width>40</width>
61 <height>20</height>
62 </size>
63 </property>
64 </spacer>
65 </item>
66 <item>
67 <layout class="QVBoxLayout" name="verticalLayout">
68 <item>
69 <widget class="QPushButton" name="directColor">
70 <property name="toolTip">
71 <string>Direct Color...</string>
72 </property>
73 <property name="text">
74 <string>Direct Color...</string>
75 </property>
76 </widget>
77 </item>
78 <item>
79 <widget class="QCheckBox" name="transparentDirectColor">
80 <property name="text">
81 <string>Transparent</string>
82 </property>
83 </widget>
84 </item>
85 </layout>
86 </item>
87 </layout>
88 </item>
89 <item row="2" column="0">
90 <widget class="QDialogButtonBox" name="buttonBox">
91 <property name="orientation">
92 <enum>Qt::Horizontal</enum>
93 </property>
94 <property name="standardButtons">
95 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
96 </property>
97 </widget>
98 </item>
99 </layout>
100 </widget>
101 <resources>
102 <include location="../ldforge.qrc"/>
103 </resources>
104 <connections>
105 <connection>
106 <sender>buttonBox</sender>
107 <signal>accepted()</signal>
108 <receiver>ColorSelUI</receiver>
109 <slot>accept()</slot>
110 <hints>
111 <hint type="sourcelabel">
112 <x>248</x>
113 <y>254</y>
114 </hint>
115 <hint type="destinationlabel">
116 <x>157</x>
117 <y>274</y>
118 </hint>
119 </hints>
120 </connection>
121 <connection>
122 <sender>buttonBox</sender>
123 <signal>rejected()</signal>
124 <receiver>ColorSelUI</receiver>
125 <slot>reject()</slot>
126 <hints>
127 <hint type="sourcelabel">
128 <x>316</x>
129 <y>260</y>
130 </hint>
131 <hint type="destinationlabel">
132 <x>286</x>
133 <y>274</y>
134 </hint>
135 </hints>
136 </connection>
137 </connections>
138 </ui>

mercurial