summaryrefslogtreecommitdiff
path: root/tests
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 /tests
parentafeb80429adaeec0fad34a5dd1c9aacecd61f559 (diff)
downloadqt-creator-74bf5d98e37f53ca7132f1319c18f80f5cd8f43e.tar.gz
debugger: add a simple-minded dumper for QRegion
Diffstat (limited to 'tests')
-rw-r--r--tests/manual/gdbdebugger/simple/app.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/manual/gdbdebugger/simple/app.cpp b/tests/manual/gdbdebugger/simple/app.cpp
index db880e4b2a..b71114418e 100644
--- a/tests/manual/gdbdebugger/simple/app.cpp
+++ b/tests/manual/gdbdebugger/simple/app.cpp
@@ -60,6 +60,7 @@
#include <QtGui/QLabel>
#include <QtGui/QPainter>
#include <QtGui/QPainterPath>
+#include <QtGui/QRegion>
#include <QtGui/QStandardItemModel>
#include <QtNetwork/QHostAddress>
@@ -803,6 +804,15 @@ void testQPixmap()
Q_UNUSED(i);
}
+void testQRegion()
+{
+ QRegion region;
+ region += QRect(100, 100, 200, 200);
+ region += QRect(300, 300, 400, 500);
+ region += QRect(500, 500, 600, 600);
+}
+
+
void testPlugin()
{
QString dir = QDir::currentPath();
@@ -1793,6 +1803,7 @@ int main(int argc, char *argv[])
//testWCout0();
//testWCout();
testColor();
+ testQRegion();
testStuff();
testPeekAndPoke3();
testFunctionPointer();