qt5base-lts/tests/auto/other
Boris Dušek e6bbfc4d1a Make QAccessibleTextWidget::attributes respect default document font
QTextFormat::font{Weight,PointSize}() etc. return the font trait explicitly
set on the QTextFormat, while QTextFormat::font() returns font which also
uses the QTextDocument::defaultFont() as a default for any font traits not
explicitly set on the QTextFormat. Accessibility support for text attributes
used the former, which was wrong; this commit fixes it to use the latter.

Also includes tests to verify the fix.

Change-Id: Iab7f2be1b68adaad847d1f29c9e5af2195416035
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@theqtcompany.com>
2015-02-13 20:53:26 +00:00
..
android Update copyright headers 2015-02-11 06:49:51 +00:00
atwrapper Update copyright headers 2015-02-11 06:49:51 +00:00
baselineexample Update copyright headers 2015-02-11 06:49:51 +00:00
compiler Update copyright headers 2015-02-11 06:49:51 +00:00
gestures Update copyright headers 2015-02-11 06:49:51 +00:00
headersclean headersclean: process private modules correctly 2013-07-03 15:31:13 +02:00
lancelot Update copyright headers 2015-02-11 06:49:51 +00:00
languagechange Update copyright headers 2015-02-11 06:49:51 +00:00
macgui Update copyright headers 2015-02-11 06:49:51 +00:00
macnativeevents Update copyright headers 2015-02-11 06:49:51 +00:00
macplist Update copyright headers 2015-02-11 06:49:51 +00:00
modeltest Update copyright headers 2015-02-11 06:49:51 +00:00
networkselftest Update copyright headers 2015-02-11 06:49:51 +00:00
qaccessibility Make QAccessibleTextWidget::attributes respect default document font 2015-02-13 20:53:26 +00:00
qaccessibilitylinux Update copyright headers 2015-02-11 06:49:51 +00:00
qaccessibilitymac Update copyright headers 2015-02-11 06:49:51 +00:00
qcomplextext Update copyright headers 2015-02-11 06:49:51 +00:00
qfocusevent Update copyright headers 2015-02-11 06:49:51 +00:00
qnetworkaccessmanager_and_qprogressdialog Update copyright headers 2015-02-11 06:49:51 +00:00
qobjectperformance Update copyright headers 2015-02-11 06:49:51 +00:00
qobjectrace Update copyright headers 2015-02-11 06:49:51 +00:00
qprocess_and_guieventloop Update copyright headers 2015-02-11 06:49:51 +00:00
qsharedpointer_and_qwidget Update copyright headers 2015-02-11 06:49:51 +00:00
qtokenautomaton Update copyright headers 2015-02-11 06:49:51 +00:00
qvariant_common Update copyright headers 2015-02-11 06:49:51 +00:00
toolsupport Update copyright headers 2015-02-11 06:49:51 +00:00
windowsmobile Update copyright headers 2015-02-11 06:49:51 +00:00
other.pro Android: Don't open assets files in read/write mode 2015-01-28 12:20:54 +00:00