Sun, 12 Sep 2021 12:14:32 +0300
Moved automatic grid adjusting into a new action
95 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | <ui version="4.0"> | |
3 | <class>ColorSelectDialog</class> | |
4 | <widget class="QWidget" name="ColorSelectDialog"> | |
5 | <property name="geometry"> | |
6 | <rect> | |
7 | <x>0</x> | |
8 | <y>0</y> | |
9 | <width>750</width> | |
10 | <height>500</height> | |
11 | </rect> | |
12 | </property> | |
13 | <property name="minimumSize"> | |
14 | <size> | |
15 | <width>750</width> | |
16 | <height>500</height> | |
17 | </size> | |
18 | </property> | |
19 | <property name="windowTitle"> | |
20 | <string>Choose colour</string> | |
21 | </property> | |
22 | <layout class="QVBoxLayout" name="verticalLayout" stretch="1,0,0,0,0"> | |
23 | <item> | |
24 | <widget class="QScrollArea" name="scrollArea"> | |
25 | <property name="horizontalScrollBarPolicy"> | |
26 | <enum>Qt::ScrollBarAlwaysOff</enum> | |
27 | </property> | |
28 | <property name="widgetResizable"> | |
29 | <bool>true</bool> | |
30 | </property> | |
31 | <widget class="QWidget" name="widget"> | |
32 | <property name="geometry"> | |
33 | <rect> | |
34 | <x>0</x> | |
35 | <y>0</y> | |
36 | <width>732</width> | |
37 | <height>329</height> | |
38 | </rect> | |
39 | </property> | |
40 | <layout class="QGridLayout" name="gridLayout"> | |
41 | <item row="1" column="0"> | |
42 | <spacer name="verticalSpacer"> | |
43 | <property name="orientation"> | |
44 | <enum>Qt::Vertical</enum> | |
45 | </property> | |
46 | <property name="sizeHint" stdset="0"> | |
47 | <size> | |
48 | <width>20</width> | |
49 | <height>40</height> | |
50 | </size> | |
51 | </property> | |
52 | </spacer> | |
53 | </item> | |
54 | <item row="0" column="0"> | |
55 | <widget class="QWidget" name="colorFrame" native="true"/> | |
56 | </item> | |
57 | </layout> | |
58 | </widget> | |
59 | </widget> | |
60 | </item> | |
61 | <item> | |
62 | <widget class="QLineEdit" name="filter"> | |
63 | <property name="placeholderText"> | |
64 | <string>Search...</string> | |
65 | </property> | |
66 | </widget> | |
67 | </item> | |
68 | <item> | |
69 | <widget class="QLabel" name="selectedColorName"> | |
70 | <property name="text"> | |
71 | <string>TextLabel</string> | |
72 | </property> | |
73 | <property name="alignment"> | |
74 | <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> | |
75 | </property> | |
76 | </widget> | |
77 | </item> | |
78 | <item> | |
79 | <layout class="QHBoxLayout" name="horizontalLayout_2"> | |
80 | <item> | |
81 | <spacer name="horizontalSpacer"> | |
82 | <property name="orientation"> | |
83 | <enum>Qt::Horizontal</enum> | |
84 | </property> | |
85 | <property name="sizeHint" stdset="0"> | |
86 | <size> | |
87 | <width>40</width> | |
88 | <height>20</height> | |
89 | </size> | |
90 | </property> | |
91 | </spacer> | |
92 | </item> | |
93 | <item> | |
94 | <layout class="QFormLayout" name="formLayout"> | |
95 | <item row="0" column="0"> | |
96 | <widget class="QLabel" name="label"> | |
97 | <property name="text"> | |
98 | <string>Colour index:</string> | |
99 | </property> | |
100 | </widget> | |
101 | </item> | |
102 | <item row="0" column="1"> | |
103 | <widget class="QSpinBox" name="colorIndex"> | |
104 | <property name="maximum"> | |
105 | <number>2147483647</number> | |
106 | </property> | |
107 | </widget> | |
108 | </item> | |
109 | <item row="1" column="1"> | |
110 | <widget class="QPushButton" name="directColorButton"> | |
111 | <property name="text"> | |
112 | <string>Direct colour...</string> | |
113 | </property> | |
114 | </widget> | |
115 | </item> | |
116 | </layout> | |
117 | </item> | |
118 | </layout> | |
119 | </item> | |
120 | <item> | |
121 | <widget class="QDialogButtonBox" name="buttonBox"> | |
122 | <property name="standardButtons"> | |
123 | <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> | |
124 | </property> | |
125 | </widget> | |
126 | </item> | |
127 | </layout> | |
128 | </widget> | |
129 | <resources/> | |
130 | <connections/> | |
131 | </ui> |