Mercurial > system76-keyboard-colors
comparison ui/MainWindow.glade @ 0:11a9d346aa7a
Sort of working model
author | Brad Greco <brad@bgreco.net> |
---|---|
date | Wed, 27 Jan 2021 21:02:30 -0500 |
parents | |
children | 091a1f59a79c |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:11a9d346aa7a |
---|---|
1 <?xml version="1.0" encoding="UTF-8"?> | |
2 <!-- Generated with glade 3.22.2 --> | |
3 <interface> | |
4 <requires lib="gtk+" version="3.0"/> | |
5 <object class="GtkBox" id="add_profile_button_contents"> | |
6 <property name="visible">True</property> | |
7 <property name="can_focus">False</property> | |
8 <property name="spacing">7</property> | |
9 <child> | |
10 <object class="GtkImage"> | |
11 <property name="visible">True</property> | |
12 <property name="can_focus">False</property> | |
13 <property name="halign">end</property> | |
14 <property name="stock">gtk-add</property> | |
15 </object> | |
16 <packing> | |
17 <property name="expand">True</property> | |
18 <property name="fill">True</property> | |
19 <property name="position">0</property> | |
20 </packing> | |
21 </child> | |
22 <child> | |
23 <object class="GtkLabel"> | |
24 <property name="visible">True</property> | |
25 <property name="can_focus">False</property> | |
26 <property name="halign">start</property> | |
27 <property name="label" translatable="yes">Add color profile</property> | |
28 </object> | |
29 <packing> | |
30 <property name="expand">True</property> | |
31 <property name="fill">True</property> | |
32 <property name="pack_type">end</property> | |
33 <property name="position">1</property> | |
34 </packing> | |
35 </child> | |
36 </object> | |
37 <object class="GtkListStore" id="color_profile_list_store"> | |
38 <columns> | |
39 <!-- column-name id --> | |
40 <column type="gchararray"/> | |
41 <!-- column-name name --> | |
42 <column type="gchararray"/> | |
43 </columns> | |
44 <data> | |
45 <row> | |
46 <col id="0" translatable="yes">1-2-3</col> | |
47 <col id="1" translatable="yes">test name</col> | |
48 </row> | |
49 </data> | |
50 </object> | |
51 <object class="GtkApplicationWindow" id="main_window"> | |
52 <property name="width_request">600</property> | |
53 <property name="height_request">400</property> | |
54 <property name="can_focus">False</property> | |
55 <property name="has_resize_grip">True</property> | |
56 <child type="titlebar"> | |
57 <placeholder/> | |
58 </child> | |
59 <child> | |
60 <object class="GtkBox"> | |
61 <property name="visible">True</property> | |
62 <property name="can_focus">False</property> | |
63 <property name="orientation">vertical</property> | |
64 <child> | |
65 <object class="GtkBox" id="keyboard_section"> | |
66 <property name="visible">True</property> | |
67 <property name="can_focus">False</property> | |
68 <property name="spacing">5</property> | |
69 <property name="homogeneous">True</property> | |
70 <child> | |
71 <placeholder/> | |
72 </child> | |
73 </object> | |
74 <packing> | |
75 <property name="expand">False</property> | |
76 <property name="fill">True</property> | |
77 <property name="position">0</property> | |
78 </packing> | |
79 </child> | |
80 <child> | |
81 <object class="GtkPaned"> | |
82 <property name="visible">True</property> | |
83 <property name="can_focus">True</property> | |
84 <child> | |
85 <object class="GtkBox" id="profile_pane"> | |
86 <property name="visible">True</property> | |
87 <property name="can_focus">False</property> | |
88 <property name="orientation">vertical</property> | |
89 <child> | |
90 <object class="GtkTreeView" id="profile_tree_view"> | |
91 <property name="visible">True</property> | |
92 <property name="can_focus">True</property> | |
93 <property name="hexpand">False</property> | |
94 <property name="vexpand">False</property> | |
95 <property name="model">color_profile_list_store</property> | |
96 <child internal-child="selection"> | |
97 <object class="GtkTreeSelection"/> | |
98 </child> | |
99 <child> | |
100 <object class="GtkTreeViewColumn"> | |
101 <property name="title" translatable="yes">Color profile</property> | |
102 <child> | |
103 <object class="GtkCellRendererText" id="name"/> | |
104 <attributes> | |
105 <attribute name="text">1</attribute> | |
106 </attributes> | |
107 </child> | |
108 </object> | |
109 </child> | |
110 </object> | |
111 <packing> | |
112 <property name="expand">False</property> | |
113 <property name="fill">True</property> | |
114 <property name="position">0</property> | |
115 </packing> | |
116 </child> | |
117 <child> | |
118 <placeholder/> | |
119 </child> | |
120 </object> | |
121 <packing> | |
122 <property name="resize">False</property> | |
123 <property name="shrink">True</property> | |
124 </packing> | |
125 </child> | |
126 <child> | |
127 <object class="GtkFrame"> | |
128 <property name="visible">True</property> | |
129 <property name="can_focus">False</property> | |
130 <property name="label_xalign">0</property> | |
131 <property name="shadow_type">in</property> | |
132 <child> | |
133 <object class="GtkBox" id="edit_profile_box"> | |
134 <property name="can_focus">False</property> | |
135 <property name="no_show_all">True</property> | |
136 <property name="margin_left">10</property> | |
137 <property name="margin_right">10</property> | |
138 <property name="margin_top">10</property> | |
139 <property name="margin_bottom">10</property> | |
140 <property name="orientation">vertical</property> | |
141 <child> | |
142 <object class="GtkGrid"> | |
143 <property name="visible">True</property> | |
144 <property name="can_focus">False</property> | |
145 <property name="halign">center</property> | |
146 <property name="column_spacing">9</property> | |
147 <property name="row_homogeneous">True</property> | |
148 <property name="column_homogeneous">True</property> | |
149 <child> | |
150 <object class="GtkLabel" id="edit_profile_type_label"> | |
151 <property name="visible">True</property> | |
152 <property name="can_focus">False</property> | |
153 <property name="halign">end</property> | |
154 <property name="margin_right">1</property> | |
155 <property name="label" translatable="yes">Type</property> | |
156 </object> | |
157 <packing> | |
158 <property name="left_attach">0</property> | |
159 <property name="top_attach">0</property> | |
160 </packing> | |
161 </child> | |
162 <child> | |
163 <object class="GtkLabel" id="edit_profile_name_label"> | |
164 <property name="visible">True</property> | |
165 <property name="can_focus">False</property> | |
166 <property name="halign">end</property> | |
167 <property name="label" translatable="yes">Name</property> | |
168 </object> | |
169 <packing> | |
170 <property name="left_attach">0</property> | |
171 <property name="top_attach">1</property> | |
172 </packing> | |
173 </child> | |
174 <child> | |
175 <object class="GtkLabel" id="edit_profile_type_name_label"> | |
176 <property name="visible">True</property> | |
177 <property name="can_focus">False</property> | |
178 <property name="halign">start</property> | |
179 </object> | |
180 <packing> | |
181 <property name="left_attach">1</property> | |
182 <property name="top_attach">0</property> | |
183 </packing> | |
184 </child> | |
185 <child> | |
186 <object class="GtkEntry" id="edit_profile_name_entry"> | |
187 <property name="visible">True</property> | |
188 <property name="can_focus">True</property> | |
189 <signal name="changed" handler="edit_profile_name_changed" swapped="no"/> | |
190 <signal name="focus-out-event" handler="edit_profile_name_entry_focus_out" swapped="no"/> | |
191 </object> | |
192 <packing> | |
193 <property name="left_attach">1</property> | |
194 <property name="top_attach">1</property> | |
195 </packing> | |
196 </child> | |
197 </object> | |
198 <packing> | |
199 <property name="expand">False</property> | |
200 <property name="fill">True</property> | |
201 <property name="position">0</property> | |
202 </packing> | |
203 </child> | |
204 <child> | |
205 <object class="GtkBox" id="edit_profile_details_box"> | |
206 <property name="visible">True</property> | |
207 <property name="can_focus">False</property> | |
208 <property name="orientation">vertical</property> | |
209 <child> | |
210 <placeholder/> | |
211 </child> | |
212 </object> | |
213 <packing> | |
214 <property name="expand">True</property> | |
215 <property name="fill">True</property> | |
216 <property name="position">1</property> | |
217 </packing> | |
218 </child> | |
219 <child> | |
220 <object class="GtkButtonBox"> | |
221 <property name="visible">True</property> | |
222 <property name="can_focus">False</property> | |
223 <property name="homogeneous">True</property> | |
224 <property name="layout_style">start</property> | |
225 <child> | |
226 <object class="GtkButton" id="delete_profile_button"> | |
227 <property name="label">gtk-delete</property> | |
228 <property name="visible">True</property> | |
229 <property name="can_focus">True</property> | |
230 <property name="receives_default">True</property> | |
231 <property name="use_stock">True</property> | |
232 <style> | |
233 <class name="destructive-action"/> | |
234 </style> | |
235 </object> | |
236 <packing> | |
237 <property name="expand">True</property> | |
238 <property name="fill">True</property> | |
239 <property name="position">0</property> | |
240 </packing> | |
241 </child> | |
242 </object> | |
243 <packing> | |
244 <property name="expand">False</property> | |
245 <property name="fill">True</property> | |
246 <property name="position">2</property> | |
247 </packing> | |
248 </child> | |
249 </object> | |
250 </child> | |
251 <child type="label_item"> | |
252 <placeholder/> | |
253 </child> | |
254 </object> | |
255 <packing> | |
256 <property name="resize">True</property> | |
257 <property name="shrink">True</property> | |
258 </packing> | |
259 </child> | |
260 </object> | |
261 <packing> | |
262 <property name="expand">True</property> | |
263 <property name="fill">True</property> | |
264 <property name="position">1</property> | |
265 </packing> | |
266 </child> | |
267 </object> | |
268 </child> | |
269 </object> | |
270 </interface> |