gnome-control-center/panels/universal-access/cc-zoom-options-dialog.ui
Georges Basile Stavracas Neto 9995a3bb79 universal-access: Port to GTK4
This was quite a huge port, but fortunately it mostly involved
removing tons of deprecated widgets (without replacement; just
drop them) and adjusting packing properties.
2021-12-14 22:34:21 -03:00

686 lines
36 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<interface>
<!-- interface-requires gtk+ 3.0 -->
<object class="GtkAdjustment" id="brightness_adjustment">
<property name="lower">-0.75</property>
<property name="upper">0.75</property>
<property name="step_increment">0.10000000000000001</property>
<property name="page_increment">0.10000000000000001</property>
</object>
<object class="GtkAdjustment" id="contrast_adjustment">
<property name="lower">-0.75</property>
<property name="upper">0.75</property>
<property name="step_increment">0.10000000000000001</property>
<property name="page_increment">0.10000000000000001</property>
</object>
<object class="GtkAdjustment" id="grayscale_adjustment">
<property name="upper">1</property>
<property name="value">1</property>
<property name="step_increment">0.10000000000000001</property>
<property name="page_increment">0.20000000000000001</property>
</object>
<object class="GtkAdjustment" id="magnifier_factor_adjustment">
<property name="lower">1</property>
<property name="upper">20</property>
<property name="value">2</property>
<property name="step_increment">0.25</property>
<property name="page_increment">1</property>
</object>
<object class="GtkListStore" id="screen_position_model">
<columns>
<!-- column-name positions -->
<column type="gchararray"/>
<!-- column-name text_scale -->
<column type="gfloat"/>
<!-- column-name setting_value -->
<column type="gchararray"/>
</columns>
<data>
<row>
<col id="0" translatable="yes">Full Screen</col>
<col id="1">1.25</col>
<col id="2">full-screen</col>
</row>
<row>
<col id="0" translatable="yes">Top Half</col>
<col id="1">1.25</col>
<col id="2">top-half</col>
</row>
<row>
<col id="0" translatable="yes">Bottom Half</col>
<col id="1">1.25</col>
<col id="2">bottom-half</col>
</row>
<row>
<col id="0" translatable="yes">Left Half</col>
<col id="1">1.25</col>
<col id="2">left-half</col>
</row>
<row>
<col id="0" translatable="yes">Right Half</col>
<col id="1">1.25</col>
<col id="2">right-half</col>
</row>
</data>
</object>
<template class="CcZoomOptionsDialog" parent="GtkDialog">
<property name="modal">True</property>
<property name="title" translatable="yes">Zoom Options</property>
<property name="resizable">False</property>
<property name="hide-on-close">True</property>
<child>
<object class="GtkBox">
<property name="orientation">vertical</property>
<property name="spacing">3</property>
<child>
<object class="GtkBox">
<property name="margin_start">6</property>
<property name="margin_end">6</property>
<property name="margin_top">6</property>
<child>
<object class="GtkLabel">
<property name="label" translatable="yes">_Zoom</property>
<property name="hexpand">True</property>
<property name="xalign">0</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">seeing_zoom_switch</property>
<attributes>
<attribute name="weight" value="bold"/>
<attribute name="scale" value="1.25"/>
</attributes>
</object>
</child>
<child>
<object class="GtkSwitch" id="seeing_zoom_switch" />
</child>
</object>
</child>
<child>
<object class="GtkNotebook">
<property name="margin_start">6</property>
<property name="margin_end">6</property>
<property name="margin_top">6</property>
<property name="margin_bottom">6</property>
<child>
<object class="GtkBox">
<property name="margin_start">18</property>
<property name="margin_end">18</property>
<property name="margin_top">12</property>
<property name="margin_bottom">12</property>
<property name="spacing">12</property>
<property name="orientation">vertical</property>
<!-- Magnification -->
<child>
<object class="GtkBox">
<child>
<object class="GtkLabel">
<property name="xalign">0</property>
<property name="label" translatable="yes">_Magnification:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">magnifier_factor_spin</property>
<attributes>
<attribute name="weight" value="bold"/>
<attribute name="scale" value="1.25"/>
</attributes>
</object>
</child>
<child>
<object class="GtkSpinButton" id="magnifier_factor_spin">
<property name="halign">start</property>
<property name="adjustment">magnifier_factor_adjustment</property>
<property name="digits">2</property>
<property name="hexpand">True</property>
<property name="margin-start">21</property>
</object>
</child>
</object>
</child>
<child>
<object class="GtkBox">
<property name="spacing">6</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkLabel">
<property name="label" translatable="yes">Magnifier Position:</property>
<property name="xalign">0.0</property>
<attributes>
<attribute name="weight" value="bold"/>
<attribute name="scale" value="1.25"/>
</attributes>
</object>
</child>
<child>
<object class="GtkBox">
<property name="margin-top">6</property>
<property name="margin-start">24</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkGrid">
<child>
<object class="GtkCheckButton" id="follow_mouse_radio">
<property name="label" translatable="yes">_Follow mouse cursor</property>
<property name="active">True</property>
<property name="use_underline">True</property>
<layout>
<property name="column">0</property>
<property name="row">0</property>
</layout>
</object>
</child>
<child>
<object class="GtkCheckButton" id="screen_part_radio">
<property name="label" translatable="yes">_Screen part:</property>
<property name="group">follow_mouse_radio</property>
<property name="use_underline">True</property>
<layout>
<property name="column">0</property>
<property name="row">1</property>
</layout>
</object>
</child>
<child>
<object class="GtkComboBox" id="screen_position_combobox">
<property name="model">screen_position_model</property>
<property name="active">0</property>
<layout>
<property name="column">1</property>
<property name="row">1</property>
</layout>
<child>
<object class="GtkCellRendererText"/>
<attributes>
<attribute name="scale">1</attribute>
<attribute name="text">0</attribute>
</attributes>
</child>
</object>
</child>
</object>
</child>
<child>
<object class="GtkBox">
<property name="margin-start">18</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkCheckButton" id="extend_beyond_checkbox">
<property name="label" translatable="yes">Magnifier _extends outside of screen</property>
<property name="use_underline">True</property>
<property name="margin-start">2</property>
</object>
</child>
<child>
<object class="GtkCheckButton" id="centered_radio">
<property name="label" translatable="yes">_Keep magnifier cursor centered</property>
<property name="active">True</property>
<property name="use_underline">True</property>
<signal name="toggled" handler="mouse_tracking_radio_toggled_cb" object="CcZoomOptionsDialog" swapped="yes"/>
</object>
</child>
<child>
<object class="GtkCheckButton" id="push_radio">
<property name="label" translatable="yes">Magnifier cursor _pushes contents around</property>
<property name="group">centered_radio</property>
<property name="use_underline">True</property>
<signal name="toggled" handler="mouse_tracking_radio_toggled_cb" object="CcZoomOptionsDialog" swapped="yes"/>
</object>
</child>
<child>
<object class="GtkCheckButton" id="proportional_radio">
<property name="label" translatable="yes">Magnifier cursor moves with _contents</property>
<property name="group">centered_radio</property>
<property name="use_underline">True</property>
<signal name="toggled" handler="mouse_tracking_radio_toggled_cb" object="CcZoomOptionsDialog" swapped="yes"/>
</object>
</child>
</object>
</child>
</object>
</child>
</object>
</child>
</object>
</child>
<child type="tab">
<object class="GtkLabel">
<property name="label" translatable="yes">Magnifier</property>
</object>
</child>
<child>
<object class="GtkBox">
<property name="margin_start">18</property>
<property name="margin_end">24</property>
<property name="margin_top">12</property>
<property name="margin_bottom">12</property>
<property name="spacing">12</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkBox">
<property name="spacing">6</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkBox">
<property name="spacing">12</property>
<child>
<object class="GtkLabel">
<property name="label" translatable="yes">_Crosshairs:</property>
<property name="use_markup">True</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">crosshair_enabled_switcher</property>
<attributes>
<attribute name="weight" value="bold"/>
<attribute name="scale" value="1.25"/>
</attributes>
</object>
</child>
<child>
<object class="GtkSwitch" id="crosshair_enabled_switcher">
<property name="valign">center</property>
</object>
</child>
<child>
<object class="GtkCheckButton" id="crosshair_clip_checkbox">
<property name="label" translatable="yes">_Overlaps mouse cursor</property>
<property name="halign">start</property>
<property name="margin_start">100</property>
<property name="hexpand">True</property>
<property name="use_underline">True</property>
</object>
</child>
</object>
</child>
<child>
<object class="GtkBox">
<property name="margin-top">8</property>
<property name="margin-start">16</property>
<property name="orientation">vertical</property>
<property name="spacing">6</property>
<child>
<object class="GtkGrid">
<property name="column_spacing">12</property>
<property name="row_spacing">16</property>
<child>
<object class="GtkLabel">
<property name="xalign">0</property>
<property name="label" translatable="yes">_Thickness:</property>
<property name="justify">center</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">crosshair_thickness_scale</property>
<property name="width_chars">12</property>
<layout>
<property name="column">0</property>
<property name="row">0</property>
</layout>
<attributes>
<attribute name="scale" value="1.25"/>
</attributes>
</object>
</child>
<child>
<object class="GtkBox">
<property name="spacing">3</property>
<layout>
<property name="column">1</property>
<property name="row">0</property>
</layout>
<child>
<object class="GtkLabel">
<property name="xalign">1</property>
<property name="label" translatable="yes" context="universal access, thickness">Thin</property>
<property name="justify">center</property>
<attributes>
<attribute name="scale" value="1.25"/>
</attributes>
</object>
</child>
<child>
<object class="GtkScale" id="crosshair_thickness_scale">
<property name="adjustment">crosshair_thickness_adjustment</property>
<property name="hexpand">True</property>
<property name="draw_value">False</property>
<property name="value_pos">right</property>
</object>
</child>
<child>
<object class="GtkLabel">
<property name="xalign">0</property>
<property name="label" translatable="yes" context="universal access, thickness">Thick</property>
<property name="justify">center</property>
<property name="margin-start">8</property>
<attributes>
<attribute name="scale" value="1.25"/>
</attributes>
</object>
</child>
</object>
</child>
<child>
<object class="GtkLabel">
<property name="xalign">0</property>
<property name="label" translatable="yes">_Length:</property>
<property name="justify">center</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">crosshair_length_slider</property>
<property name="width_chars">12</property>
<layout>
<property name="column">0</property>
<property name="row">1</property>
</layout>
<attributes>
<attribute name="scale" value="1.25"/>
</attributes>
</object>
</child>
<child>
<object class="GtkBox">
<property name="spacing">3</property>
<layout>
<property name="column">1</property>
<property name="row">1</property>
</layout>
<child>
<object class="GtkScale" id="crosshair_length_slider">
<property name="adjustment">crosshair_length_adjustment</property>
<property name="hexpand">True</property>
<property name="draw_value">False</property>
<property name="value_pos">right</property>
</object>
</child>
</object>
</child>
<child>
<object class="GtkLabel">
<property name="xalign">0</property>
<property name="label" translatable="yes" comments="The color of the accessibility crosshair">Co_lor:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">crosshair_picker_color_button</property>
<layout>
<property name="column">0</property>
<property name="row">2</property>
</layout>
<attributes>
<attribute name="scale" value="1.25"/>
</attributes>
</object>
</child>
<child>
<object class="GtkColorButton" id="crosshair_picker_color_button">
<property name="valign">start</property>
<property name="halign">start</property>
<layout>
<property name="column">1</property>
<property name="row">2</property>
</layout>
</object>
</child>
</object>
</child>
</object>
</child>
</object>
</child>
</object>
</child>
<child type="tab">
<object class="GtkLabel">
<property name="label" translatable="yes">Crosshairs</property>
</object>
</child>
<child>
<object class="GtkBox">
<property name="margin_start">18</property>
<property name="margin_end">24</property>
<property name="margin_top">12</property>
<property name="margin_bottom">12</property>
<property name="spacing">12</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkBox">
<property name="spacing">6</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkLabel">
<property name="label" translatable="yes">Color Effects:</property>
<property name="xalign">0</property>
<property name="use_markup">True</property>
<attributes>
<attribute name="weight" value="bold"/>
<attribute name="scale" value="1.25"/>
</attributes>
</object>
</child>
<child>
<object class="GtkBox">
<property name="margin-top">8</property>
<property name="margin-start">16</property>
<property name="orientation">vertical</property>
<property name="spacing">6</property>
<child>
<object class="GtkGrid">
<property name="row_spacing">16</property>
<property name="column_spacing">12</property>
<child>
<object class="GtkLabel">
<property name="xalign">0</property>
<property name="label" translatable="yes">_White on black:</property>
<property name="justify">right</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">inverse_enabled_switch</property>
<layout>
<property name="column">0</property>
<property name="row">0</property>
</layout>
<attributes>
<attribute name="scale" value="1.25"/>
</attributes>
</object>
</child>
<child>
<object class="GtkLabel">
<property name="xalign">0</property>
<property name="label" translatable="yes">_Brightness:</property>
<property name="justify">right</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">brightness_slider</property>
<property name="width_chars">12</property>
<layout>
<property name="column">0</property>
<property name="row">1</property>
</layout>
<attributes>
<attribute name="scale" value="1.25"/>
</attributes>
</object>
</child>
<child>
<object class="GtkLabel">
<property name="xalign">0</property>
<property name="label" translatable="yes">_Contrast:</property>
<property name="justify">right</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">contrast_slider</property>
<layout>
<property name="column">0</property>
<property name="row">2</property>
</layout>
<attributes>
<attribute name="scale" value="1.25"/>
</attributes>
</object>
</child>
<child>
<object class="GtkLabel">
<property name="xalign">0</property>
<property name="label" translatable="yes" context="universal access, contrast" comments="The contrast scale goes from Color to None (grayscale)">Co_lor</property>
<property name="justify">right</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">grayscale_slider</property>
<layout>
<property name="column">0</property>
<property name="row">3</property>
</layout>
<attributes>
<attribute name="scale" value="1.25"/>
</attributes>
</object>
</child>
<child>
<object class="GtkBox">
<property name="spacing">3</property>
<layout>
<property name="column">1</property>
<property name="row">3</property>
</layout>
<child>
<object class="GtkLabel">
<property name="xalign">1</property>
<property name="label" translatable="yes" context="universal access, color">None</property>
<property name="justify">center</property>
<attributes>
<attribute name="scale" value="1.25"/>
</attributes>
</object>
</child>
<child>
<object class="GtkScale" id="grayscale_slider">
<property name="adjustment">grayscale_adjustment</property>
<property name="hexpand">True</property>
<property name="draw_value">False</property>
<property name="value_pos">right</property>
</object>
</child>
<child>
<object class="GtkLabel">
<property name="xalign">0</property>
<property name="label" translatable="yes" context="universal access, color">Full</property>
<property name="justify">center</property>
<property name="margin-start">8</property>
<attributes>
<attribute name="scale" value="1.25"/>
</attributes>
</object>
</child>
</object>
</child>
<child>
<object class="GtkBox">
<property name="spacing">12</property>
<layout>
<property name="column">1</property>
<property name="row">0</property>
</layout>
<child>
<object class="GtkSwitch" id="inverse_enabled_switch" />
</child>
</object>
</child>
<child>
<object class="GtkBox">
<property name="spacing">3</property>
<layout>
<property name="column">1</property>
<property name="row">1</property>
</layout>
<child>
<object class="GtkLabel">
<property name="xalign">1</property>
<property name="label" translatable="yes" context="universal access, brightness">Low</property>
<property name="justify">center</property>
<attributes>
<attribute name="scale" value="1.25"/>
</attributes>
</object>
</child>
<child>
<object class="GtkScale" id="brightness_slider">
<property name="adjustment">brightness_adjustment</property>
<property name="hexpand">True</property>
<property name="draw_value">False</property>
<property name="value_pos">left</property>
</object>
</child>
<child>
<object class="GtkLabel">
<property name="xalign">0</property>
<property name="label" translatable="yes" context="universal access, brightness">High</property>
<property name="justify">center</property>
<property name="margin-start">8</property>
<attributes>
<attribute name="scale" value="1.25"/>
</attributes>
</object>
</child>
</object>
</child>
<child>
<object class="GtkBox">
<property name="spacing">3</property>
<layout>
<property name="column">1</property>
<property name="row">2</property>
</layout>
<child>
<object class="GtkLabel">
<property name="xalign">1</property>
<property name="label" translatable="yes" context="universal access, contrast">Low</property>
<property name="justify">center</property>
<attributes>
<attribute name="scale" value="1.25"/>
</attributes>
</object>
</child>
<child>
<object class="GtkScale" id="contrast_slider">
<property name="adjustment">contrast_adjustment</property>
<property name="hexpand">True</property>
<property name="draw_value">False</property>
<property name="value_pos">left</property>
</object>
</child>
<child>
<object class="GtkLabel">
<property name="xalign">0</property>
<property name="label" translatable="yes" context="universal access, contrast">High</property>
<property name="justify">center</property>
<property name="margin-start">8</property>
<attributes>
<attribute name="scale" value="1.25"/>
</attributes>
</object>
</child>
</object>
</child>
</object>
</child>
</object>
</child>
</object>
</child>
</object>
</child>
<child type="tab">
<object class="GtkLabel">
<property name="label" translatable="yes">Color Effects</property>
</object>
</child>
</object>
</child>
</object>
</child>
</template>
<object class="GtkAdjustment" id="crosshair_thickness_adjustment">
<property name="lower">1</property>
<property name="upper">100</property>
<property name="value">8</property>
<property name="step_increment">1</property>
<property name="page_increment">10</property>
</object>
<object class="GtkAdjustment" id="crosshair_length_adjustment">
<property name="lower">20</property>
<property name="upper">4096</property>
<property name="value">4096</property>
<property name="step_increment">1</property>
<property name="page_increment">100</property>
</object>
</interface>