diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2021-03-05 22:28:40 +0900 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2021-03-12 16:03:58 +0100 |
commit | 8d1888fca3147520c6f049ba4335932f69caf358 (patch) | |
tree | 3758414cf8e613e988b36db8d0c936a9342fb277 /sfx2/uiconfig | |
parent | 9f72f662d7ac2fbd5131ecf65be93aa001b720c9 (diff) |
devtools: new column "Info" for properties in object inspector
Adds additional column "info" for properties, where additional
property attributes are written. Currently these are mostly
constants from beans::PropertyAttribute, but they can be others
too (anything that is useful to the users for the current property,
struct, sequence).
Change-Id: I12d21ebdfb9352bca79def98d5aa65aa48cfe2aa
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112117
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'sfx2/uiconfig')
-rw-r--r-- | sfx2/uiconfig/ui/developmenttool.ui | 22 |
1 files changed, 18 insertions, 4 deletions
diff --git a/sfx2/uiconfig/ui/developmenttool.ui b/sfx2/uiconfig/ui/developmenttool.ui index 8326083cde5a..22c1f5f315f1 100644 --- a/sfx2/uiconfig/ui/developmenttool.ui +++ b/sfx2/uiconfig/ui/developmenttool.ui @@ -40,6 +40,8 @@ <column type="gchararray"/> <!-- column-name type --> <column type="gchararray"/> + <!-- column-name info --> + <column type="gchararray"/> <!-- column-name id --> <column type="gchararray"/> </columns> @@ -218,7 +220,7 @@ <object class="GtkTreeSelection"/> </child> <child> - <object class="GtkTreeViewColumn" id="treeviewcolumn7"> + <object class="GtkTreeViewColumn" id="services_treeviewcolumn1"> <property name="resizable">True</property> <property name="title" translatable="yes" context="developmenttool|name">Name</property> <child> @@ -268,7 +270,7 @@ <object class="GtkTreeSelection"/> </child> <child> - <object class="GtkTreeViewColumn" id="treeviewcolumn1"> + <object class="GtkTreeViewColumn" id="properties_treeviewcolumn1"> <property name="resizable">True</property> <property name="title" translatable="yes" context="developmenttool|object">Object</property> <child> @@ -280,7 +282,7 @@ </object> </child> <child> - <object class="GtkTreeViewColumn" id="treeviewcolumn2"> + <object class="GtkTreeViewColumn" id="properties_treeviewcolumn2"> <property name="resizable">True</property> <property name="title" translatable="yes" context="developmenttool|value">Value</property> <child> @@ -292,7 +294,7 @@ </object> </child> <child> - <object class="GtkTreeViewColumn" id="treeviewcolumn3"> + <object class="GtkTreeViewColumn" id="properties_treeviewcolumn3"> <property name="resizable">True</property> <property name="title" translatable="yes" context="developmenttool|type">Type</property> <child> @@ -303,6 +305,18 @@ </child> </object> </child> + <child> + <object class="GtkTreeViewColumn" id="properties_treeviewcolumn4"> + <property name="resizable">True</property> + <property name="title" translatable="yes" context="developmenttool|info">Info</property> + <child> + <object class="GtkCellRendererText" id="obj_insp_cellrenderertext5"/> + <attributes> + <attribute name="text">3</attribute> + </attributes> + </child> + </object> + </child> </object> </child> </object> |