From: Friedemann Kleint Date: Thu, 11 Jun 2015 06:30:09 +0000 (+0200) Subject: qtdiag: Add new capabilities/style hints for Qt 5.5. X-Git-Tag: v5.5.90+alpha1~6^2~15 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6510c1e18c336c0a2bb0049b44b56acc8ace990d;p=platform%2Fupstream%2Fqttools.git qtdiag: Add new capabilities/style hints for Qt 5.5. Change-Id: I88bd49fb6b426a061f24b759cfa17553bfa90a3c Reviewed-by: Joerg Bornemann --- diff --git a/src/qtdiag/qtdiag.cpp b/src/qtdiag/qtdiag.cpp index 6af3ecc..d4e2575 100644 --- a/src/qtdiag/qtdiag.cpp +++ b/src/qtdiag/qtdiag.cpp @@ -313,6 +313,7 @@ QString qtDiag(unsigned flags) DUMP_CAPABILITY(str, platformIntegration, SyncState) DUMP_CAPABILITY(str, platformIntegration, RasterGLSurface) DUMP_CAPABILITY(str, platformIntegration, AllGLFunctionsQueryable) + DUMP_CAPABILITY(str, platformIntegration, ApplicationIcon) str << '\n'; const QStyleHints *styleHints = QGuiApplication::styleHints(); @@ -336,7 +337,13 @@ QString qtDiag(unsigned flags) << " fontSmoothingGamma: " << styleHints->fontSmoothingGamma() << '\n' << " useRtlExtensions: " << styleHints->useRtlExtensions() << '\n' << " setFocusOnTouchRelease: " << styleHints->setFocusOnTouchRelease() << '\n' - << " tabFocusBehavior: " << formatQDebug(styleHints->tabFocusBehavior()) << '\n'; + << " tabFocusBehavior: " << formatQDebug(styleHints->tabFocusBehavior()) << '\n' + << " singleClickActivation: " << styleHints->singleClickActivation() << '\n'; + str << "\nAdditional style hints (QPlatformIntegration):\n" + << " ShowIsMaximized: " + << platformIntegration->styleHint(QPlatformIntegration::ShowIsMaximized).toBool() << '\n' + << " ReplayMousePressOutsidePopup: " + << platformIntegration->styleHint(QPlatformIntegration::ReplayMousePressOutsidePopup).toBool() << '\n'; const QPlatformTheme *platformTheme = QGuiApplicationPrivate::platformTheme(); str << "\nTheme:\n Styles: " << platformTheme->themeHint(QPlatformTheme::StyleNames).toStringList();