debugger: add a simple-minded dumper for QRegion

This commit is contained in:
hjk
2010-06-30 15:20:16 +02:00
parent afeb80429a
commit 74bf5d98e3
2 changed files with 18 additions and 0 deletions

View File

@@ -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();