diff options
| author | Felix Morgner <felix.morgner@gmail.com> | 2025-04-28 16:13:32 +0200 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@gmail.com> | 2025-04-28 16:13:32 +0200 |
| commit | 594c0bc610d68fd4fc4c54a6ae6402cc5fa5fa16 (patch) | |
| tree | 3daed7edb0ee57561ad99384457b5d47254f23e9 /ui/res/windows/tracker.ui | |
| parent | 9c683f7c4d1e50dc7e19d1951ba50e6f39877f80 (diff) | |
| download | turns-594c0bc610d68fd4fc4c54a6ae6402cc5fa5fa16.tar.xz turns-594c0bc610d68fd4fc4c54a6ae6402cc5fa5fa16.zip | |
build: update to cambalache 0.96.0
Diffstat (limited to 'ui/res/windows/tracker.ui')
| -rw-r--r-- | ui/res/windows/tracker.ui | 152 |
1 files changed, 152 insertions, 0 deletions
diff --git a/ui/res/windows/tracker.ui b/ui/res/windows/tracker.ui new file mode 100644 index 0000000..787347c --- /dev/null +++ b/ui/res/windows/tracker.ui @@ -0,0 +1,152 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!-- Created with Cambalache 0.96.0 --> +<interface> + <requires lib="gtk" version="4.14"/> + <requires lib="libadwaita" version="1.6"/> + <requires lib="gio" version="2.0"/> + <object class="AdwApplicationWindow" id="tracker"> + <property name="content"> + <object class="AdwToolbarView"> + <property name="content"> + <object class="AdwToastOverlay" id="overlay"> + <property name="child"> + <object class="GtkStack" id="stack"> + <child> + <object class="AdwStatusPage" id="empty"> + <property name="child"> + <object class="GtkButton"> + <property name="action-name">win.add_participant</property> + <property name="halign">center</property> + <property name="label" translatable="yes">Add participant</property> + <style> + <class name="pill"/> + <class name="suggested-action"/> + </style> + </object> + </property> + <property name="icon-name">contact-new-symbolic</property> + </object> + </child> + </object> + </property> + </object> + </property> + <child type="top"> + <object class="AdwHeaderBar" id="header"> + <property name="centering-policy">strict</property> + <property name="title-widget"> + <object class="AdwWindowTitle" id="title"> + <property name="hexpand">True</property> + <property name="subtitle" translatable="yes">No active turn order</property> + <property name="title" translatable="yes">Turns</property> + </object> + </property> + <child type="end"> + <object class="GtkMenuButton" id="open_main_menu"> + <property name="icon-name">open-menu</property> + <property name="menu-model">main_menu</property> + <property name="tooltip-text" translatable="yes">Main Menu</property> + <property name="use-underline">True</property> + </object> + </child> + <child type="start"> + <object class="GtkButton" id="add_participant"> + <property name="action-name">win.add_participant</property> + <property name="icon-name">contact-new</property> + <property name="tooltip-text" translatable="yes">Add participant</property> + </object> + </child> + <child type="start"> + <object class="GtkButton" id="start"> + <property name="action-name">win.start</property> + <property name="icon-name">media-playback-start-symbolic</property> + <property name="tooltip-text" translatable="yes">Start turn order</property> + </object> + </child> + <style/> + </object> + </child> + <child type="bottom"> + <object class="GtkRevealer" id="controls"> + <property name="child"> + <object class="GtkActionBar"> + <child type="start"> + <object class="GtkButton"> + <property name="action-name">win.previous</property> + <property name="icon-name">media-skip-backward-symbolic</property> + <property name="tooltip-markup" translatable="yes">Previous participant</property> + <style> + <class name="pill"/> + <class name="suggested-action"/> + </style> + </object> + </child> + <child type="center"> + <object class="GtkButton"> + <property name="action-name">win.stop</property> + <property name="icon-name">media-playback-stop-symbolic</property> + <property name="tooltip-markup" translatable="yes">End turn order</property> + <style> + <class name="pill"/> + <class name="destructive-action"/> + </style> + </object> + </child> + <child type="end"> + <object class="GtkButton"> + <property name="action-name">win.next</property> + <property name="icon-name">media-skip-forward-symbolic</property> + <property name="tooltip-markup" translatable="yes">Next participant</property> + <style> + <class name="pill"/> + <class name="suggested-action"/> + </style> + </object> + </child> + <style> + <class name="toolbar"/> + </style> + </object> + </property> + <property name="transition-type">slide-up</property> + </object> + </child> + <style/> + </object> + </property> + <property name="default-height">720</property> + <property name="default-width">360</property> + <property name="height-request">480</property> + <property name="width-request">360</property> + </object> + <menu id="main_menu"> + <item> + <attribute name="action">win.clear</attribute> + <attribute name="label" translatable="yes">_Clear</attribute> + </item> + <item> + <attribute name="action">win.open</attribute> + <attribute name="label" translatable="yes">_Open...</attribute> + </item> + <item> + <attribute name="action">win.save</attribute> + <attribute name="label" translatable="yes">_Save</attribute> + </item> + <item> + <attribute name="action">win.save-as</attribute> + <attribute name="label" translatable="yes">Save as...</attribute> + </item> + <item> + <attribute name="action">win.preferences</attribute> + <attribute name="label" translatable="yes">_Preferences</attribute> + </item> + <item> + <attribute name="action">app.quit</attribute> + <attribute name="label" translatable="yes">_Quit</attribute> + </item> + <item> + <attribute name="action">app.about</attribute> + <attribute name="label">About</attribute> + </item> + </menu> +</interface> |
