QStyleHints

The QStyleHints class contains platform specific hints and settings. More

Inheritance diagram of PySide6.QtGui.QStyleHints

Synopsis

Functions

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

styleHints()

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.

PySide6.QtGui.QStyleHints.setFocusOnTouchRelease()
Return type

bool

PySide6.QtGui.QStyleHints.setKeyboardInputInterval(keyboardInputInterval)
Parameters

keyboardInputInterval – int

Sets the keyboardInputInterval.

PySide6.QtGui.QStyleHints.setMouseDoubleClickInterval(mouseDoubleClickInterval)
Parameters

mouseDoubleClickInterval – int

Sets the mouseDoubleClickInterval.

PySide6.QtGui.QStyleHints.setMousePressAndHoldInterval(mousePressAndHoldInterval)
Parameters

mousePressAndHoldInterval – int

Sets the mousePressAndHoldInterval.

PySide6.QtGui.QStyleHints.setMouseQuickSelectionThreshold(threshold)
Parameters

threshold – int

Sets the mouse quick selection threshold.

PySide6.QtGui.QStyleHints.setShowShortcutsInContextMenus(showShortcutsInContextMenus)
Parameters

showShortcutsInContextMenus – bool

PySide6.QtGui.QStyleHints.setStartDragDistance(startDragDistance)
Parameters

startDragDistance – int

Sets the startDragDistance.

PySide6.QtGui.QStyleHints.setStartDragTime(startDragTime)
Parameters

startDragTime – int

Sets the startDragDragTime.

See also

startDragTime()

PySide6.QtGui.QStyleHints.setTabFocusBehavior(tabFocusBehavior)
Parameters

tabFocusBehaviorTabFocusBehavior

Sets the tabFocusBehavior.

PySide6.QtGui.QStyleHints.setUseHoverEffects(useHoverEffects)
Parameters

useHoverEffects – bool

PySide6.QtGui.QStyleHints.setWheelScrollLines(scrollLines)
Parameters

scrollLines – int

Sets the wheelScrollLines.

PySide6.QtGui.QStyleHints.showIsFullScreen()
Return type

bool

PySide6.QtGui.QStyleHints.showIsMaximized()
Return type

bool

PySide6.QtGui.QStyleHints.showShortcutsInContextMenus()
Return type

bool

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

TabFocusBehavior

PySide6.QtGui.QStyleHints.tabFocusBehaviorChanged(tabFocusBehavior)
Parameters

tabFocusBehaviorTabFocusBehavior

PySide6.QtGui.QStyleHints.touchDoubleTapDistance()
Return type

int

PySide6.QtGui.QStyleHints.useHoverEffects()
Return type

bool

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