qt5base-lts/tests/manual/diaglib
Jani Heikkinen 83a5694dc2 Update copyright headers
Qt copyrights are now in The Qt Company, so we could update the source
code headers accordingly. In the same go we should also fix the links to
point to qt.io.

Outdated header.LGPL removed (use header.LGPL21 instead)

Old header.LGPL3 renamed to header.LGPL3-COMM to match actual licensing
combination. New header.LGPL-COMM taken in the use file which were
using old header.LGPL3 (src/plugins/platforms/android/extract.cpp)

Added new header.LGPL3 containing Commercial + LGPLv3 + GPLv2 license
combination

Change-Id: I6f49b819a8a20cc4f88b794a8f6726d975e8ffbe
Reviewed-by: Matti Paaso <matti.paaso@theqtcompany.com>
2015-02-11 06:49:51 +00:00
..
diaglib.pri Diaglib: Add helper functions for analyzing non-Latin strings. 2014-12-19 16:19:30 +01:00
eventfilter.cpp Update copyright headers 2015-02-11 06:49:51 +00:00
eventfilter.h Update copyright headers 2015-02-11 06:49:51 +00:00
glinfo.cpp Update copyright headers 2015-02-11 06:49:51 +00:00
glinfo.h Update copyright headers 2015-02-11 06:49:51 +00:00
nativewindowdump_win.cpp Update copyright headers 2015-02-11 06:49:51 +00:00
nativewindowdump.cpp Update copyright headers 2015-02-11 06:49:51 +00:00
nativewindowdump.h Update copyright headers 2015-02-11 06:49:51 +00:00
qwidgetdump.cpp Update copyright headers 2015-02-11 06:49:51 +00:00
qwidgetdump.h Update copyright headers 2015-02-11 06:49:51 +00:00
qwindowdump.cpp Update copyright headers 2015-02-11 06:49:51 +00:00
qwindowdump.h Update copyright headers 2015-02-11 06:49:51 +00:00
README.txt Diaglib: Add helper functions for analyzing non-Latin strings. 2014-12-19 16:19:30 +01:00
textdump.cpp Update copyright headers 2015-02-11 06:49:51 +00:00
textdump.h Update copyright headers 2015-02-11 06:49:51 +00: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.

function dumpText() (textdump.h)
  Returns a string containing the input text split up in characters
  listing category, script, direction etc.
  Useful for analyzing non-Latin text.

function  dumpTextAsCode() (textdump.h)
   Returns a string containing a code snippet creating a QString
   by appending the unicode value of character of the input.
   This is useful for constructing non-Latin strings with purely ASCII
   source code.

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.