blob: e1714917fa92a2f02e87eb2d788b897bc32b2174 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
|
<!DOCTYPE UI><UI version="3.2" stdsetdef="1">
<class>Color</class>
<widget class="QWidget">
<property name="name">
<cstring>Color</cstring>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>365</width>
<height>196</height>
</rect>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>0</number>
</property>
<spacer row="3" column="1">
<property name="name">
<cstring>spacer1</cstring>
</property>
<property name="orientation">
<enum>Vertical</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>41</width>
<height>111</height>
</size>
</property>
</spacer>
<widget class="KColorButton" row="1" column="1">
<property name="name">
<cstring>kcfg_TextColor</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string></string>
</property>
</widget>
<widget class="KColorButton" row="2" column="1">
<property name="name">
<cstring>kcfg_BackgroundColor</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string></string>
</property>
</widget>
<widget class="QCheckBox" row="0" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>kcfg_CustomColor</cstring>
</property>
<property name="text">
<string>Use &custom colors</string>
</property>
</widget>
<widget class="QLabel" row="1" column="0">
<property name="name">
<cstring>textLabel1</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>&Foreground color:</string>
</property>
<property name="buddy" stdset="0">
<cstring>kcfg_TextColor</cstring>
</property>
</widget>
<widget class="QLabel" row="2" column="0">
<property name="name">
<cstring>textLabel2</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>&Background color:</string>
</property>
<property name="buddy" stdset="0">
<cstring>kcfg_BackgroundColor</cstring>
</property>
</widget>
</grid>
</widget>
<connections>
<connection>
<sender>kcfg_CustomColor</sender>
<signal>toggled(bool)</signal>
<receiver>textLabel1</receiver>
<slot>setEnabled(bool)</slot>
</connection>
<connection>
<sender>kcfg_CustomColor</sender>
<signal>toggled(bool)</signal>
<receiver>textLabel2</receiver>
<slot>setEnabled(bool)</slot>
</connection>
<connection>
<sender>kcfg_CustomColor</sender>
<signal>toggled(bool)</signal>
<receiver>kcfg_TextColor</receiver>
<slot>setEnabled(bool)</slot>
</connection>
<connection>
<sender>kcfg_CustomColor</sender>
<signal>toggled(bool)</signal>
<receiver>kcfg_BackgroundColor</receiver>
<slot>setEnabled(bool)</slot>
</connection>
</connections>
<layoutdefaults spacing="6" margin="11"/>
<includehints>
<includehint>kcolorbutton.h</includehint>
</includehints>
</UI>
|