forked from paperwm/PaperWM
-
Notifications
You must be signed in to change notification settings - Fork 0
/
KeybindingsComboRow.ui
112 lines (104 loc) · 4.21 KB
/
KeybindingsComboRow.ui
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
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<requires lib="gtk" version="4.0" />
<template class="ComboRow" parent="GtkListBoxRow">
<property name="selectable">False</property>
<property name="activatable">True</property>
<property name="focusable">True</property>
<property name="focus-on-click">True</property>
<property name="child">
<object class="GtkStack" id="stack">
<child>
<object class="GtkStackPage">
<property name="child">
<object class="GtkBox" id="shortcutPage">
<property name="hexpand">True</property>
<property name="spacing">12</property>
<child>
<object class="GtkShortcutLabel" id="shortcutLabel">
<property name="disabled_text" translatable="yes">Disabled</property>
</object>
</child>
<child>
<object class="GtkMenuButton" id="conflictButton">
<property name="tooltip_text" translatable="yes">Conflicts</property>
<property name="icon_name">dialog-error-symbolic</property>
<property name="popover">conflictPopover</property>
<property name="visible">False</property>
<style>
<class name="flat" />
<class name="circular" />
</style>
</object>
</child>
<child>
<object class="GtkButton" id="deleteButton">
<property name="hexpand">True</property>
<property name="halign">end</property>
<property name="tooltip_text" translatable="yes">Remove shortcut</property>
<property name="icon_name">edit-clear-symbolic</property>
<style>
<class name="flat" />
<class name="circular" />
</style>
<signal name="clicked" handler="_onDeleteButtonClicked" />
</object>
</child>
</object>
</property>
</object>
</child>
<child>
<object class="GtkStackPage">
<property name="child">
<object class="GtkLabel" id="placeholderPage">
<property name="hexpand">True</property>
<property name="xalign">0.0</property>
<property name="use_markup">True</property>
<property name="label" translatable="yes"><i>Add shortcut…</i></property>
</object>
</property>
</object>
</child>
<child>
<object class="GtkStackPage">
<property name="child">
<object class="GtkLabel" id="editPage">
<property name="use_markup">True</property>
<property name="label" translatable="yes">Enter keyboard shortcut, <b>Backspace</b> to delete or <b>Esc</b> to cancel</property>
</object>
</property>
</object>
</child>
</object>
</property>
</template>
<object class="GtkPopover" id="conflictPopover">
<child>
<object class="GtkBox" id="about">
<property name="focusable">False</property>
<property name="orientation">vertical</property>
<property name="margin-start">12</property>
<property name="margin-end">12</property>
<property name="margin-top">12</property>
<property name="margin-bottom">12</property>
<property name="spacing">8</property>
<child>
<object class="GtkLabel">
<property name="label" translatable="yes">Conflicts:</property>
<style>
<class name="heading" />
</style>
</object>
</child>
<child>
<object class="GtkListBox" id="conflictList">
<property name="selection-mode">none</property>
<signal name="row-activated"
handler="_onConflictRowActivated" />
</object>
</child>
</object>
</child>
</object>
</interface>