diff options
author | Friedemann Kleint <[email protected]> | 2015-04-01 13:20:31 +0200 |
---|---|---|
committer | Friedemann Kleint <[email protected]> | 2015-04-01 11:58:20 +0000 |
commit | 2012c8e866dfe0344b6a801354af6541ba1acf43 (patch) | |
tree | 88c662038fe0c967561c151156a1dc72f5787658 /src/gui/opengl/qopengldebug.cpp | |
parent | cbf28577ef49b6f5b5e45ae2e74143969cbd9327 (diff) |
Improve debug operator for QGraphicsItem/QGraphicsObject.
Introduce QDebugStateSaver, use new formatting helpers and
output parent, flags and z only when necessary. Output the
widget contained in QGraphicsProxyWidget.
For example,
QGraphicsProxyWidget (this = 0x1877550 , parent = 0x0 , pos = QPointF(870,491) , z = 1e+30 , flags = ( ItemIsFocusable | ItemUsesExtendedStyleOpton | ItemSendsGeometryChanges | ItemIsPanel ) )
becomes:
QGraphicsProxyWidget(0x1877550, widget=ItemDialog(0x1e29dc0), pos=870,491, z=1e+30, flags=(ItemIsFocusable|ItemUsesExtendedStyleOption|ItemSendsGeometryChanges|ItemIsPanel))
Change-Id: Ia554dc3e2eb6f16d9d9220d1067194a4424b7cf5
Reviewed-by: Kai Koehne <[email protected]>
Diffstat (limited to 'src/gui/opengl/qopengldebug.cpp')
0 files changed, 0 insertions, 0 deletions