diff options
author | Olivier Hallot <olivier.hallot@libreoffice.org> | 2020-06-30 09:50:10 -0300 |
---|---|---|
committer | Olivier Hallot <olivier.hallot@libreoffice.org> | 2020-07-01 16:37:20 +0200 |
commit | eac284aa0067d7c209f4acac891185f1cc271265 (patch) | |
tree | e4745bc352d5466c8e9554f18192d68c59edfb33 /cui | |
parent | 6fabad9e9dfbd70b687da0d9cbbc0085e9022642 (diff) |
Move ahelp contents for ext'ded tooltips QR code
Copy <ahelp> contents of the QRcode Help page to the
AtkObject::accesible-description field in qrcodegen.ui file
for each applicable widget.
Such move will turn <ahelp> tag obsolete, althout its contents
should be preserved.
helpcontent2/source/text/shared/guide/qrcode.xhp
Change-Id: Icded2e6bfd6c5c0e525a8174bea44a2997217510
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97526
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Diffstat (limited to 'cui')
-rw-r--r-- | cui/uiconfig/ui/qrcodegen.ui | 44 |
1 files changed, 39 insertions, 5 deletions
diff --git a/cui/uiconfig/ui/qrcodegen.ui b/cui/uiconfig/ui/qrcodegen.ui index 2c01c16f1715..973df071daf5 100644 --- a/cui/uiconfig/ui/qrcodegen.ui +++ b/cui/uiconfig/ui/qrcodegen.ui @@ -1,9 +1,8 @@ <?xml version="1.0" encoding="UTF-8"?> -<!-- Generated with glade 3.22.0 --> +<!-- Generated with glade 3.22.2 --> <interface domain="cui"> <requires lib="gtk+" version="3.18"/> <object class="GtkAdjustment" id="border_value"> - <property name="lower">0</property> <property name="upper">75</property> <property name="value">1</property> <property name="step_increment">1</property> @@ -17,6 +16,9 @@ <property name="default_width">0</property> <property name="default_height">0</property> <property name="type_hint">dialog</property> + <child type="titlebar"> + <placeholder/> + </child> <child internal-child="vbox"> <object class="GtkBox"> <property name="can_focus">False</property> @@ -115,6 +117,11 @@ <property name="hexpand">True</property> <property name="activates_default">True</property> <property name="placeholder_text" translatable="yes" context="qrcodegen|edit_name">www.libreoffice.org</property> + <child internal-child="accessible"> + <object class="AtkObject" id="edit_text-atkobject"> + <property name="AtkObject::accessible-description" translatable="yes" context="qr text">The text from which to generate the QR code.</property> + </object> + </child> </object> <packing> <property name="left_attach">1</property> @@ -170,9 +177,6 @@ <property name="top_attach">0</property> </packing> </child> - <child> - <placeholder/> - </child> </object> <packing> <property name="left_attach">0</property> @@ -187,6 +191,11 @@ <property name="adjustment">border_value</property> <property name="snap_to_ticks">True</property> <property name="numeric">True</property> + <child internal-child="accessible"> + <object class="AtkObject" id="edit_border-atkobject"> + <property name="AtkObject::accessible-description" translatable="yes" context="edit border">The width in dots of the border surrounding the QR code.</property> + </object> + </child> </object> <packing> <property name="left_attach">1</property> @@ -209,6 +218,11 @@ <property name="active">True</property> <property name="draw_indicator">True</property> <property name="group">button_medium</property> + <child internal-child="accessible"> + <object class="AtkObject" id="button_low-atkobject"> + <property name="AtkObject::accessible-description" translatable="yes" context="button_low">7% of codewords can be restored.</property> + </object> + </child> </object> <packing> <property name="left_attach">0</property> @@ -226,6 +240,11 @@ <property name="active">True</property> <property name="draw_indicator">True</property> <property name="group">button_low</property> + <child internal-child="accessible"> + <object class="AtkObject" id="button_medium-atkobject"> + <property name="AtkObject::accessible-description" translatable="yes" context="button_medium">15% of codewords can be restored.</property> + </object> + </child> </object> <packing> <property name="left_attach">0</property> @@ -243,6 +262,11 @@ <property name="active">True</property> <property name="draw_indicator">True</property> <property name="group">button_low</property> + <child internal-child="accessible"> + <object class="AtkObject" id="button_quartile-atkobject"> + <property name="AtkObject::accessible-description" translatable="yes" context="button_quartile">25% of codewords can be restored.</property> + </object> + </child> </object> <packing> <property name="left_attach">0</property> @@ -260,6 +284,11 @@ <property name="active">True</property> <property name="draw_indicator">True</property> <property name="group">button_low</property> + <child internal-child="accessible"> + <object class="AtkObject" id="button_high-atkobject"> + <property name="AtkObject::accessible-description" translatable="yes" context="button_high">30% of codewords can be restored.</property> + </object> + </child> </object> <packing> <property name="left_attach">0</property> @@ -306,5 +335,10 @@ <action-widget response="-5">ok</action-widget> <action-widget response="-11">help</action-widget> </action-widgets> + <child internal-child="accessible"> + <object class="AtkObject" id="QrCodeGenDialog-atkobject"> + <property name="AtkObject::accessible-description" translatable="yes" context="qr code dialog title">Generate QR Code for any text or URL.</property> + </object> + </child> </object> </interface> |