summaryrefslogtreecommitdiff
path: root/data/ui/preferences-dialog.ui
blob: eb6e72c9c413d5433c0248e6315ddf4887ed3939 (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
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.22.2 -->
<interface>
  <requires lib="gtk+" version="3.10"/>
  <object class="GtkAdjustment" id="brightness_adjustment">
    <property name="lower">-100</property>
    <property name="upper">100</property>
    <property name="step_increment">1</property>
    <property name="page_increment">10</property>
  </object>
  <object class="GtkAdjustment" id="contrast_adjustment">
    <property name="lower">-100</property>
    <property name="upper">100</property>
    <property name="step_increment">1</property>
    <property name="page_increment">10</property>
  </object>
  <object class="GtkAdjustment" id="compression_adjustment">
    <property name="value">75</property>
    <property name="lower">0</property>
    <property name="upper">100</property>
    <property name="step_increment">1</property>
    <property name="page_increment">10</property>
    <property name="page_size">0</property>
  </object>
  <template class="PreferencesDialog" parent="AdwPreferencesWindow">
    <property name="icon_name">org.gnome.SimpleScan</property>
    <property name="search_enabled">False</property>
    <child>
      <object class="AdwPreferencesPage">
        <child>
          <object class="AdwPreferencesGroup">
            <property name="title" translatable="yes" comments="Preferences Dialog: Section label for scanning settings">Scanning</property>
            <child>
              <object class="AdwActionRow">
                <property name="title" translatable="yes" comments="Label beside scan side combo box">Scan _Sides</property>
                <property name="use_underline">True</property>
                <property name="activatable_widget">front_side_button</property>
                <child>
                  <object class="GtkBox" id="scan_side_box">
                    <property name="valign">center</property>
                    <property name="homogeneous">True</property>
                    <child>
                      <object class="GtkToggleButton" id="front_side_button">
                        <property name="label" translatable="yes" comments="Preferences Dialog: Toggle button to select scanning on front side of a page">Front</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkToggleButton" id="back_side_button">
                        <property name="label" translatable="yes" comments="Preferences Dialog: Toggle button to select scanning on the back side of a page">Back</property>
                        <property name="group">front_side_button</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkToggleButton" id="both_side_button">
                        <property name="label" translatable="yes" comments="Preferences Dialog: Toggle button to select scanning on both sides of a page">Both</property>
                        <property name="group">front_side_button</property>
                      </object>
                    </child>
                    <style>
                      <class name="linked"/>
                    </style>
                  </object>
                </child>
              </object>
            </child>
            <child>
              <object class="AdwComboRow" id="paper_size_row">
                <property name="title" translatable="yes" comments="Label beside page size combo box">_Page Size</property>
                <property name="use_underline">True</property>
              </object>
            </child>
            <child>
              <object class="AdwActionRow">
                <property name="title" translatable="yes" comments="Label beside page delay scale">_Delay in Seconds</property>
                <property name="subtitle" translatable="yes" comments="Provides context for the page delay scale">Interval to scan multiple pages</property>
                <property name="use_underline">True</property>
                <property name="activatable_widget">page_delay_0s_button</property>
                <child>
                  <object class="GtkBox">
                    <property name="valign">center</property>
                    <property name="homogeneous">True</property>
                    <child>
                      <object class="GtkToggleButton" id="page_delay_0s_button">
                        <property name="label" translatable="yes" comments="Preferences Dialog: Toggle button to select scanning on front side of a page">0</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkToggleButton" id="page_delay_3s_button">
                        <property name="label" translatable="yes" comments="Preferences Dialog: Toggle button to select scanning on front side of a page">3</property>
                        <property name="group">page_delay_0s_button</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkToggleButton" id="page_delay_6s_button">
                        <property name="label" translatable="yes" comments="Preferences Dialog: Toggle button to select scanning on front side of a page">6</property>
                        <property name="group">page_delay_0s_button</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkToggleButton" id="page_delay_10s_button">
                        <property name="label" translatable="yes" comments="Preferences Dialog: Toggle button to select scanning on front side of a page">10</property>
                        <property name="group">page_delay_0s_button</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkToggleButton" id="page_delay_15s_button">
                        <property name="label" translatable="yes" comments="Preferences Dialog: Toggle button to select scanning on front side of a page">15</property>
                        <property name="group">page_delay_0s_button</property>
                      </object>
                    </child>
                    <style>
                      <class name="linked"/>
                    </style>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
        <child>
          <object class="AdwPreferencesGroup">
            <property name="title" translatable="yes" comments="Preferences Dialog: Section label for quality settings">Quality</property>
            <child>
              <object class="AdwComboRow" id="text_dpi_row">
                <property name="title" translatable="yes" comments="Label beside scan resolution combo box">_Text Resolution</property>
                <property name="use_underline">True</property>
              </object>
            </child>
            <child>
              <object class="AdwComboRow" id="photo_dpi_row">
                <property name="title" translatable="yes" comments="Label beside scan resolution combo box">_Image Resolution</property>
                <property name="use_underline">True</property>
              </object>
            </child>
            <child>
              <object class="AdwActionRow">
                <property name="title" translatable="yes" comments="Label beside brightness scale">_Brightness</property>
                <property name="use_underline">True</property>
                <property name="activatable_widget">brightness_scale</property>
                <child>
                  <object class="GtkScale" id="brightness_scale">
                    <property name="valign">center</property>
                    <property name="hexpand">True</property>
                    <property name="adjustment">brightness_adjustment</property>
                    <property name="draw_value">False</property>
                  </object>
                </child>
              </object>
            </child>
            <child>
              <object class="AdwActionRow">
                <property name="title" translatable="yes" comments="Label beside contrast scale">_Contrast</property>
                <property name="use_underline">True</property>
                <property name="activatable_widget">contrast_scale</property>
                <child>
                  <object class="GtkScale" id="contrast_scale">
                    <property name="valign">center</property>
                    <property name="hexpand">True</property>
                    <property name="adjustment">contrast_adjustment</property>
                    <property name="draw_value">False</property>
                  </object>
                </child>
              </object>
            </child>
            <child>
              <object class="AdwActionRow">
                <property name="title" translatable="yes" comments="Label beside compression scale">Compression</property>
                <property name="use_underline">True</property>
                <property name="activatable_widget">compression_scale</property>
                <child>
                  <object class="GtkScale" id="compression_scale">
                    <property name="valign">center</property>
                    <property name="hexpand">True</property>
                    <property name="adjustment">compression_adjustment</property>
                    <property name="draw_value">False</property>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
        <child>
          <object class="AdwPreferencesGroup">
            <property name="title" translatable="yes" comments="Preferences Dialog: Section label for postprocessing settings">Postprocessing</property>
            <child>
              <object class="AdwActionRow">
                <property name="title" translatable="yes" comments="Switch to enable postprocessing">_Enable Postprocessing</property>
                <property name="use_underline">True</property>
                <property name="activatable_widget">postproc_enable_box</property>
                <child>
                  <object class="GtkBox" id="postproc_enable_box">
                    <property name="valign">center</property>
                    <property name="homogeneous">True</property>
                    <child>
                      <object class="GtkSwitch" id="postproc_enable_switch">
                        <property name="hexpand">False</property>
                        <property name="active">True</property>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>
            <child>
              <object class="AdwActionRow">
                <property name="title" translatable="yes" comments="Label beside postprocesing script name entry">_Script</property>
                <property name="use_underline">True</property>
                <property name="activatable_widget">postproc_script_entry</property>
                <child>
                  <object class="GtkBox" id="postproc_script_box">
                    <property name="valign">center</property>
                    <property name="homogeneous">True</property>

                    <child>
                      <object class="GtkEntry" id="postproc_script_entry">
                        <property name="hexpand">True</property>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>
            <child>
              <object class="AdwActionRow">
                <property name="title" translatable="yes" comments="Label beside postprocesing arguments entry">_Script arguments</property>
                <property name="use_underline">True</property>
                <property name="activatable_widget">postproc_args_entry</property>
                <child>
                  <object class="GtkBox" id="postproc_args_box">
                    <property name="valign">center</property>
                    <property name="homogeneous">True</property>

                    <child>
                      <object class="GtkEntry" id="postproc_args_entry">
                        <property name="hexpand">True</property>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>
            <child>
              <object class="AdwActionRow">
                <property name="title" translatable="yes" comments="Label beside keep keep original file radio">_Keep original file</property>
                <property name="use_underline">True</property>
                <property name="activatable_widget">postproc_keep_original_box</property>
                <child>
                  <object class="GtkBox" id="postproc_keep_original_box">
                    <property name="valign">center</property>
                    <property name="homogeneous">True</property>
                      <child>
                        <object class="GtkSwitch" id="postproc_keep_original_switch">
                        <property name="hexpand">False</property>
                        <property name="active">True</property>
                        </object>
                      </child>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
  </template>
  <object class="GtkSizeGroup" id="scale_size_group">
    <property name="mode">GTK_SIZE_GROUP_HORIZONTAL</property>
    <widgets>
      <widget name="brightness_scale"/>
      <widget name="contrast_scale"/>
    </widgets>
  </object>
</interface>