qt5base-lts/tests/auto
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
bic/data test: Add 5.1.0 bic data for linux-gcc-ia32 2013-07-08 21:47:36 +02:00
cmake Update text to the new license header 2015-02-12 18:29:40 +00:00
compilerwarnings/data Update copyright headers 2015-02-11 06:49:51 +00:00
concurrent Update copyright headers 2015-02-11 06:49:51 +00:00
corelib QUrl effective TLDs: update table 2015-02-13 07:28:17 +00:00
dbus Update copyright headers 2015-02-11 06:49:51 +00:00
gui Make the QPlatformTheme::keyBindings() search deterministic 2015-02-12 19:40:21 +00:00
guiapplauncher Update the documentation after moving examples. 2011-07-05 21:19:08 +02:00
installed_cmake Add a unit test for testing Qt in its install location. 2013-07-02 23:08:54 +02:00
network QSslSocket test - adapt 'verifyClientCertificate' for Secure Transport 2015-02-13 20:43:09 +00:00
opengl Update copyright headers 2015-02-11 06:49:51 +00:00
other Make QAccessibleTextWidget::attributes respect default document font 2015-02-13 20:53:26 +00:00
printsupport Update copyright headers 2015-02-11 06:49:51 +00:00
shared Update copyright headers 2015-02-11 06:49:51 +00:00
sql Update copyright headers 2015-02-11 06:49:51 +00:00
testlib Update copyright headers 2015-02-11 06:49:51 +00:00
tools Update copyright headers 2015-02-11 06:49:51 +00:00
widgets QtWidgets: assorted migrations to QString::asprintf 2015-02-12 19:39:49 +00:00
xml Update copyright headers 2015-02-11 06:49:51 +00:00
auto.pro Temporarily disable the QtDBus tests if the session bus isn't available 2014-12-23 12:22:56 +01:00
network-settings.h Update copyright headers 2015-02-11 06:49:51 +00:00
qtest-config.h Update copyright headers 2015-02-11 06:49:51 +00:00
test.pl Update copyright headers 2015-02-11 06:49:51 +00:00