gtk2/gtk/inspector/recorder.ui
Benjamin Otte 91c71b10e6 inspector: Add a render node save button
Now we can select buggy nodes, save them to a file, and add that file to
our testsuite.
2016-12-23 08:11:00 +01:00

179 lines
7.7 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<interface domain="gtk40">
<object class="GListStore" id="recordings"/>
<template class="GtkInspectorRecorder" parent="GtkBin">
<child>
<object class="GtkBox">
<property name="visible">1</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkBox">
<property name="visible">1</property>
<property name="spacing">6</property>
<property name="margin">6</property>
<child>
<object class="GtkToggleButton">
<property name="visible">1</property>
<property name="relief">none</property>
<property name="icon-name">media-record-symbolic</property>
<property name="active" bind-source="GtkInspectorRecorder" bind-property="recording" bind-flags="bidirectional|sync-create"/>
</object>
</child>
<child>
<object class="GtkButton">
<property name="visible">1</property>
<property name="relief">none</property>
<property name="icon-name">edit-clear-all-symbolic</property>
<signal name="clicked" handler="recordings_clear_all"/>
</object>
</child>
<child type="center">
<object class="GtkStackSwitcher">
<property name="visible">1</property>
<property name="stack">render_stack</property>
</object>
</child>
<child>
<object class="GtkButton" id="render_node_save_button">
<property name="visible">1</property>
<property name="relief">none</property>
<property name="sensitive">0</property>
<property name="icon-name">document-save-as-symbolic</property>
<signal name="clicked" handler="render_node_save"/>
</object>
<packing>
<property name="pack-type">end</property>
</packing>
</child>
</object>
</child>
<child>
<object class="GtkBox">
<property name="visible">1</property>
<style>
<class name="view"/>
</style>
<child>
<object class="GtkFrame">
<property name="visible">1</property>
<child>
<object class="GtkScrolledWindow">
<property name="visible">1</property>
<property name="hscrollbar-policy">never</property>
<property name="propagate-natural-width">1</property>
<style>
<class name="sidebar"/>
</style>
<child>
<object class="GtkListBox" id="recordings_list">
<property name="visible">1</property>
<property name="vexpand">1</property>
<signal name="row-selected" handler="recordings_list_row_selected"/>
</object>
</child>
</object>
</child>
</object>
</child>
<child>
<object class="GtkFrame">
<property name="visible">1</property>
<child>
<object class="GtkScrolledWindow">
<property name="visible">1</property>
<property name="hscrollbar-policy">never</property>
<property name="propagate-natural-width">1</property>
<style>
<class name="sidebar"/>
</style>
<child>
<object class="GtkTreeView" id="render_node_tree">
<property name="visible">1</property>
<property name="vexpand">1</property>
<property name="search-column">0</property>
<property name="enable-search">0</property>
<property name="headers-visible">0</property>
<child internal-child="selection">
<object class="GtkTreeSelection">
<signal name="changed" handler="render_node_list_selection_changed"/>
</object>
</child>
<child>
<object class="GtkTreeViewColumn" id="render_node_name_column">
<property name="resizable">1</property>
<child>
<object class="GtkCellRendererText"/>
<attributes>
<attribute name="text">0</attribute>
</attributes>
</child>
</object>
</child>
</object>
</child>
</object>
</child>
</object>
</child>
<child>
<object class="GtkFrame">
<property name="visible">True</property>
<child>
<object class="GtkStack" id="render_stack">
<property name="visible">True</property>
<child>
<object class="GtkRenderNodeView" id="render_node_view">
<property name="visible">True</property>
<property name="expand">True</property>
</object>
<packing>
<property name="name">render</property>
<property name="title">Render</property>
</packing>
</child>
<child>
<object class="GtkTreeView" id="node_property_tree">
<property name="visible">True</property>
<child>
<object class="GtkTreeViewColumn">
<property name="title">Property</property>
<child>
<object class="GtkCellRendererText">
<property name="yalign">0</property>
</object>
<attributes>
<attribute name="text">0</attribute>
</attributes>
</child>
</object>
</child>
<child>
<object class="GtkTreeViewColumn">
<property name="title">Value</property>
<child>
<object class="GtkCellRendererText">
<property name="yalign">0</property>
</object>
<attributes>
<attribute name="text">1</attribute>
</attributes>
</child>
</object>
</child>
</object>
<packing>
<property name="name">properties</property>
<property name="title">Properties</property>
</packing>
</child>
</object>
</child>
</object>
</child>
</object>
</child>
</object>
</child>
</template>
</interface>