diff options
author | hjk <qtc-committer@nokia.com> | 2010-06-30 15:20:16 +0200 |
---|---|---|
committer | hjk <qtc-committer@nokia.com> | 2010-06-30 15:21:39 +0200 |
commit | 74bf5d98e37f53ca7132f1319c18f80f5cd8f43e (patch) | |
tree | 9e728e5999b93793a2b670440ae4f02c46d8f9df /share | |
parent | afeb80429adaeec0fad34a5dd1c9aacecd61f559 (diff) | |
download | qt-creator-74bf5d98e37f53ca7132f1319c18f80f5cd8f43e.tar.gz |
debugger: add a simple-minded dumper for QRegion
Diffstat (limited to 'share')
-rw-r--r-- | share/qtcreator/gdbmacros/gdbmacros.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/share/qtcreator/gdbmacros/gdbmacros.py b/share/qtcreator/gdbmacros/gdbmacros.py index 93dccf931b..43041b4ce7 100644 --- a/share/qtcreator/gdbmacros/gdbmacros.py +++ b/share/qtcreator/gdbmacros/gdbmacros.py @@ -1377,6 +1377,13 @@ def qdump__QRectF(d, item): d.putItem(Item(h, None, None, "h")) +def qdump__QRegion(d, item): + d.putValue(" ") + d.putNumChild(1) + if d.isExpanded(item): + with Children(d): + d.putCallItem("rects", item, "rects()") + def qdump__QSet(d, item): def hashDataFirstNode(value): |