2022-06-24 20:02:09 +02:00
|
|
|
<?xml version='1.0' encoding='UTF-8'?>
|
|
|
|
<!-- Created with Cambalache 0.10.2 -->
|
|
|
|
<interface>
|
|
|
|
<!-- interface-name gem-graph.ui -->
|
|
|
|
<requires lib="gtk" version="4.6"/>
|
2023-01-24 21:06:05 +01:00
|
|
|
<template class="GemGraphClientWindow" parent="GtkApplicationWindow">
|
2022-06-24 20:02:09 +02:00
|
|
|
<property name="default-height">720</property>
|
|
|
|
<property name="default-width">1080</property>
|
|
|
|
<property name="icon-name">application-x-executable</property>
|
2023-01-24 22:59:37 +01:00
|
|
|
<property name="title">GemGraph 0.1.0</property>
|
2023-01-25 15:25:04 +01:00
|
|
|
<style>
|
|
|
|
<class name="devel"/>
|
|
|
|
</style>
|
2022-06-24 20:02:09 +02:00
|
|
|
<child type="titlebar">
|
2023-01-24 21:54:29 +01:00
|
|
|
<object class="GtkHeaderBar" id="main_titlebar">
|
2022-06-24 20:02:09 +02:00
|
|
|
<child type="end">
|
|
|
|
<object class="GtkMenuButton" id="main_button_menu">
|
|
|
|
<property name="direction">none</property>
|
2022-06-30 16:43:22 +02:00
|
|
|
<property name="menu-model">main_menu</property>
|
2022-06-24 20:02:09 +02:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child type="start">
|
|
|
|
<object class="GtkMenuButton" id="main_button_mode">
|
|
|
|
<property name="always-show-arrow">True</property>
|
2022-06-30 16:43:22 +02:00
|
|
|
<property name="use-underline">True</property>
|
|
|
|
<property name="tooltip-text" translatable="yes">Change session mode</property>
|
2022-06-24 20:02:09 +02:00
|
|
|
<property name="icon-name">document-edit-symbolic</property>
|
2022-06-30 16:43:22 +02:00
|
|
|
<property name="menu-model">mode_menu</property>
|
2022-06-24 20:02:09 +02:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkToggleButton" id="main_button_sidebar">
|
|
|
|
<property name="icon-name">sidebar-show-symbolic</property>
|
2022-06-30 16:43:22 +02:00
|
|
|
<property name="tooltip-text" translatable="yes">Display/hide sidebar</property>
|
2022-07-28 23:27:24 +02:00
|
|
|
<property name="action-name">app.togglesidebar</property>
|
2022-06-24 20:02:09 +02:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
2023-01-24 21:54:29 +01:00
|
|
|
<object class="GtkOverlay" id="toast_overlay">
|
2023-01-25 20:48:36 +01:00
|
|
|
<child>
|
2022-07-29 17:59:05 +02:00
|
|
|
<object class="GtkPaned" id="main_paned">
|
|
|
|
<property name="position">300</property>
|
2022-07-28 23:27:24 +02:00
|
|
|
<child>
|
2022-07-29 17:59:05 +02:00
|
|
|
<object class="GtkStack" id="side_stack">
|
|
|
|
<child>
|
|
|
|
<object class="GtkStackPage">
|
2023-01-25 18:48:01 +01:00
|
|
|
<property name="name">run</property>
|
2022-07-29 17:59:05 +02:00
|
|
|
<property name="child">
|
2023-02-01 19:06:39 +01:00
|
|
|
<object class="GtkBox">
|
|
|
|
<property name="orientation">vertical</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel" id="run_controls_label">
|
|
|
|
<property name="justify">center</property>
|
|
|
|
<property name="margin-top">50</property>
|
|
|
|
<property name="margin-bottom">50</property>
|
|
|
|
<property name="label" translatable="yes"><b>run_controls_label</b></property>
|
|
|
|
<property name="use-markup">True</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkStackSwitcher">
|
2023-02-01 19:12:57 +01:00
|
|
|
<property name="visible">True</property>
|
2023-02-01 19:06:39 +01:00
|
|
|
<property name="stack">runlib_stack</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkStack" id="runlib_stack">
|
|
|
|
<child>
|
|
|
|
<object class="GtkStackPage">
|
2023-02-01 19:12:57 +01:00
|
|
|
<property name="name">runlib_condition</property>
|
|
|
|
<property name="title" translatable="yes">runlib_condition</property>
|
2023-02-01 19:06:39 +01:00
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="child">
|
2023-02-01 19:12:57 +01:00
|
|
|
<object class="GtkLabel" id="label_runlib_condition">
|
2023-02-01 19:06:39 +01:00
|
|
|
<property name="justify">center</property>
|
2023-02-01 19:12:57 +01:00
|
|
|
<property name="label" translatable="yes"><b>label_runlib_condition</b></property>
|
2023-02-01 19:06:39 +01:00
|
|
|
<property name="use-markup">True</property>
|
2023-02-01 19:12:57 +01:00
|
|
|
<property name="margin-top">50</property>
|
|
|
|
<property name="margin-bottom">50</property>
|
2023-02-01 19:06:39 +01:00
|
|
|
</object>
|
|
|
|
</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkStackPage">
|
2023-02-01 19:12:57 +01:00
|
|
|
<property name="name">runlib_rules</property>
|
|
|
|
<property name="title" translatable="yes">runlib_rules</property>
|
2023-02-01 19:06:39 +01:00
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="child">
|
2023-02-01 19:12:57 +01:00
|
|
|
<object class="GtkLabel" id="label_runlib_rules">
|
2023-02-01 19:06:39 +01:00
|
|
|
<property name="justify">center</property>
|
2023-02-01 19:12:57 +01:00
|
|
|
<property name="label" translatable="yes"><b>label_runlib_rules</b></property>
|
2023-02-01 19:06:39 +01:00
|
|
|
<property name="use-markup">True</property>
|
2023-02-01 19:12:57 +01:00
|
|
|
<property name="margin-top">50</property>
|
|
|
|
<property name="margin-bottom">50</property>
|
2023-02-01 19:06:39 +01:00
|
|
|
</object>
|
|
|
|
</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkStackPage">
|
|
|
|
<property name="name">runlib_objects</property>
|
|
|
|
<property name="title" translatable="yes">runlib_objects</property>
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="child">
|
|
|
|
<object class="GtkLabel" id="label_runlib_objects">
|
|
|
|
<property name="justify">center</property>
|
|
|
|
<property name="label" translatable="yes"><b>label_runlib_objects</b></property>
|
|
|
|
<property name="use-markup">True</property>
|
2023-02-01 19:12:57 +01:00
|
|
|
<property name="margin-top">50</property>
|
|
|
|
<property name="margin-bottom">50</property>
|
2023-02-01 19:06:39 +01:00
|
|
|
</object>
|
|
|
|
</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
2022-07-29 17:59:05 +02:00
|
|
|
</object>
|
|
|
|
</property>
|
2022-07-28 23:27:24 +02:00
|
|
|
</object>
|
2022-07-29 17:59:05 +02:00
|
|
|
</child>
|
2023-01-24 21:54:29 +01:00
|
|
|
<child>
|
2022-08-02 10:29:48 +02:00
|
|
|
<object class="GtkStackPage">
|
2023-01-25 18:48:01 +01:00
|
|
|
<property name="name">home</property>
|
2022-08-02 10:29:48 +02:00
|
|
|
<property name="child">
|
2023-01-25 18:48:01 +01:00
|
|
|
<object class="GtkLabel" id="labelhome">
|
2022-08-02 10:29:48 +02:00
|
|
|
<property name="justify">center</property>
|
|
|
|
<property name="label" translatable="yes"><b>Sidebar: home</b></property>
|
|
|
|
<property name="use-markup">True</property>
|
|
|
|
</object>
|
|
|
|
</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
2022-07-29 17:59:05 +02:00
|
|
|
<child>
|
|
|
|
<object class="GtkStackPage">
|
2023-01-25 18:48:01 +01:00
|
|
|
<property name="name">presentation</property>
|
2022-07-29 17:59:05 +02:00
|
|
|
<property name="child">
|
|
|
|
<object class="GtkLabel" id="labelsidepresentation">
|
|
|
|
<property name="justify">center</property>
|
|
|
|
<property name="label" translatable="yes"><b>Sidebar: presentation mode</b></property>
|
|
|
|
<property name="use-markup">True</property>
|
|
|
|
</object>
|
|
|
|
</property>
|
2022-07-28 23:27:24 +02:00
|
|
|
</object>
|
2022-07-29 17:59:05 +02:00
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkStackPage">
|
2023-01-25 19:30:40 +01:00
|
|
|
<property name="name">edition</property>
|
2022-07-29 17:59:05 +02:00
|
|
|
<property name="child">
|
|
|
|
<object class="GtkLabel" id="labelsideedit">
|
|
|
|
<property name="justify">center</property>
|
2023-01-25 19:30:40 +01:00
|
|
|
<property name="label" translatable="yes"><b>Sidebar: edition mode</b></property>
|
2022-07-29 17:59:05 +02:00
|
|
|
<property name="use-markup">True</property>
|
|
|
|
</object>
|
|
|
|
</property>
|
2022-07-28 23:27:24 +02:00
|
|
|
</object>
|
2022-07-29 17:59:05 +02:00
|
|
|
</child>
|
2022-07-28 23:27:24 +02:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
2022-07-29 17:59:05 +02:00
|
|
|
<object class="GtkStack" id="main_stack">
|
|
|
|
<child>
|
|
|
|
<object class="GtkStackPage">
|
2023-01-25 18:48:01 +01:00
|
|
|
<property name="name">run</property>
|
2022-07-29 17:59:05 +02:00
|
|
|
<property name="child">
|
2023-01-26 01:07:07 +01:00
|
|
|
<object class="GtkBox">
|
|
|
|
<property name="orientation">vertical</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkGlArea" id="run_glarea">
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkBox" id="run_controls">
|
|
|
|
</object>
|
|
|
|
</child>
|
2022-07-29 17:59:05 +02:00
|
|
|
</object>
|
|
|
|
</property>
|
2022-07-28 23:27:24 +02:00
|
|
|
</object>
|
2022-07-29 17:59:05 +02:00
|
|
|
</child>
|
2023-01-25 20:20:25 +01:00
|
|
|
<child>
|
2022-08-02 10:29:48 +02:00
|
|
|
<object class="GtkStackPage">
|
2023-01-25 18:48:01 +01:00
|
|
|
<property name="name">home</property>
|
2022-08-02 10:29:48 +02:00
|
|
|
<property name="child">
|
2023-02-01 18:08:37 +01:00
|
|
|
<object class="GtkBox">
|
|
|
|
<property name="orientation">vertical</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkImage">
|
|
|
|
<property name="vexpand">True</property>
|
|
|
|
<property name="file">data/hicolor/apps/scalable/gemgraph_désaturé.png</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel">
|
|
|
|
<property name="margin-bottom">50</property>
|
|
|
|
<property name="margin-top">00</property>
|
|
|
|
<property name="justify">center</property>
|
|
|
|
<property name="valign">center</property>
|
|
|
|
<property name="label" translatable="yes"><b>Welcome to the Gem-graph client.</b></property>
|
|
|
|
<property name="use-markup">True</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
2022-08-02 10:29:48 +02:00
|
|
|
</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
2022-07-29 17:59:05 +02:00
|
|
|
<child>
|
|
|
|
<object class="GtkStackPage">
|
2023-01-25 18:48:01 +01:00
|
|
|
<property name="name">presentation</property>
|
2022-07-29 17:59:05 +02:00
|
|
|
<property name="child">
|
2023-01-26 01:56:54 +01:00
|
|
|
<object class="GtkBox">
|
|
|
|
<property name="orientation">vertical</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkGlArea" id="presentation_glarea">
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkBox" id="presentation_controls">
|
|
|
|
</object>
|
|
|
|
</child>
|
2022-07-29 17:59:05 +02:00
|
|
|
</object>
|
|
|
|
</property>
|
2022-07-28 23:27:24 +02:00
|
|
|
</object>
|
2022-07-29 17:59:05 +02:00
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkStackPage">
|
2023-01-25 19:30:40 +01:00
|
|
|
<property name="name">edition</property>
|
2022-07-29 17:59:05 +02:00
|
|
|
<property name="child">
|
2023-01-26 01:56:54 +01:00
|
|
|
<object class="GtkBox">
|
|
|
|
<property name="orientation">vertical</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkGlArea" id="edition_glarea">
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkBox" id="edition_controls">
|
|
|
|
</object>
|
|
|
|
</child>
|
2022-07-29 17:59:05 +02:00
|
|
|
</object>
|
|
|
|
</property>
|
2022-07-28 23:27:24 +02:00
|
|
|
</object>
|
2022-07-29 17:59:05 +02:00
|
|
|
</child>
|
2022-07-28 23:27:24 +02:00
|
|
|
</object>
|
|
|
|
</child>
|
2022-06-30 16:43:22 +02:00
|
|
|
</object>
|
2023-01-25 20:48:36 +01:00
|
|
|
</child>
|
|
|
|
<child type="overlay">
|
|
|
|
<object class="GtkRevealer" id="toast_revealer">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="halign">center</property>
|
|
|
|
<property name="valign">start</property>
|
2023-01-27 01:28:54 +01:00
|
|
|
<property name="transition-type">GTK_REVEALER_TRANSITION_TYPE_SLIDE_DOWN</property>
|
2023-01-25 20:48:36 +01:00
|
|
|
<child>
|
2023-01-25 23:14:55 +01:00
|
|
|
<object class="GtkBox" id="toast_box">
|
2023-01-25 20:48:36 +01:00
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="valign">start</property>
|
|
|
|
<property name="spacing">20</property>
|
|
|
|
<child>
|
2023-01-25 23:14:55 +01:00
|
|
|
<object class="GtkLabel" id="toast_text">
|
2023-01-25 20:48:36 +01:00
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
2023-01-25 23:14:55 +01:00
|
|
|
<property name="label" translatable="yes">(null)</property>
|
2023-01-25 20:48:36 +01:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
2023-01-25 23:14:55 +01:00
|
|
|
<object class="GtkToggleButton" id="toast_close_button">
|
|
|
|
<property name="icon-name">window-close-symbolic</property>
|
|
|
|
<property name="action-name">app.toastclose</property>
|
2023-01-25 20:48:36 +01:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<style>
|
|
|
|
<class name="app-notification"/>
|
|
|
|
</style>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
2022-07-29 17:59:05 +02:00
|
|
|
</object>
|
2022-06-24 20:02:09 +02:00
|
|
|
</child>
|
|
|
|
</template>
|
2022-06-30 16:43:22 +02:00
|
|
|
|
2022-07-28 23:27:24 +02:00
|
|
|
<menu id="main_menu">
|
2022-07-29 17:59:05 +02:00
|
|
|
<section>
|
|
|
|
<item>
|
|
|
|
<attribute name="label" translatable="yes">_Open...</attribute>
|
2022-08-02 10:29:48 +02:00
|
|
|
<attribute name="action">app.openfile</attribute>
|
2022-07-29 17:59:05 +02:00
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<attribute name="label" translatable="yes">_Close</attribute>
|
2022-08-02 10:29:48 +02:00
|
|
|
<attribute name="action">app.closefile</attribute>
|
2022-07-29 17:59:05 +02:00
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<attribute name="label" translatable="yes">_Save</attribute>
|
2022-08-02 10:29:48 +02:00
|
|
|
<attribute name="action">app.savefile</attribute>
|
2022-07-29 17:59:05 +02:00
|
|
|
</item>
|
|
|
|
</section>
|
2022-06-30 16:43:22 +02:00
|
|
|
<section>
|
|
|
|
<item>
|
|
|
|
<attribute name="label" translatable="yes">_Preferences</attribute>
|
|
|
|
<attribute name="action">app.preferences</attribute>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<attribute name="label" translatable="yes">_Keyboard Shortcuts</attribute>
|
|
|
|
<attribute name="action">win.show-help-overlay</attribute>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<attribute name="label" translatable="yes">_About GemGraph</attribute>
|
|
|
|
<attribute name="action">app.about</attribute>
|
|
|
|
</item>
|
|
|
|
</section>
|
2022-07-28 23:27:24 +02:00
|
|
|
</menu>
|
|
|
|
<menu id="mode_menu">
|
2022-06-30 16:43:22 +02:00
|
|
|
<section>
|
|
|
|
|
|
|
|
<attribute name="label" translatable="yes">Switch session mode</attribute>
|
|
|
|
|
|
|
|
<item>
|
2022-07-28 23:27:24 +02:00
|
|
|
<attribute name="icon">document-edit-symbolic</attribute>
|
2023-01-25 19:30:40 +01:00
|
|
|
<attribute name="label" translatable="yes">_Edition</attribute>
|
2022-07-28 23:27:24 +02:00
|
|
|
<attribute name="action">app.editmode</attribute>
|
|
|
|
<attribute name="use-icon">True</attribute>
|
2022-06-30 16:43:22 +02:00
|
|
|
</item>
|
|
|
|
<item>
|
2022-07-29 10:59:57 +02:00
|
|
|
<attribute name="icon">system-run-symbolic</attribute>
|
2022-06-30 16:43:22 +02:00
|
|
|
<attribute name="label" translatable="yes">_Run</attribute>
|
2022-07-28 23:27:24 +02:00
|
|
|
<attribute name="action">app.runmode</attribute>
|
|
|
|
<attribute name="use-icon">True</attribute>
|
2022-06-30 16:43:22 +02:00
|
|
|
</item>
|
|
|
|
<item>
|
2022-07-29 10:59:57 +02:00
|
|
|
<attribute name="icon">video-display-symbolic</attribute>
|
2022-06-30 16:43:22 +02:00
|
|
|
<attribute name="label" translatable="yes">_Presentation</attribute>
|
2022-07-28 23:27:24 +02:00
|
|
|
<attribute name="action">app.presentmode</attribute>
|
|
|
|
<attribute name="use-icon">True</attribute>
|
2022-06-30 16:43:22 +02:00
|
|
|
</item>
|
|
|
|
</section>
|
2022-07-28 23:27:24 +02:00
|
|
|
</menu>
|
2022-06-24 20:02:09 +02:00
|
|
|
</interface>
|