diff options
Diffstat (limited to 'panels/wacom/cc-wacom-page.ui')
-rw-r--r-- | panels/wacom/cc-wacom-page.ui | 89 |
1 files changed, 89 insertions, 0 deletions
diff --git a/panels/wacom/cc-wacom-page.ui b/panels/wacom/cc-wacom-page.ui new file mode 100644 index 0000000..327e5a9 --- /dev/null +++ b/panels/wacom/cc-wacom-page.ui @@ -0,0 +1,89 @@ +<?xml version="1.0" encoding="UTF-8"?> +<interface> + <template class="CcWacomPage" parent="GtkBox"> + <property name="orientation">vertical</property> + <property name="spacing">24</property> + <child> + <object class="AdwPreferencesGroup" id="tablet_section"> + <property name="header-suffix"> + <object class="GtkPicture" id="tablet_icon"> + <property name="halign">end</property> + <property name="valign">start</property> + </object> + </property> + <child> + <object class="AdwActionRow" id="tablet_mode"> + <property name="title" translatable="yes">Tablet Mode</property> + <property name="subtitle" translatable="yes">Use absolute positioning for the pen</property> + <property name="activatable_widget">tablet_mode_switch</property> + <child> + <object class="GtkSwitch" id="tablet_mode_switch"> + <property name="valign">center</property> + </object> + </child> + </object> + </child> + <child> + <object class="AdwActionRow" id="tablet_left_handed"> + <property name="title" translatable="yes">Left Hand Orientation</property> + <property name="subtitle" translatable="yes">Tablet and Express Keys™ are rotated for left hand use</property> + <property name="activatable_widget">tablet_left_handed_switch</property> + <child> + <object class="GtkSwitch" id="tablet_left_handed_switch"> + <property name="valign">center</property> + </object> + </child> + </object> + </child> + <child> + <object class="AdwActionRow" id="tablet_map_buttons"> + <property name="title" translatable="yes">Map Buttons</property> + <property name="activatable">True</property> + <signal name="activated" handler="on_map_buttons_activated" object="CcWacomPage" swapped="yes" /> + <child type="suffix"> + <object class="GtkImage"> + <property name="icon-name">go-next-symbolic</property> + </object> + </child> + </object> + </child> + </object> + </child> + + <child> + <object class="AdwPreferencesGroup" id="display_section"> + <child> + <object class="AdwComboRow" id="tablet_display"> + <property name="width_request">100</property> + <property name="title" translatable="yes" context="display setting">Map to Monitor</property> + <signal name="notify::selected-item" handler="on_display_selected" swapped="no"/> + </object> + </child> + <child> + <object class="AdwActionRow" id="tablet_aspect_ratio"> + <property name="title" translatable="yes">Keep Aspect Ratio</property> + <property name="subtitle" translatable="yes">Only use a portion of the tablet surface to keep monitor aspect ratio</property> + <property name="activatable_widget">tablet_aspect_ratio_switch</property> + <child> + <object class="GtkSwitch" id="tablet_aspect_ratio_switch"> + <property name="valign">center</property> + </object> + </child> + </object> + </child> + <child> + <object class="AdwActionRow" id="tablet_calibrate"> + <property name="title" translatable="yes">Calibrate</property> + <property name="activatable">True</property> + <signal name="activated" handler="on_calibrate_activated" object="CcWacomPage" swapped="yes" /> + <child type="suffix"> + <object class="GtkImage"> + <property name="icon-name">go-next-symbolic</property> + </object> + </child> + </object> + </child> + </object> + </child> + </template> +</interface> |