QStyleHints¶
The
QStyleHints
class contains platform specific hints and settings. More…
Synopsis¶
Functions¶
def
cursorFlashTime
()def
fontSmoothingGamma
()def
keyboardAutoRepeatRate
()def
keyboardInputInterval
()def
mouseDoubleClickInterval
()def
mousePressAndHoldInterval
()def
mouseQuickSelectionThreshold
()def
passwordMaskCharacter
()def
passwordMaskDelay
()def
setCursorFlashTime
(cursorFlashTime)def
setFocusOnTouchRelease
()def
setKeyboardInputInterval
(keyboardInputInterval)def
setMouseDoubleClickInterval
(mouseDoubleClickInterval)def
setMousePressAndHoldInterval
(mousePressAndHoldInterval)def
setMouseQuickSelectionThreshold
(threshold)def
setStartDragDistance
(startDragDistance)def
setStartDragTime
(startDragTime)def
setTabFocusBehavior
(tabFocusBehavior)def
setUseHoverEffects
(useHoverEffects)def
setWheelScrollLines
(scrollLines)def
showIsFullScreen
()def
showIsMaximized
()def
showShortcutsInContextMenus
()def
singleClickActivation
()def
startDragDistance
()def
startDragTime
()def
startDragVelocity
()def
tabFocusBehavior
()def
useHoverEffects
()def
useRtlExtensions
()def
wheelScrollLines
()
Signals¶
def
cursorFlashTimeChanged
(cursorFlashTime)def
keyboardInputIntervalChanged
(keyboardInputInterval)def
mouseDoubleClickIntervalChanged
(mouseDoubleClickInterval)def
mousePressAndHoldIntervalChanged
(mousePressAndHoldInterval)def
mouseQuickSelectionThresholdChanged
(threshold)def
startDragDistanceChanged
(startDragDistance)def
startDragTimeChanged
(startDragTime)def
tabFocusBehaviorChanged
(tabFocusBehavior)def
useHoverEffectsChanged
(useHoverEffects)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
-
PySide2.QtGui.QStyleHints.
cursorFlashTime
()¶ - Return type
int
-
PySide2.QtGui.QStyleHints.
cursorFlashTimeChanged
(cursorFlashTime)¶ - Parameters
cursorFlashTime –
int
-
PySide2.QtGui.QStyleHints.
fontSmoothingGamma
()¶ - Return type
qreal
-
PySide2.QtGui.QStyleHints.
keyboardAutoRepeatRate
()¶ - Return type
int
-
PySide2.QtGui.QStyleHints.
keyboardInputInterval
()¶ - Return type
int
-
PySide2.QtGui.QStyleHints.
keyboardInputIntervalChanged
(keyboardInputInterval)¶ - Parameters
keyboardInputInterval –
int
-
PySide2.QtGui.QStyleHints.
mouseDoubleClickInterval
()¶ - Return type
int
-
PySide2.QtGui.QStyleHints.
mouseDoubleClickIntervalChanged
(mouseDoubleClickInterval)¶ - Parameters
mouseDoubleClickInterval –
int
-
PySide2.QtGui.QStyleHints.
mousePressAndHoldInterval
()¶ - Return type
int
-
PySide2.QtGui.QStyleHints.
mousePressAndHoldIntervalChanged
(mousePressAndHoldInterval)¶ - Parameters
mousePressAndHoldInterval –
int
-
PySide2.QtGui.QStyleHints.
mouseQuickSelectionThreshold
()¶ - Return type
int
-
PySide2.QtGui.QStyleHints.
mouseQuickSelectionThresholdChanged
(threshold)¶ - Parameters
threshold –
int
-
PySide2.QtGui.QStyleHints.
passwordMaskCharacter
()¶ - Return type
QChar
-
PySide2.QtGui.QStyleHints.
passwordMaskDelay
()¶ - Return type
int
-
PySide2.QtGui.QStyleHints.
setCursorFlashTime
(cursorFlashTime)¶ - Parameters
cursorFlashTime –
int
Sets the
cursorFlashTime
.See also
-
PySide2.QtGui.QStyleHints.
setFocusOnTouchRelease
()¶ - Return type
bool
-
PySide2.QtGui.QStyleHints.
setKeyboardInputInterval
(keyboardInputInterval)¶ - Parameters
keyboardInputInterval –
int
Sets the
keyboardInputInterval
.See also
-
PySide2.QtGui.QStyleHints.
setMouseDoubleClickInterval
(mouseDoubleClickInterval)¶ - Parameters
mouseDoubleClickInterval –
int
Sets the
mouseDoubleClickInterval
.See also
-
PySide2.QtGui.QStyleHints.
setMousePressAndHoldInterval
(mousePressAndHoldInterval)¶ - Parameters
mousePressAndHoldInterval –
int
Sets the
mousePressAndHoldInterval
.See also
-
PySide2.QtGui.QStyleHints.
setMouseQuickSelectionThreshold
(threshold)¶ - Parameters
threshold –
int
Sets the mouse quick selection threshold.
See also
-
PySide2.QtGui.QStyleHints.
setStartDragDistance
(startDragDistance)¶ - Parameters
startDragDistance –
int
Sets the
startDragDistance
.See also
-
PySide2.QtGui.QStyleHints.
setStartDragTime
(startDragTime)¶ - Parameters
startDragTime –
int
Sets the
startDragDragTime
.See also
-
PySide2.QtGui.QStyleHints.
setTabFocusBehavior
(tabFocusBehavior)¶ - Parameters
tabFocusBehavior –
TabFocusBehavior
Sets the
tabFocusBehavior
.See also
-
PySide2.QtGui.QStyleHints.
setUseHoverEffects
(useHoverEffects)¶ - Parameters
useHoverEffects –
bool
See also
-
PySide2.QtGui.QStyleHints.
setWheelScrollLines
(scrollLines)¶ - Parameters
scrollLines –
int
Sets the
wheelScrollLines
.See also
-
PySide2.QtGui.QStyleHints.
showIsFullScreen
()¶ - Return type
bool
-
PySide2.QtGui.QStyleHints.
showIsMaximized
()¶ - Return type
bool
-
PySide2.QtGui.QStyleHints.
showShortcutsInContextMenus
()¶ - Return type
bool
-
PySide2.QtGui.QStyleHints.
singleClickActivation
()¶ - Return type
bool
-
PySide2.QtGui.QStyleHints.
startDragDistance
()¶ - Return type
int
-
PySide2.QtGui.QStyleHints.
startDragDistanceChanged
(startDragDistance)¶ - Parameters
startDragDistance –
int
-
PySide2.QtGui.QStyleHints.
startDragTime
()¶ - Return type
int
-
PySide2.QtGui.QStyleHints.
startDragTimeChanged
(startDragTime)¶ - Parameters
startDragTime –
int
-
PySide2.QtGui.QStyleHints.
startDragVelocity
()¶ - Return type
int
-
PySide2.QtGui.QStyleHints.
tabFocusBehavior
()¶ - Return type
TabFocusBehavior
-
PySide2.QtGui.QStyleHints.
tabFocusBehaviorChanged
(tabFocusBehavior)¶ - Parameters
tabFocusBehavior –
TabFocusBehavior
-
PySide2.QtGui.QStyleHints.
useHoverEffects
()¶ - Return type
bool
See also
-
PySide2.QtGui.QStyleHints.
useHoverEffectsChanged
(useHoverEffects)¶ - Parameters
useHoverEffects –
bool
-
PySide2.QtGui.QStyleHints.
useRtlExtensions
()¶ - Return type
bool
-
PySide2.QtGui.QStyleHints.
wheelScrollLines
()¶ - Return type
int
-
PySide2.QtGui.QStyleHints.
wheelScrollLinesChanged
(scrollLines)¶ - Parameters
scrollLines –
int
© 2018 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.