This enum describes the available theme hints.
Constant | Value | Description |
QPlatformTheme::CursorFlashTime | 0 | (int) Cursor flash time in ms, overriding QPlatformIntegration::styleHint |
QPlatformTheme::KeyboardInputInterval | 1 | (int) Keyboard input interval in ms, overriding QPlatformIntegration::styleHint |
QPlatformTheme::MouseDoubleClickInterval | 2 | (int) Mouse double click interval in ms, overriding QPlatformIntegration::styleHint |
QPlatformTheme::MouseDoubleClickDistance | 31 | (int) Maximum distance in logical pixels which the mouse can travel between clicks in order for the click sequence to be handled as a double click, default value is 5 logical pixels |
QPlatformTheme::MousePressAndHoldInterval | 30 | (int) Mouse press and hold interval in ms, overriding QPlatformIntegration::styleHint |
QPlatformTheme::StartDragDistance | 3 | Start drag distance, overriding QPlatformIntegration::styleHint |
QPlatformTheme::StartDragTime | 4 | (int) Start drag time in ms, overriding QPlatformIntegration::styleHint |
QPlatformTheme::WheelScrollLines | 32 | (int) Number of lines to scroll a widget, when the mouse wheel is rotated, default value is 3. Refer to QApplication::wheelScrollLines() |
QPlatformTheme::KeyboardAutoRepeatRate | 5 | (int) Keyboard auto repeat rate, overriding QPlatformIntegration::styleHint |
QPlatformTheme::PasswordMaskDelay | 6 | (int) Pass word mask delay in ms, overriding QPlatformIntegration::styleHint |
QPlatformTheme::StartDragVelocity | 7 | Velocity of a drag, overriding QPlatformIntegration::styleHint |
QPlatformTheme::TextCursorWidth | 8 | (int) Determines the width of the text cursor |
QPlatformTheme::DropShadow | 9 | (bool) Determines whether the drop shadow effect for tooltips or whatsthis is enabled |
QPlatformTheme::MaximumScrollBarDragDistance | 10 | (int) Determines the value returned by QStyle::pixelMetric(PM_MaximumDragDistance) |
QPlatformTheme::ToolButtonStyle | 11 | (int) A value representing a Qt::ToolButtonStyle |
QPlatformTheme::ToolBarIconSize | 12 | Icon size for toolbars |
QPlatformTheme::SystemIconThemeName | 14 | (QString) Name of the icon theme |
QPlatformTheme::SystemIconFallbackThemeName | 15 | (QString) Name of the fallback icon theme |
QPlatformTheme::IconThemeSearchPaths | 16 | (QStringList) Search paths for icons |
QPlatformTheme::ItemViewActivateItemOnSingleClick | 13 | (bool) Activate items by single click |
QPlatformTheme::StyleNames | 17 | QStringList) A list of preferred style names |
QPlatformTheme::WindowAutoPlacement | 18 | (bool) A boolean value indicating whether Windows (particularly dialogs) are placed by the system (see _NET_WM_FULL_PLACEMENT in X11) |
QPlatformTheme::DialogButtonBoxLayout | 19 | (int) An integer representing a QDialogButtonBox::ButtonLayout value |
QPlatformTheme::DialogButtonBoxButtonsHaveIcons | 20 | (bool) A boolean value indicating whether the buttons of a QDialogButtonBox should have icons |
QPlatformTheme::UseFullScreenForPopupMenu | 21 | (bool) Pop menus can cover the full screen including task bar |
QPlatformTheme::KeyboardScheme | 22 | (int) An integer value (enum KeyboardSchemes) specifying the keyboard scheme |
QPlatformTheme::UiEffects | 23 | (int) A flag value consisting of UiEffect values specifying the enabled UI animations |
QPlatformTheme::SpellCheckUnderlineStyle | 24 | (int) A QTextCharFormat::UnderlineStyle specifying the underline style used misspelled words when spell checking |
QPlatformTheme::TabFocusBehavior | 25 | (int) A Qt::TabFocusBehavior specifying the behavior of focus change when tab key was pressed |
QPlatformTheme::DialogSnapToDefaultButton | 28 | (bool) Whether the mouse should snap to the default button when a dialog becomes visible |
QPlatformTheme::ContextMenuOnMouseRelease | 29 | (bool) Whether the context menu should be shown on mouse release |