summaryrefslogtreecommitdiffstats
path: root/panels/display/cc-display-settings.ui
blob: 64c44d15ee1c58c9584b90a79995691f078ce91d (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
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.22.0 -->
<interface>
  <template class="CcDisplaySettings" parent="GtkBox">
    <property name="spacing">18</property>
    <property name="orientation">vertical</property>

    <child>
      <object class="GtkListBox" id="enabled_listbox">
        <property name="hexpand">True</property>
        <property name="selection_mode">none</property>
        <style>
          <class name="boxed-list" />
        </style>
        <child>
          <object class="AdwActionRow" id="enabled_row">
            <property name="activatable-widget">enabled_switch</property>
            <child>
              <object class="GtkSwitch" id="enabled_switch">
                <property name="halign">end</property>
                <property name="valign">center</property>
                <accessibility>
                  <property name="label" translatable="yes">Enabled</property>
                </accessibility>
                <signal name="notify::active" handler="on_enabled_switch_active_changed_cb" swapped="no"/>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>

    <child>
      <object class="GtkListBox" id="listbox">
        <property name="hexpand">True</property>
        <property name="selection_mode">none</property>
        <style>
          <class name="boxed-list" />
        </style>
        <child>
          <object class="AdwComboRow" id="orientation_row">
            <property name="width_request">100</property>
            <property name="title" translatable="yes" context="display setting">Orientation</property>
            <signal name="notify::selected-item" handler="on_orientation_selection_changed_cb" swapped="no"/>
          </object>
        </child>
        <child>
          <object class="AdwComboRow" id="resolution_row">
            <property name="width_request">100</property>
            <property name="title" translatable="yes" context="display setting">Resolution</property>
            <signal name="notify::selected-item" handler="on_resolution_selection_changed_cb" swapped="no"/>
          </object>
        </child>
        <child>
          <object class="AdwComboRow" id="refresh_rate_row">
            <property name="width_request">100</property>
            <property name="title" translatable="yes">Refresh Rate</property>
            <signal name="notify::selected-item" handler="on_refresh_rate_selection_changed_cb" swapped="no"/>
          </object>
        </child>
        <child>
          <object class="AdwActionRow" id="underscanning_row">
            <property name="width_request">100</property>
            <property name="title" translatable="yes">Adjust for TV</property>
            <property name="activatable-widget">underscanning_switch</property>
            <child>
              <object class="GtkSwitch" id="underscanning_switch">
                <property name="can_focus">False</property>
                <property name="halign">end</property>
                <property name="valign">center</property>
                <signal name="notify::active" handler="on_underscanning_switch_active_changed_cb" swapped="no"/>
              </object>
            </child>
          </object>
        </child>
        <child>
          <object class="AdwActionRow" id="scale_buttons_row">
            <property name="width_request">100</property>
            <property name="title" translatable="yes" context="display setting">Scale</property>
            <child>
              <object class="GtkBox" id="scale_bbox">
                <property name="halign">end</property>
                <property name="valign">center</property>
                <style>
                  <class name="linked" />
                </style>
              </object>
            </child>
          </object>
        </child>
        <child>
          <object class="AdwComboRow" id="scale_combo_row">
            <property name="width_request">100</property>
            <property name="title" translatable="yes" context="display setting">Scale</property>
            <signal name="notify::selected-item" handler="on_scale_selection_changed_cb" swapped="no"/>
          </object>
        </child>
      </object>
    </child>
  </template>
</interface>