blob: c4fe324ad239656a7680de1f131ce2409ac0f67d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
|
<?xml version='1.0' encoding='UTF-8'?>
<!-- Created with Cambalache 0.96.0 -->
<interface>
<!-- interface-name tracker.ui -->
<requires lib="gio" version="2.0"/>
<requires lib="gtk" version="4.18"/>
<requires lib="libadwaita" version="1.7"/>
<template class="gtkmm__CustomObject_Tracker" parent="AdwApplicationWindow">
<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>
</template>
<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>
|