kdelibs/kdeui/tests/kdebugtest_gui.cpp
Ivailo Monev 378d9d312a bring back kbugreport
it is required by homerun and possibly others, the fancy KBugReport
header was not remove but this is now irrelevant
2014-12-21 15:16:03 +00:00

26 lines
488 B
C++

#include "kdebug.h"
#include <QtGui/QWidget>
#include <QtGui/QApplication>
#include <QtCore/QVariant>
#include <QtGui/QPen>
int main(int argc, char** argv)
{
QApplication app(argc, argv);
QWidget widget(0);
widget.setGeometry(45, 54, 120, 80);
widget.show();
kDebug() << &widget;
QRect r(9,12,58,234);
QRegion reg(r);
reg += QRect(1,60,200,59);
kDebug() << reg;
QVariant v = QPen( Qt::red );
kDebug() << "Variant: " << v;
return 0;
}