mirror of
https://gitlab.freedesktop.org/dabrain34/GstPipelineStudio.git
synced 2024-06-06 09:49:21 +00:00
9b768b7d56
The user can now see the position and duration of the playback The slider can now seek to the given position.
319 lines
13 KiB
XML
319 lines
13 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface>
|
|
<requires lib="gtk" version="4.0"/>
|
|
<menu id="primary_menu">
|
|
<section>
|
|
<item>
|
|
<attribute name="label" translatable="yes" comments="Primary menu entry that opens a new window.">_New Window</attribute>
|
|
<attribute name="action">app.new-window</attribute>
|
|
<attribute name="accel"><primary>n</attribute>
|
|
</item>
|
|
<item>
|
|
<attribute name="label" translatable="yes" comments="Primary menu entry that opens the graph">_Open</attribute>
|
|
<attribute name="action">app.open</attribute>
|
|
<attribute name="accel"><primary>n</attribute>
|
|
</item>
|
|
<item>
|
|
<attribute name="label" translatable="yes" comments="Primary menu entry that saves the graph">_Save As</attribute>
|
|
<attribute name="action">app.save_as</attribute>
|
|
<attribute name="accel"><primary>n</attribute>
|
|
</item>
|
|
<item>
|
|
<attribute name="label" translatable="yes" comments="Primary menu entry that opens the About dialog.">_About GstPipelineStudio</attribute>
|
|
<attribute name="action">app.about</attribute>
|
|
</item>
|
|
<item>
|
|
<attribute name="label" translatable="yes" comments="Primary menu entry that quit app">_Quit GstPipelineStudio</attribute>
|
|
<attribute name="action">app.quit</attribute>
|
|
</item>
|
|
</section>
|
|
</menu>
|
|
<menu id="port_menu">
|
|
<section>
|
|
<item>
|
|
<attribute name="label" translatable="yes" comments="port menu entry delete the link">_Delete</attribute>
|
|
<attribute name="action">app.port.delete</attribute>
|
|
</item>
|
|
</section>
|
|
</menu>
|
|
<menu id="graph_menu">
|
|
<section>
|
|
<item>
|
|
<attribute name="label" translatable="yes" comments="graph menu entry check graph">_Check graph</attribute>
|
|
<attribute name="action">app.graph.check</attribute>
|
|
</item>
|
|
</section>
|
|
</menu>
|
|
<menu id="fav_menu">
|
|
<section>
|
|
<item>
|
|
<attribute name="label" translatable="yes" comments="favorite menu entry delete the favorite">_Remove favorite</attribute>
|
|
<attribute name="action">app.favorite.remove</attribute>
|
|
</item>
|
|
</section>
|
|
</menu>
|
|
<menu id="node_menu">
|
|
<section>
|
|
<item>
|
|
<attribute name="label" translatable="yes" comments="Node menu entry delete the element">_Delete node</attribute>
|
|
<attribute name="action">app.delete</attribute>
|
|
</item>
|
|
<submenu>
|
|
<attribute name="label" translatable="yes" comments="Node menu entry request pad">_Request pad</attribute>
|
|
<item>
|
|
<attribute name="label" translatable="yes" comments="Node menu entry request pad">_Request input pad</attribute>
|
|
<attribute name="action">app.node.request-pad-input</attribute>
|
|
<attribute name="accel"><primary>n</attribute>
|
|
</item>
|
|
<item>
|
|
<attribute name="label" translatable="yes" comments="Node menu entry request pad">_Request output pad</attribute>
|
|
<attribute name="action">app.node.request-pad-output</attribute>
|
|
<attribute name="accel"><primary>n</attribute>
|
|
</item>
|
|
</submenu>
|
|
<item>
|
|
<attribute name="label" translatable="yes" comments="Node menu entry request pad">_Properties</attribute>
|
|
<attribute name="action">app.node.properties</attribute>
|
|
<attribute name="accel"><primary>n</attribute>
|
|
</item>
|
|
<item>
|
|
<attribute name="label" translatable="yes" comments="Node menu entry add to favorite">_Add to favorite</attribute>
|
|
<attribute name="action">app.node.add-to-favorite</attribute>
|
|
<attribute name="accel"><primary>A</attribute>
|
|
</item>
|
|
</section>
|
|
</menu>
|
|
<object class="GtkPopoverMenu" id="app_pop_menu">
|
|
</object>
|
|
<object class="GtkAdjustment" id="scale_adjustment">
|
|
<property name="upper">100</property>
|
|
<property name="step-increment">1</property>
|
|
<property name="page-increment">10</property>
|
|
</object>
|
|
<object class="GtkDialog" id="dialog-plugin-properties">
|
|
<property name="transient-for">mainwindow</property>
|
|
<property name="default-width">320</property>
|
|
<property name="default-height">260</property>
|
|
<property name="hide-on-close">True</property>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="orientation">vertical</property>
|
|
<child>
|
|
<object class="GtkScrolledWindow">
|
|
<property name="hexpand">True</property>
|
|
<property name="vexpand">True</property>
|
|
<child>
|
|
<object class="GtkBox" id="box-plugin-properties">
|
|
<property name="orientation">vertical</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkButton" id="button-apply-plugin-properties">
|
|
<property name="halign">end</property>
|
|
<property name="hexpand">1</property>
|
|
<property name="receives-default">1</property>
|
|
<property name="label" translatable="yes">apply</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<object class="GtkApplicationWindow" id="mainwindow">
|
|
<property name="title" translatable="yes">GstPipelineStudio</property>
|
|
<property name="default-width">800</property>
|
|
<property name="default-height">600</property>
|
|
<child type="titlebar">
|
|
<object class="GtkHeaderBar" id="header-bar">
|
|
<child type="start">
|
|
<object class="GtkMenuButton" id="gear_menu_button">
|
|
<property name="valign">3</property>
|
|
<property name="focus-on-click">0</property>
|
|
<property name="popover">
|
|
<object class="GtkPopoverMenu" id="gear_menu">
|
|
<property name="menu-model">primary_menu</property>
|
|
</object>
|
|
</property>
|
|
<property name="icon-name">open-menu-symbolic</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="orientation">vertical</property>
|
|
<property name="spacing">1</property>
|
|
<child>
|
|
<object class="GtkPaned">
|
|
<property name="vexpand">0</property>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<child>
|
|
<object class="GtkButton" id="button-play">
|
|
<property name="hexpand">1</property>
|
|
<property name="receives-default">1</property>
|
|
<property name="icon-name">media-playback-start-symbolic</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkButton" id="button-pause">
|
|
<property name="hexpand">1</property>
|
|
<property name="receives-default">1</property>
|
|
<property name="icon-name">media-playback-pause-symbolic</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkButton" id="button-stop">
|
|
<property name="hexpand">1</property>
|
|
<property name="receives-default">1</property>
|
|
<property name="icon-name">media-playback-stop-symbolic</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkButton" id="button-clear">
|
|
<property name="hexpand">1</property>
|
|
<property name="receives-default">1</property>
|
|
<property name="icon-name">edit-clear</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="label-position">
|
|
<property name="label" translatable="yes">xx:xx:xx</property>
|
|
<property name="hexpand">1</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkScale" id="scale-position">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">True</property>
|
|
<property name="adjustment">scale_adjustment</property>
|
|
<property name="round-digits">1</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
|
|
<!--Graph and DashBoard paned-->
|
|
<child>
|
|
<object class="GtkPaned" id="graph_dashboard-paned">
|
|
<property name="position">600</property>
|
|
<property name="position-set">True</property>
|
|
<property name="hexpand">True</property>
|
|
<property name="vexpand">True</property>
|
|
<child>
|
|
<!--Graph and Logs paned-->
|
|
<object class="GtkPaned" id="graph_logs-paned">
|
|
<property name="orientation">vertical</property>
|
|
<property name="position">400</property>
|
|
<child>
|
|
<object class="GtkScrolledWindow" id="drawing_area-window">
|
|
<property name="hexpand">True</property>
|
|
<property name="vexpand">True</property>
|
|
<property name="child">
|
|
<object class="GtkViewport" id="drawing_area">
|
|
<child>
|
|
<placeholder/>
|
|
</child>
|
|
</object>
|
|
</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkScrolledWindow">
|
|
<property name="child">
|
|
<object class="GtkTreeView" id="treeview-logger"/>
|
|
</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<!--Elements and Preview paned-->
|
|
<child>
|
|
<object class="GtkPaned" id="elements_preview-paned">
|
|
<property name="orientation">vertical</property>
|
|
<property name="position">400</property>
|
|
<child>
|
|
<!--Elements and property paned-->
|
|
<object class="GtkPaned" id="elements_properties-paned">
|
|
<property name="orientation">vertical</property>
|
|
<property name="position">400</property>
|
|
<child>
|
|
<object class="GtkNotebook" id="notebook-elements">
|
|
<child>
|
|
<object class="GtkNotebookPage">
|
|
<property name="child">
|
|
<object class="GtkScrolledWindow">
|
|
<property name="hexpand">True</property>
|
|
<property name="vexpand">True</property>
|
|
<property name="child">
|
|
<object class="GtkTreeView" id="treeview-elements">
|
|
</object>
|
|
</property>
|
|
</object>
|
|
</property>
|
|
<property name="tab">
|
|
<object class="GtkLabel" id="label-page-elements">
|
|
<property name="label" translatable="1">Elements</property>
|
|
</object>
|
|
</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkNotebookPage">
|
|
<property name="child">
|
|
<object class="GtkScrolledWindow">
|
|
<property name="hexpand">True</property>
|
|
<property name="vexpand">True</property>
|
|
<property name="child">
|
|
<object class="GtkTreeView" id="treeview-favorites">
|
|
</object>
|
|
</property>
|
|
</object>
|
|
</property>
|
|
<property name="tab">
|
|
<object class="GtkLabel" id="label-page-favorites">
|
|
<property name="label" translatable="1">Favorites</property>
|
|
</object>
|
|
</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkScrolledWindow">
|
|
<property name="hexpand">True</property>
|
|
<property name="vexpand">True</property>
|
|
<property name="child">
|
|
<object class="GtkBox" id="box-property">
|
|
</object>
|
|
</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkScrolledWindow">
|
|
<property name="hexpand">True</property>
|
|
<property name="vexpand">True</property>
|
|
<property name="child">
|
|
<object class="GtkBox" id="box-preview">
|
|
</object>
|
|
</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkStatusbar" id="status_bar">
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</interface>
|