diff options
author | Matthias Vogelgesang <matthias.vogelgesang@gmail.com> | 2012-04-16 17:00:00 +0200 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@gmail.com> | 2012-04-16 17:00:00 +0200 |
commit | 0b5838e40bed5b175f7703b788eae361e2ca8177 (patch) | |
tree | ac3ad5e3c143de0c1c2d7148eba80b5d3eb6d1ab /test/control.glade | |
parent | 3ffc19bbe6a399654e642ed7941cb81ed23f6920 (diff) | |
download | libuca-0b5838e40bed5b175f7703b788eae361e2ca8177.tar.gz libuca-0b5838e40bed5b175f7703b788eae361e2ca8177.tar.bz2 libuca-0b5838e40bed5b175f7703b788eae361e2ca8177.tar.xz libuca-0b5838e40bed5b175f7703b788eae361e2ca8177.zip |
Implement property editing
Diffstat (limited to 'test/control.glade')
-rw-r--r-- | test/control.glade | 68 |
1 files changed, 12 insertions, 56 deletions
diff --git a/test/control.glade b/test/control.glade index eeeeaaf..bee9323 100644 --- a/test/control.glade +++ b/test/control.glade @@ -2,28 +2,24 @@ <interface> <requires lib="gtk+" version="2.20"/> <!-- interface-naming-policy project-wide --> - <object class="GtkTreeStore" id="cameraproperties"> + <object class="GtkListStore" id="camera-types"> <columns> - <!-- column-name PropertyName --> - <column type="gchararray"/> - <!-- column-name PropertyValue --> - <column type="gchararray"/> - <!-- column-name PropertyUnit --> + <!-- column-name name --> <column type="gchararray"/> - <!-- column-name PropertyUCA --> - <column type="guint"/> </columns> </object> - <object class="GtkListStore" id="camera-types"> + <object class="GtkListStore" id="camera-properties"> <columns> - <!-- column-name name --> + <!-- column-name PropertyName --> + <column type="gchararray"/> + <!-- column-name PropertyValue --> <column type="gchararray"/> </columns> </object> <object class="GtkWindow" id="window"> <property name="title" translatable="yes">Camera Control</property> - <property name="default_width">800</property> - <property name="default_height">600</property> + <property name="default_width">1024</property> + <property name="default_height">768</property> <signal name="delete_event" handler="on_delete_event"/> <child> <object class="GtkVBox" id="vbox1"> @@ -198,10 +194,10 @@ <property name="hscrollbar_policy">automatic</property> <property name="vscrollbar_policy">automatic</property> <child> - <object class="GtkTreeView" id="treeview"> + <object class="GtkTreeView" id="treeview-properties"> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="model">cameraproperties</property> + <property name="model">camera-properties</property> <property name="headers_clickable">False</property> <property name="search_column">0</property> <child> @@ -226,17 +222,6 @@ </child> </object> </child> - <child> - <object class="GtkTreeViewColumn" id="unitcolumn"> - <property name="title">Unit</property> - <child> - <object class="GtkCellRendererText" id="unitcell"/> - <attributes> - <attribute name="text">2</attribute> - </attributes> - </child> - </object> - </child> </object> </child> </object> @@ -314,6 +299,7 @@ <property name="page_increment">10</property> </object> <object class="GtkWindow" id="choice-window"> + <property name="border_width">6</property> <child> <object class="GtkVBox" id="vbox3"> <property name="visible">True</property> @@ -325,7 +311,7 @@ <property name="model">camera-types</property> <child> <object class="GtkTreeViewColumn" id="treeviewcolumn1"> - <property name="title">column</property> + <property name="title">Choose camera</property> <child> <object class="GtkCellRendererText" id="cellrenderertext1"/> <attributes> @@ -383,34 +369,4 @@ </object> </child> </object> - <object class="GtkDialog" id="dialog1"> - <property name="border_width">5</property> - <property name="type_hint">normal</property> - <child internal-child="vbox"> - <object class="GtkVBox" id="dialog-vbox2"> - <property name="visible">True</property> - <property name="spacing">2</property> - <child> - <placeholder/> - </child> - <child internal-child="action_area"> - <object class="GtkHButtonBox" id="dialog-action_area2"> - <property name="visible">True</property> - <property name="layout_style">end</property> - <child> - <placeholder/> - </child> - <child> - <placeholder/> - </child> - </object> - <packing> - <property name="expand">False</property> - <property name="pack_type">end</property> - <property name="position">0</property> - </packing> - </child> - </object> - </child> - </object> </interface> |