qt5base-lts/tests/auto/widgets
Friedemann Kleint 4cf0deef73 Add palette() and further hints to QtGui/QPlatformTheme.
- Move palette() from deprecated QtWidgets/QGuiPlatformPlugin
  to  QtGui/QPlatformTheme, Make it return a const * since
  QPalette does not have isNull().
- Initialize QGuiApplication::palette() and
  QApplication::systemPalette() from it.
- Do not initialize QPalette from QGuiApplication::palette()
  unless app_pal is non-null (default to Qt::black if it is 0).
  This avoids initialization order crashes/recursions in the
  QPA plugin. Streamline initialization function.
- Remove styleName(), systemIconThemeName() and iconSearchPaths()
  from QGuiPlatformPlugin and re-add them as
  QPlatformTheme::themeHint().
- Remove styleHint() from QGuiPlatformPlugin, add it to
  QPlatformTheme::themeHint().
- Add UNIX themes with factory function (Generic,
  KDE, Gnome), taking it from Qt 4.8 code (stripping the
  KDE 3 code).
- Implement Windows palettes.

Task-number: QTBUG-24204

Change-Id: Ie27ec035df4f84c42deaffc4816b2e53ce705462
Reviewed-by: Morten Johan Sørvig <morten.sorvig@nokia.com>
2012-02-17 11:44:29 +01:00
..
dialogs Add palette() and further hints to QtGui/QPlatformTheme. 2012-02-17 11:44:29 +01:00
effects Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
graphicsview Remove usages of QT_ARCH and QT_ARCH_* from qtbase 2012-02-17 08:22:43 +01:00
itemviews Remove usages of QT_ARCH and QT_ARCH_* from qtbase 2012-02-17 08:22:43 +01:00
kernel Fix ref counted window close handling. 2012-02-16 01:56:27 +01:00
shared Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
styles Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
util Eliminate duplicate data row names in widgets autotests. 2012-02-15 02:36:47 +01:00
widgets Remove usages of QT_ARCH and QT_ARCH_* from qtbase 2012-02-17 08:22:43 +01:00
widgets.pro Moved tests into integrationtests/ and widgets/ 2011-10-20 19:45:41 +02:00