qt5base-lts/tests/manual/diaglib
Friedemann Kleint 3740fb41fe DiagLib: Add Wheel event to mouse event category of the event filter..
Task-number: QTBUG-42731
Change-Id: Ib0293a245ed430bd86a1ceb221628b3044ad305e
Reviewed-by: Andy Shaw <andy.shaw@digia.com>
2014-12-11 16:10:32 +01:00
..
diaglib.pri Diaglib: Fix another typo in .pri file. 2014-12-05 15:32:37 +01:00
eventfilter.cpp DiagLib: Add Wheel event to mouse event category of the event filter.. 2014-12-11 16:10:32 +01:00
eventfilter.h Improve diaglib. 2014-11-25 22:39:39 +01:00
glinfo.cpp Improve diaglib. 2014-11-25 22:39:39 +01:00
glinfo.h Add diaglib under manual tests. 2014-11-13 12:14:51 +01:00
nativewindowdump_win.cpp Add diaglib under manual tests. 2014-11-13 12:14:51 +01:00
nativewindowdump.cpp Add diaglib under manual tests. 2014-11-13 12:14:51 +01:00
nativewindowdump.h Add diaglib under manual tests. 2014-11-13 12:14:51 +01:00
qwidgetdump.cpp Add diaglib under manual tests. 2014-11-13 12:14:51 +01:00
qwidgetdump.h Add diaglib under manual tests. 2014-11-13 12:14:51 +01:00
qwindowdump.cpp Add diaglib under manual tests. 2014-11-13 12:14:51 +01:00
qwindowdump.h Add diaglib under manual tests. 2014-11-13 12:14:51 +01:00
README.txt Add diaglib under manual tests. 2014-11-13 12:14:51 +01:00

This is a collection of functions and classes helpful for diagnosing bugs
in Qt 4 and Qt 5. It can be included in the application's .pro file by
adding:

include([path to Qt sources]/tests/manual/diaglib/diaglib.pri)

For Qt 4, the environment variable QTDIR may be used:
include($$(QTDIR)/tests/manual/diaglib/diaglib.pri)

The .pri file adds the define QT_DIAG_LIB, so, diagnostic
code can be enlosed within #ifdef to work without it as well.

All functions and classes are in the QtDiag namespace.

class EventFilter (eventfilter.h):
  An event filter that logs Qt events to qDebug() depending on
  configured categories (for example mouse, keyboard, etc).

function glInfo() (glinfo.h):
  Returns a string describing the Open GL configuration (obtained
  by querying GL_VENDOR and GL_RENDERER). Available only
  when the QT qmake variable contains opengl.

functions dumpNativeWindows(), dumpNativeQtTopLevels():
  These functions du,p out the hierarchy of native Windows. Currently
  implemented for Windows only.

function dumpAllWidgets() (qwidgetdump.h):
  Dumps the hierarchy of QWidgets including information about flags,
  visibility, geometry, etc.

function dumpAllWindows() (qwindowdump.h):
  Dumps the hierarchy of QWindows including information about flags,
  visibility, geometry, etc.