QStyleHints¶
The QStyleHints
class contains platform specific hints and settings. More…

Synopsis¶
Functions¶
def
cursorFlashTime
()def
cursorFlashTimeChanged
(cursorFlashTime)def
fontSmoothingGamma
()def
keyboardAutoRepeatRate
()def
keyboardInputInterval
()def
keyboardInputIntervalChanged
(keyboardInputInterval)def
mouseDoubleClickDistance
()def
mouseDoubleClickInterval
()def
mouseDoubleClickIntervalChanged
(mouseDoubleClickInterval)def
mousePressAndHoldInterval
()def
mousePressAndHoldIntervalChanged
(mousePressAndHoldInterval)def
mouseQuickSelectionThreshold
()def
mouseQuickSelectionThresholdChanged
(threshold)def
passwordMaskCharacter
()def
passwordMaskDelay
()def
setCursorFlashTime
(cursorFlashTime)def
setFocusOnTouchRelease
()def
setKeyboardInputInterval
(keyboardInputInterval)def
setMouseDoubleClickInterval
(mouseDoubleClickInterval)def
setMousePressAndHoldInterval
(mousePressAndHoldInterval)def
setMouseQuickSelectionThreshold
(threshold)def
setShowShortcutsInContextMenus
(showShortcutsInContextMenus)def
setStartDragDistance
(startDragDistance)def
setStartDragTime
(startDragTime)def
setTabFocusBehavior
(tabFocusBehavior)def
setUseHoverEffects
(useHoverEffects)def
setWheelScrollLines
(scrollLines)def
showIsFullScreen
()def
showIsMaximized
()def
showShortcutsInContextMenus
()def
showShortcutsInContextMenusChanged
(arg__1)def
singleClickActivation
()def
startDragDistance
()def
startDragDistanceChanged
(startDragDistance)def
startDragTime
()def
startDragTimeChanged
(startDragTime)def
startDragVelocity
()def
tabFocusBehavior
()def
tabFocusBehaviorChanged
(tabFocusBehavior)def
touchDoubleTapDistance
()def
useHoverEffects
()def
useHoverEffectsChanged
(useHoverEffects)def
useRtlExtensions
()def
wheelScrollLines
()def
wheelScrollLinesChanged
(scrollLines)
Detailed Description¶
An object of this class, obtained from QGuiApplication
, provides access to certain global user interface parameters of the current platform.
Access is read only; typically the platform itself provides the user a way to tune these parameters.
Access to these parameters are useful when implementing custom user interface components, in that they allow the components to exhibit the same behaviour and feel as other components.
See also
-
class
PySide6.QtGui.
QStyleHints
¶
-
PySide6.QtGui.QStyleHints.
cursorFlashTime
()¶ - Return type
int
-
PySide6.QtGui.QStyleHints.
cursorFlashTimeChanged
(cursorFlashTime)¶ - Parameters
cursorFlashTime – int
-
PySide6.QtGui.QStyleHints.
fontSmoothingGamma
()¶ - Return type
float
-
PySide6.QtGui.QStyleHints.
keyboardAutoRepeatRate
()¶ - Return type
int
-
PySide6.QtGui.QStyleHints.
keyboardInputInterval
()¶ - Return type
int
-
PySide6.QtGui.QStyleHints.
keyboardInputIntervalChanged
(keyboardInputInterval)¶ - Parameters
keyboardInputInterval – int
-
PySide6.QtGui.QStyleHints.
mouseDoubleClickDistance
()¶ - Return type
int
-
PySide6.QtGui.QStyleHints.
mouseDoubleClickInterval
()¶ - Return type
int
-
PySide6.QtGui.QStyleHints.
mouseDoubleClickIntervalChanged
(mouseDoubleClickInterval)¶ - Parameters
mouseDoubleClickInterval – int
-
PySide6.QtGui.QStyleHints.
mousePressAndHoldInterval
()¶ - Return type
int
-
PySide6.QtGui.QStyleHints.
mousePressAndHoldIntervalChanged
(mousePressAndHoldInterval)¶ - Parameters
mousePressAndHoldInterval – int
-
PySide6.QtGui.QStyleHints.
mouseQuickSelectionThreshold
()¶ - Return type
int
-
PySide6.QtGui.QStyleHints.
mouseQuickSelectionThresholdChanged
(threshold)¶ - Parameters
threshold – int
-
PySide6.QtGui.QStyleHints.
passwordMaskCharacter
()¶ - Return type
QChar
-
PySide6.QtGui.QStyleHints.
passwordMaskDelay
()¶ - Return type
int
-
PySide6.QtGui.QStyleHints.
setCursorFlashTime
(cursorFlashTime)¶ - Parameters
cursorFlashTime – int
Sets the cursorFlashTime
.
See also
-
PySide6.QtGui.QStyleHints.
setFocusOnTouchRelease
()¶ - Return type
bool
-
PySide6.QtGui.QStyleHints.
setKeyboardInputInterval
(keyboardInputInterval)¶ - Parameters
keyboardInputInterval – int
Sets the keyboardInputInterval
.
See also
-
PySide6.QtGui.QStyleHints.
setMouseDoubleClickInterval
(mouseDoubleClickInterval)¶ - Parameters
mouseDoubleClickInterval – int
Sets the mouseDoubleClickInterval
.
See also
-
PySide6.QtGui.QStyleHints.
setMousePressAndHoldInterval
(mousePressAndHoldInterval)¶ - Parameters
mousePressAndHoldInterval – int
Sets the mousePressAndHoldInterval
.
See also
-
PySide6.QtGui.QStyleHints.
setMouseQuickSelectionThreshold
(threshold)¶ - Parameters
threshold – int
Sets the mouse quick selection threshold.
See also
-
PySide6.QtGui.QStyleHints.
setShowShortcutsInContextMenus
(showShortcutsInContextMenus)¶ - Parameters
showShortcutsInContextMenus – bool
See also
-
PySide6.QtGui.QStyleHints.
setStartDragDistance
(startDragDistance)¶ - Parameters
startDragDistance – int
Sets the startDragDistance
.
See also
-
PySide6.QtGui.QStyleHints.
setStartDragTime
(startDragTime)¶ - Parameters
startDragTime – int
Sets the startDragDragTime
.
See also
-
PySide6.QtGui.QStyleHints.
setTabFocusBehavior
(tabFocusBehavior)¶ - Parameters
tabFocusBehavior –
TabFocusBehavior
Sets the tabFocusBehavior
.
See also
-
PySide6.QtGui.QStyleHints.
setUseHoverEffects
(useHoverEffects)¶ - Parameters
useHoverEffects – bool
See also
-
PySide6.QtGui.QStyleHints.
setWheelScrollLines
(scrollLines)¶ - Parameters
scrollLines – int
Sets the wheelScrollLines
.
See also
-
PySide6.QtGui.QStyleHints.
showIsFullScreen
()¶ - Return type
bool
-
PySide6.QtGui.QStyleHints.
showIsMaximized
()¶ - Return type
bool
-
PySide6.QtGui.QStyleHints.
showShortcutsInContextMenus
()¶ - Return type
bool
See also
-
PySide6.QtGui.QStyleHints.
showShortcutsInContextMenusChanged
(arg__1)¶ - Parameters
arg__1 – bool
-
PySide6.QtGui.QStyleHints.
singleClickActivation
()¶ - Return type
bool
-
PySide6.QtGui.QStyleHints.
startDragDistance
()¶ - Return type
int
-
PySide6.QtGui.QStyleHints.
startDragDistanceChanged
(startDragDistance)¶ - Parameters
startDragDistance – int
-
PySide6.QtGui.QStyleHints.
startDragTime
()¶ - Return type
int
-
PySide6.QtGui.QStyleHints.
startDragTimeChanged
(startDragTime)¶ - Parameters
startDragTime – int
-
PySide6.QtGui.QStyleHints.
startDragVelocity
()¶ - Return type
int
-
PySide6.QtGui.QStyleHints.
tabFocusBehavior
()¶ - Return type
-
PySide6.QtGui.QStyleHints.
tabFocusBehaviorChanged
(tabFocusBehavior)¶ - Parameters
tabFocusBehavior –
TabFocusBehavior
-
PySide6.QtGui.QStyleHints.
touchDoubleTapDistance
()¶ - Return type
int
-
PySide6.QtGui.QStyleHints.
useHoverEffects
()¶ - Return type
bool
See also
-
PySide6.QtGui.QStyleHints.
useHoverEffectsChanged
(useHoverEffects)¶ - Parameters
useHoverEffects – bool
-
PySide6.QtGui.QStyleHints.
useRtlExtensions
()¶ - Return type
bool
-
PySide6.QtGui.QStyleHints.
wheelScrollLines
()¶ - Return type
int
-
PySide6.QtGui.QStyleHints.
wheelScrollLinesChanged
(scrollLines)¶ - Parameters
scrollLines – int
© 2021 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.