diff options
author | Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> | 2015-12-07 16:19:30 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> | 2015-12-09 10:18:42 +0000 |
commit | 893f2ade8573af56f761a1361dfe1e1f03154bdd (patch) | |
tree | 2663e25259aa835a6554c255e5dd9a872d67ffeb /examples/widgets | |
parent | 5ac2b391333d0b3047b64dd840a8109274b0fe88 (diff) |
Fix debug operator for QRegion.
Use QDebugStateSaver, drop the multiline format, check for null, empty and
output rectangular regions as:
QRegion(0,0 252x188)
and complicated regions as:
QRegion(size=4, bounds=(0,0 278x262) - [(0,0 278x13), (0,13 13x188), (265,13 13x188), (0,201 278x61)])
Change-Id: I82b8f58af08f7128e6cf2c2c8b06c4684fc6a9c8
Reviewed-by: Shawn Rutledge <shawn.rutledge@theqtcompany.com>
Reviewed-by: Gunnar Sletta <gunnar@sletta.org>
Diffstat (limited to 'examples/widgets')
0 files changed, 0 insertions, 0 deletions