summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorhjk <qtc-committer@nokia.com>2010-06-30 15:20:16 +0200
committerhjk <qtc-committer@nokia.com>2010-06-30 15:21:39 +0200
commit74bf5d98e37f53ca7132f1319c18f80f5cd8f43e (patch)
tree9e728e5999b93793a2b670440ae4f02c46d8f9df /share
parentafeb80429adaeec0fad34a5dd1c9aacecd61f559 (diff)
downloadqt-creator-74bf5d98e37f53ca7132f1319c18f80f5cd8f43e.tar.gz
debugger: add a simple-minded dumper for QRegion
Diffstat (limited to 'share')
-rw-r--r--share/qtcreator/gdbmacros/gdbmacros.py7
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):