diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2021-01-06 15:58:13 +0900 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2021-01-13 11:59:01 +0100 |
commit | 9bbf7a1a1029f780e569b5e8df79e86ba5b8c88e (patch) | |
tree | d170c90f6399c21382bbaa388fe03a4e5f51f811 /svx/uiconfig | |
parent | fcd96df8f648439ea191d8c2070e8b21ff0b1001 (diff) |
devtools: Add treeview with content of current object
Change-Id: I8d6dd035e60a7521c404e23045fade7eae47fc6c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108975
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'svx/uiconfig')
-rw-r--r-- | svx/uiconfig/ui/developmenttool.ui | 100 |
1 files changed, 93 insertions, 7 deletions
diff --git a/svx/uiconfig/ui/developmenttool.ui b/svx/uiconfig/ui/developmenttool.ui index 6bb0d69a339c..0a7670f4b94e 100644 --- a/svx/uiconfig/ui/developmenttool.ui +++ b/svx/uiconfig/ui/developmenttool.ui @@ -2,24 +2,110 @@ <!-- Generated with glade 3.38.2 --> <interface domain="svx"> <requires lib="gtk+" version="3.20"/> - <!-- n-columns=1 n-rows=1 --> + <object class="GtkTreeStore" id="liststore"> + <columns> + <!-- column-name text1 --> + <column type="gchararray"/> + <!-- column-name text2 --> + <column type="gchararray"/> + </columns> + </object> + <!-- n-columns=2 n-rows=2 --> <object class="GtkGrid" id="DevelopmentTool"> <property name="visible">True</property> <property name="can-focus">False</property> - <property name="hexpand">True</property> - <property name="vexpand">True</property> - <property name="row-spacing">24</property> + <property name="halign">baseline</property> + <property name="row-spacing">6</property> + <property name="column-spacing">6</property> + <child> + <object class="GtkLabel" id="class_name_label"> + <property name="visible">True</property> + <property name="can-focus">False</property> + <property name="hexpand">False</property> + <property name="vexpand">False</property> + <property name="label" translatable="yes" context="developmenttool|classname">Class name:</property> + <accessibility> + <relation type="label-for" target="class_name_value_id"/> + </accessibility> + </object> + <packing> + <property name="left-attach">0</property> + <property name="top-attach">0</property> + </packing> + </child> <child> - <object class="GtkLabel"> + <object class="GtkLabel" id="class_name_value_id"> + <property name="name">class_name_id</property> <property name="visible">True</property> <property name="can-focus">False</property> <property name="hexpand">True</property> + <property name="selectable">True</property> + <accessibility> + <relation type="labelled-by" target="class_name_label"/> + </accessibility> + </object> + <packing> + <property name="left-attach">1</property> + <property name="top-attach">0</property> + </packing> + </child> + <child> + <object class="GtkScrolledWindow"> + <property name="visible">True</property> + <property name="can-focus">True</property> + <property name="hexpand">True</property> <property name="vexpand">True</property> - <property name="label" translatable="no">Test</property> + <property name="shadow-type">in</property> + <child> + <object class="GtkTreeView" id="class_listbox_id"> + <property name="visible">True</property> + <property name="can-focus">True</property> + <property name="receives-default">True</property> + <property name="hexpand">True</property> + <property name="vexpand">True</property> + <property name="model">liststore</property> + <property name="search-column">0</property> + <property name="enable-tree-lines">True</property> + <child internal-child="selection"> + <object class="GtkTreeSelection"/> + </child> + <child> + <object class="GtkTreeViewColumn" id="treeviewcolumn1"> + <property name="resizable">True</property> + <property name="title" translatable="yes" context="developmenttool|class">Class</property> + <child> + <object class="GtkCellRendererText" id="cellrenderertext1"> + <property name="ellipsize">end</property> + </object> + <attributes> + <attribute name="sensitive">5</attribute> + <attribute name="text">0</attribute> + <attribute name="weight">3</attribute> + </attributes> + </child> + </object> + </child> + <child> + <object class="GtkTreeViewColumn" id="treeviewcolumn2"> + <property name="resizable">True</property> + <property name="title" translatable="yes" context="developmenttool|value">X</property> + <child> + <object class="GtkCellRendererText" id="cellrenderertext2"/> + <attributes> + <attribute name="sensitive">6</attribute> + <attribute name="text">1</attribute> + <attribute name="weight">4</attribute> + </attributes> + </child> + </object> + </child> + </object> + </child> </object> <packing> <property name="left-attach">0</property> - <property name="top-attach">0</property> + <property name="top-attach">1</property> + <property name="width">2</property> </packing> </child> </object> |