wdisplays_github/resources/wdisplays.ui

205 lines
9.0 KiB
Plaintext
Raw Permalink Normal View History

2019-07-06 05:51:52 +03:00
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<requires lib="gtk+" version="3.22"/>
<object class="GtkAdjustment" id="canvas_horiz">
<property name="step_increment">1</property>
<property name="page_increment">10</property>
</object>
<object class="GtkAdjustment" id="canvas_vert">
<property name="step_increment">1</property>
<property name="page_increment">10</property>
</object>
2019-07-06 05:51:52 +03:00
<object class="GtkWindow" id="heads_window">
2019-10-26 23:02:06 +03:00
<property name="title" translatable="yes">wdisplays</property>
2019-07-06 05:51:52 +03:00
<child>
<object class="GtkOverlay" id="overlay">
<child>
2019-07-06 20:12:28 +03:00
<object class="GtkBox">
<property name="orientation">vertical</property>
2019-07-06 05:51:52 +03:00
<child>
2019-07-06 20:12:28 +03:00
<object class="GtkInfoBar" id="heads_info">
2020-03-07 17:37:19 +02:00
<property name="visible">0</property>
2019-07-06 20:12:28 +03:00
<property name="valign">start</property>
<property name="message_type">error</property>
2020-03-07 17:37:19 +02:00
<property name="show_close_button">1</property>
<property name="revealed">0</property>
<child type="action">
<object class="GtkBox">
2019-07-06 20:12:28 +03:00
<property name="spacing">6</property>
<child>
<placeholder/>
</child>
</object>
</child>
2020-03-07 17:37:19 +02:00
<child>
2019-07-06 20:12:28 +03:00
<object class="GtkBox">
2020-03-07 17:37:19 +02:00
<property name="visible">0</property>
2019-07-06 20:12:28 +03:00
<property name="spacing">16</property>
<child>
<object class="GtkLabel" id="heads_info_label">
2020-03-07 17:37:19 +02:00
<property name="wrap">1</property>
2019-07-06 20:12:28 +03:00
<property name="xalign">0</property>
</object>
</child>
2019-07-06 05:51:52 +03:00
</object>
2019-07-06 20:12:28 +03:00
</child>
<child>
<placeholder/>
2019-07-06 05:51:52 +03:00
</child>
</object>
</child>
<child>
2020-03-07 17:37:19 +02:00
<object class="GtkPaned" id="paned">
<property name="resize_child2">0</property>
<property name="shrink_child1">0</property>
<property name="shrink_child2">0</property>
<property name="can_focus">1</property>
2019-07-06 20:12:28 +03:00
<property name="position">400</property>
2020-03-07 17:37:19 +02:00
<property name="position_set">1</property>
2019-07-06 05:51:52 +03:00
<child>
2019-07-06 20:12:28 +03:00
<object class="GtkScrolledWindow" id="heads_scroll">
2020-03-07 17:37:19 +02:00
<property name="can_focus">1</property>
<property name="hadjustment">canvas_horiz</property>
<property name="vadjustment">canvas_vert</property>
<property name="min_content_width">400</property>
<property name="min_content_height">300</property>
2019-07-06 20:12:28 +03:00
<child>
<placeholder/>
2019-07-06 20:12:28 +03:00
</child>
2019-07-06 05:51:52 +03:00
</object>
</child>
<child>
2019-07-06 20:12:28 +03:00
<object class="GtkBox">
<property name="orientation">vertical</property>
2019-07-06 05:51:52 +03:00
<child>
2019-07-06 20:12:28 +03:00
<object class="GtkStackSwitcher" id="heads_stack_switcher">
<property name="halign">center</property>
<property name="margin_start">8</property>
<property name="margin_end">8</property>
<property name="margin_top">8</property>
2020-03-07 17:37:19 +02:00
<property name="hexpand">1</property>
2019-07-06 20:12:28 +03:00
<property name="stack">heads_stack</property>
</object>
</child>
<child>
<object class="GtkStack" id="heads_stack">
<property name="transition_type">crossfade</property>
<child>
<placeholder/>
</child>
</object>
2019-07-06 05:51:52 +03:00
</child>
</object>
</child>
</object>
</child>
</object>
</child>
<child type="overlay">
<object class="GtkSpinner" id="spinner">
2020-03-07 17:37:19 +02:00
<property name="visible">0</property>
<property name="hexpand">1</property>
<property name="vexpand">1</property>
<property name="can_target">0</property>
2019-07-06 05:51:52 +03:00
</object>
</child>
</object>
</child>
<child type="titlebar">
<object class="GtkStack" id="header_stack">
<property name="transition_type">crossfade</property>
<child>
2020-03-07 17:37:19 +02:00
<object class="GtkStackPage">
<property name="name">title</property>
<property name="child">
<object class="GtkHeaderBar">
<property name="title" translatable="yes">wdisplays</property>
<property name="has_subtitle">0</property>
<property name="show_title_buttons">1</property>
2019-07-06 05:51:52 +03:00
<child>
2020-03-07 17:37:19 +02:00
<object class="GtkBox" id="zoom_box">
2019-07-06 05:51:52 +03:00
<child>
2020-03-07 17:37:19 +02:00
<object class="GtkButton" id="zoom_out">
<property name="can_focus">1</property>
<property name="receives_default">1</property>
<property name="tooltip_text" translatable="yes">Zoom Out</property>
<property name="action_name">app.zoom-out</property>
2019-07-06 05:51:52 +03:00
<property name="icon_name">zoom-out-symbolic</property>
2020-03-07 17:37:19 +02:00
<accelerator key="minus" signal="clicked" modifiers="GDK_CONTROL_MASK"/>
</object>
</child>
<child>
<object class="GtkButton" id="zoom_reset">
<property name="can_focus">1</property>
<property name="receives_default">1</property>
<property name="tooltip_text" translatable="yes">Zoom Reset</property>
<property name="action_name">app.zoom-reset</property>
<accelerator key="0" signal="clicked" modifiers="GDK_CONTROL_MASK"/>
2019-07-06 05:51:52 +03:00
</object>
</child>
<child>
2020-03-07 17:37:19 +02:00
<object class="GtkButton" id="zoom_in">
<property name="can_focus">1</property>
<property name="receives_default">1</property>
<property name="tooltip_text" translatable="yes">Zoom In</property>
<property name="action_name">app.zoom-in</property>
2019-07-06 05:51:52 +03:00
<property name="icon_name">zoom-in-symbolic</property>
2020-03-07 17:37:19 +02:00
<accelerator key="equal" signal="clicked" modifiers="GDK_CONTROL_MASK"/>
2019-07-06 05:51:52 +03:00
</object>
</child>
2020-03-07 17:37:19 +02:00
<style>
<class name="linked"/>
</style>
2019-07-06 05:51:52 +03:00
</object>
</child>
2020-03-07 17:37:19 +02:00
<child type="end">
<object class="GtkMenuButton" id="menu_button">
<property name="can_focus">1</property>
<property name="receives_default">1</property>
2019-07-06 20:12:28 +03:00
<property name="icon_name">open-menu-symbolic</property>
</object>
</child>
</object>
2020-03-07 17:37:19 +02:00
</property>
2019-07-06 05:51:52 +03:00
</object>
</child>
<child>
2020-03-07 17:37:19 +02:00
<object class="GtkStackPage">
<property name="name">apply</property>
<property name="child">
<object class="GtkHeaderBar">
<child type="title">
<object class="GtkLabel">
<property name="label" translatable="yes">Apply Changes?</property>
</object>
</child>
<child>
<object class="GtkButton">
<property name="label" translatable="yes">_Apply</property>
<property name="can_focus">1</property>
<property name="receives_default">1</property>
<property name="use_underline">1</property>
<property name="action_name">app.apply-changes</property>
<style>
<class name="suggested-action"/>
</style>
</object>
</child>
<child type="end">
<object class="GtkButton">
<property name="label" translatable="yes">_Cancel</property>
<property name="can_focus">1</property>
<property name="receives_default">1</property>
<property name="use_underline">1</property>
<property name="action_name">app.cancel-changes</property>
</object>
</child>
2019-07-06 05:51:52 +03:00
</object>
2020-03-07 17:37:19 +02:00
</property>
2019-07-06 05:51:52 +03:00
</object>
</child>
</object>
</child>
</object>
</interface>