Mercurial > system76-keyboard-colors
view 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 |
line wrap: on
line source
<?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.22.2 --> <interface> <requires lib="gtk+" version="3.0"/> <object class="GtkBox" id="add_profile_button_contents"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="spacing">7</property> <child> <object class="GtkImage"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="halign">end</property> <property name="stock">gtk-add</property> </object> <packing> <property name="expand">True</property> <property name="fill">True</property> <property name="position">0</property> </packing> </child> <child> <object class="GtkLabel"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="halign">start</property> <property name="label" translatable="yes">Add color profile</property> </object> <packing> <property name="expand">True</property> <property name="fill">True</property> <property name="pack_type">end</property> <property name="position">1</property> </packing> </child> </object> <object class="GtkListStore" id="color_profile_list_store"> <columns> <!-- column-name id --> <column type="gchararray"/> <!-- column-name name --> <column type="gchararray"/> </columns> <data> <row> <col id="0" translatable="yes">1-2-3</col> <col id="1" translatable="yes">test name</col> </row> </data> </object> <object class="GtkApplicationWindow" id="main_window"> <property name="width_request">600</property> <property name="height_request">400</property> <property name="can_focus">False</property> <property name="has_resize_grip">True</property> <child type="titlebar"> <placeholder/> </child> <child> <object class="GtkBox"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="orientation">vertical</property> <child> <object class="GtkBox" id="keyboard_section"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="spacing">5</property> <property name="homogeneous">True</property> <child> <placeholder/> </child> </object> <packing> <property name="expand">False</property> <property name="fill">True</property> <property name="position">0</property> </packing> </child> <child> <object class="GtkPaned"> <property name="visible">True</property> <property name="can_focus">True</property> <child> <object class="GtkBox" id="profile_pane"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="orientation">vertical</property> <child> <object class="GtkTreeView" id="profile_tree_view"> <property name="visible">True</property> <property name="can_focus">True</property> <property name="hexpand">False</property> <property name="vexpand">False</property> <property name="model">color_profile_list_store</property> <child internal-child="selection"> <object class="GtkTreeSelection"/> </child> <child> <object class="GtkTreeViewColumn"> <property name="title" translatable="yes">Color profile</property> <child> <object class="GtkCellRendererText" id="name"/> <attributes> <attribute name="text">1</attribute> </attributes> </child> </object> </child> </object> <packing> <property name="expand">False</property> <property name="fill">True</property> <property name="position">0</property> </packing> </child> <child> <placeholder/> </child> </object> <packing> <property name="resize">False</property> <property name="shrink">True</property> </packing> </child> <child> <object class="GtkFrame"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="label_xalign">0</property> <property name="shadow_type">in</property> <child> <object class="GtkBox" id="edit_profile_box"> <property name="can_focus">False</property> <property name="no_show_all">True</property> <property name="margin_left">10</property> <property name="margin_right">10</property> <property name="margin_top">10</property> <property name="margin_bottom">10</property> <property name="orientation">vertical</property> <child> <object class="GtkGrid"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="halign">center</property> <property name="column_spacing">9</property> <property name="row_homogeneous">True</property> <property name="column_homogeneous">True</property> <child> <object class="GtkLabel" id="edit_profile_type_label"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="halign">end</property> <property name="margin_right">1</property> <property name="label" translatable="yes">Type</property> </object> <packing> <property name="left_attach">0</property> <property name="top_attach">0</property> </packing> </child> <child> <object class="GtkLabel" id="edit_profile_name_label"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="halign">end</property> <property name="label" translatable="yes">Name</property> </object> <packing> <property name="left_attach">0</property> <property name="top_attach">1</property> </packing> </child> <child> <object class="GtkLabel" id="edit_profile_type_name_label"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="halign">start</property> </object> <packing> <property name="left_attach">1</property> <property name="top_attach">0</property> </packing> </child> <child> <object class="GtkEntry" id="edit_profile_name_entry"> <property name="visible">True</property> <property name="can_focus">True</property> <signal name="changed" handler="edit_profile_name_changed" swapped="no"/> <signal name="focus-out-event" handler="edit_profile_name_entry_focus_out" swapped="no"/> </object> <packing> <property name="left_attach">1</property> <property name="top_attach">1</property> </packing> </child> </object> <packing> <property name="expand">False</property> <property name="fill">True</property> <property name="position">0</property> </packing> </child> <child> <object class="GtkBox" id="edit_profile_details_box"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="orientation">vertical</property> <child> <placeholder/> </child> </object> <packing> <property name="expand">True</property> <property name="fill">True</property> <property name="position">1</property> </packing> </child> <child> <object class="GtkButtonBox"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="homogeneous">True</property> <property name="layout_style">start</property> <child> <object class="GtkButton" id="delete_profile_button"> <property name="label">gtk-delete</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> <property name="use_stock">True</property> <style> <class name="destructive-action"/> </style> </object> <packing> <property name="expand">True</property> <property name="fill">True</property> <property name="position">0</property> </packing> </child> </object> <packing> <property name="expand">False</property> <property name="fill">True</property> <property name="position">2</property> </packing> </child> </object> </child> <child type="label_item"> <placeholder/> </child> </object> <packing> <property name="resize">True</property> <property name="shrink">True</property> </packing> </child> </object> <packing> <property name="expand">True</property> <property name="fill">True</property> <property name="position">1</property> </packing> </child> </object> </child> </object> </interface>