summaryrefslogtreecommitdiffstats
path: root/src/gs-hardware-support-context-dialog.ui
blob: a5c0ed8f05def5482f4b2a355f2b2335bad70a3a (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
<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <requires lib="gtk+" version="3.10"/>
  <template class="GsHardwareSupportContextDialog" parent="GsInfoWindow">
    <property name="title" translatable="yes" comments="Translators: This is the title of the dialog which contains information about the hardware support/requirements of an app">Hardware Support</property>
    <child>
      <object class="AdwPreferencesPage">
        <child>
          <object class="AdwPreferencesGroup">

            <child>
              <object class="GtkBox">
                <property name="orientation">vertical</property>
                <property name="spacing">8</property>

                <child>
                  <object class="GtkBox">
                    <property name="margin-top">20</property>
                    <property name="margin-bottom">16</property>
                    <property name="margin-start">20</property>
                    <property name="margin-end">20</property>
                    <property name="orientation">vertical</property>
                    <property name="spacing">12</property>

                    <child>
                      <object class="GsLozenge" id="lozenge">
                        <property name="circular">False</property>
                        <!-- this is a placeholder: the icon is actually set in code -->
                        <property name="icon-name">safety-symbolic</property>
                        <property name="pixel-size">24</property>
                        <style>
                          <class name="large"/>
                          <class name="grey"/>
                        </style>
                        <accessibility>
                          <relation name="labelled-by">title</relation>
                        </accessibility>
                      </object>
                    </child>

                    <child>
                      <object class="GtkLabel" id="title">
                        <!-- this is a placeholder: the text is actually set in code -->
                        <property name="justify">center</property>
                        <property name="label">Shortwave works on this device</property>
                        <property name="wrap">True</property>
                        <property name="xalign">0.5</property>
                        <style>
                          <class name="title-2"/>
                        </style>
                      </object>
                    </child>
                  </object>
                </child>

                <child>
                  <object class="GtkListBox" id="relations_list">
                    <property name="selection_mode">none</property>
                    <property name="halign">fill</property>
                    <property name="valign">start</property>
                    <style>
                      <class name="boxed-list"/>
                    </style>
                    <!-- Rows are added in code -->
                    <placeholder/>
                  </object>
                </child>

                <child>
                  <object class="GtkLinkButton">
                    <property name="label" translatable="yes">How to contribute missing information</property>
                    <property name="margin-top">16</property>
                    <property name="uri">https://gitlab.gnome.org/GNOME/gnome-software/-/wikis/software-metadata#hardware-support</property>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
  </template>
</interface>