[Libreoffice-commits] core.git: cui/uiconfig
Olivier Hallot (via logerrit)
logerrit at kemper.freedesktop.org
Wed Jul 1 14:37:55 UTC 2020
cui/uiconfig/ui/qrcodegen.ui | 44 ++++++++++++++++++++++++++++++++++++++-----
1 file changed, 39 insertions(+), 5 deletions(-)
New commits:
commit eac284aa0067d7c209f4acac891185f1cc271265
Author: Olivier Hallot <olivier.hallot at libreoffice.org>
AuthorDate: Tue Jun 30 09:50:10 2020 -0300
Commit: Olivier Hallot <olivier.hallot at libreoffice.org>
CommitDate: Wed Jul 1 16:37:20 2020 +0200
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 at libreoffice.org>
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>
More information about the Libreoffice-commits
mailing list