Debian Codegraph @

src/ui/onboarding-dialog.ui

raw
1 <?xml version="1.0" encoding="UTF-8"?>
2 <interface>
3 <template class="ConnectionsOnboardingDialog" parent="HdyWindow">
4 <property name="modal">True</property>
5 <property name="resizable">False</property>
6 <property name="type-hint">dialog</property>
7 <property name="height-request">600</property>
8 <property name="width-request">710</property>
9 <signal name="delete-event" handler="gtk_widget_hide_on_delete"/>
10 <signal name="key-press-event" after="yes" handler="on_key_pressed"/>
11 <style>
12 <class name="onboarding-dialog"/>
13 </style>
14
15 <child>
16 <object class="GtkBox">
17 <property name="visible">True</property>
18 <property name="border-width">0</property>
19 <property name="orientation">vertical</property>
20
21 <child>
22 <object class="GtkBox" id="indicator-spacer">
23 <property name="visible">True</property>
24 </object>
25 </child>
26
27 <child>
28 <object class="GtkOverlay">
29 <property name="visible">True</property>
30 <property name="expand">True</property>
31 <property name="valign">start</property>
32
33 <child>
34 <object class="HdyCarousel" id="paginator">
35 <property name="visible">True</property>
36 <property name="animation-duration">400</property>
37 <property name="margin-bottom">12</property>
38 <signal name="notify::position" handler="on_position_changed"/>
39
40 <child>
41 <object class="ConnectionsOnboardingDialogPage" id="homepage">
42 <property name="title" translatable="yes">Welcome to Connections</property>
43 <property name="description" translatable="yes">Click next to learn about remote desktop.</property>
44 <property name="image">/org/gnome/Connections/ui/onboarding/welcome.svg</property>
45 </object>
46 </child>
47
48 <child>
49 <object class="ConnectionsOnboardingDialogPage">
50 <property name="title" translatable="yes">Access other desktops</property>
51 <property name="description" translatable="yes">Connections allows viewing the screens of other desktops. They can also be controlled using the pointer and keyboard.</property>
52 <property name="image">/org/gnome/Connections/ui/onboarding/remote-computer.svg</property>
53 </object>
54 </child>
55
56 <child>
57 <object class="ConnectionsOnboardingDialogPage">
58 <property name="title" translatable="yes">Connect to different operating systems</property>
59 <property name="description" translatable="yes">You can access Linux, Mac, and Windows desktops.</property>
60 <property name="image">/org/gnome/Connections/ui/onboarding/multiplatform.svg</property>
61 </object>
62 </child>
63
64 <child>
65 <object class="ConnectionsOnboardingDialogPage">
66 <property name="title" translatable="yes">Setup is required</property>
67 <property name="description" translatable="yes">Remote desktop typically needs to be enabled on the computer you want to connect to.</property>
68 <property name="image">/org/gnome/Connections/ui/onboarding/configure-access.svg</property>
69 </object>
70 </child>
71
72 <child>
73 <object class="ConnectionsOnboardingDialogPage">
74 <property name="title" translatable="yes">Start by creating your first connection</property>
75 <property name="description" translatable="yes">To begin, you will need the address of the computer you want to connect to.</property>
76 <property name="image">/org/gnome/Connections/ui/onboarding/thankyou.svg</property>
77 </object>
78 </child>
79
80 </object>
81 </child>
82
83 <child type="overlay">
84 <object class="GtkBox">
85 <property name="visible">True</property>
86 <property name="orientation">horizontal</property>
87 <property name="border-width">20</property>
88
89 <child>
90 <object class="GtkButton" id="go_back_button">
91 <property name="visible">True</property>
92 <property name="can-focus">True</property>
93 <property name="valign">center</property>
94 <signal name="clicked" handler="on_back_button_clicked"/>
95 <style>
96 <class name="circular"/>
97 </style>
98 <child>
99 <object class="GtkImage">
100 <property name="visible">True</property>
101 <property name="can-focus">False</property>
102 <property name="icon-size">2</property>
103 <property name="margin">5</property>
104 <property name="icon-name">go-previous-symbolic</property>
105 </object>
106 </child>
107 </object>
108 <packing>
109 <property name="pack-type">start</property>
110 </packing>
111 </child>
112
113 <child>
114 <object class="GtkButton" id="go_next_button">
115 <property name="visible">True</property>
116 <property name="can-focus">True</property>
117 <property name="valign">center</property>
118 <signal name="clicked" handler="on_next_button_clicked"/>
119 <style>
120 <class name="circular"/>
121 </style>
122 <child>
123 <object class="GtkImage">
124 <property name="visible">True</property>
125 <property name="can-focus">False</property>
126 <property name="icon-size">2</property>
127 <property name="margin">5</property>
128 <property name="icon-name">go-next-symbolic</property>
129 </object>
130 </child>
131 </object>
132 <packing>
133 <property name="pack-type">end</property>
134 </packing>
135 </child>
136 </object>
137 <packing>
138 <property name="pass-through">True</property>
139 </packing>
140 </child>
141 </object>
142 </child>
143
144 <child>
145 <object class="GtkButton" id="close_button">
146 <property name="visible">True</property>
147 <property name="halign">center</property>
148 <property name="label" translatable="yes">_No Thanks</property>
149 <property name="use-underline">True</property>
150 <property name="margin-bottom">20</property>
151 <signal name="clicked" handler="gtk_widget_destroy" object="ConnectionsOnboardingDialog"/>
152 </object>
153 </child>
154
155 <child>
156 <object class="HdyCarouselIndicatorDots" id="indicator">
157 <property name="visible">True</property>
158 <property name="carousel">paginator</property>
159 <property name="margin-top">6</property>
160 <property name="margin-bottom">6</property>
161 </object>
162 </child>
163 </object>
164 </child>
165 </template>
166 <object class="GtkSizeGroup">
167 <property name="mode">vertical</property>
168 <widgets>
169 <widget name="indicator-spacer"/>
170 <widget name="indicator"/>
171 </widgets>
172 </object>
173 </interface>