diff options
author | Samuel Rødal <samuel.rodal@digia.com> | 2012-10-15 17:06:34 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-10-22 19:36:43 +0200 |
commit | b213d5bfa3a8ed81077cd8eaf229764ff2f1b346 (patch) | |
tree | c38b11225116886274631306e6018ffd23cdc2af /dist | |
parent | 11566de014ed22051a53f1f0c94697fd18a87500 (diff) |
Make QPen default to 1-width non-cosmetic.
Use the Qt4CompatiblePainting render hint when painting with QPainter to
treat default constructed QPens as cosmetic still.
The NonCosmeticDefaultPen render hint gets documented as obsolete, since
it was in any case not respected by the raster nor OpenGL paint engine.
Change-Id: I04d910e9700baf7f13a8aac07a3633014bb9283e
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Diffstat (limited to 'dist')
-rw-r--r-- | dist/changes-5.0.0 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/dist/changes-5.0.0 b/dist/changes-5.0.0 index 5c9d5147c4..e42c5660f4 100644 --- a/dist/changes-5.0.0 +++ b/dist/changes-5.0.0 @@ -519,6 +519,11 @@ QtGui rectangle filling. It's possible to still get the old behavior by setting the QPainter::Qt4CompatiblePainting render hint. +* Behavioral change regarding QPen: The default QPen constructors now create a + 1-width non-cosmetic pen as opposed to a 0-width cosmetic pen. The old + behavior can be emulated by setting the QPainter::Qt4CompatiblePainting + render hint when painting. + QtWidgets --------- * QInputContext removed as well as related getters and setters on QWidget and QApplication. |