QStyleHints

The QStyleHints class contains platform specific hints and settings. More

Inheritance diagram of PySide2.QtGui.QStyleHints

Synopsis

Functions

Signals

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()

PySide2.QtGui.QStyleHints.cursorFlashTime()
Return type

int

PySide2.QtGui.QStyleHints.cursorFlashTimeChanged(cursorFlashTime)
Parameters

cursorFlashTimeint

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

keyboardInputIntervalint

PySide2.QtGui.QStyleHints.mouseDoubleClickInterval()
Return type

int

PySide2.QtGui.QStyleHints.mouseDoubleClickIntervalChanged(mouseDoubleClickInterval)
Parameters

mouseDoubleClickIntervalint

PySide2.QtGui.QStyleHints.mousePressAndHoldInterval()
Return type

int

PySide2.QtGui.QStyleHints.mousePressAndHoldIntervalChanged(mousePressAndHoldInterval)
Parameters

mousePressAndHoldIntervalint

PySide2.QtGui.QStyleHints.mouseQuickSelectionThreshold()
Return type

int

PySide2.QtGui.QStyleHints.mouseQuickSelectionThresholdChanged(threshold)
Parameters

thresholdint

PySide2.QtGui.QStyleHints.passwordMaskCharacter()
Return type

QChar

PySide2.QtGui.QStyleHints.passwordMaskDelay()
Return type

int

PySide2.QtGui.QStyleHints.setCursorFlashTime(cursorFlashTime)
Parameters

cursorFlashTimeint

Sets the cursorFlashTime .

PySide2.QtGui.QStyleHints.setFocusOnTouchRelease()
Return type

bool

PySide2.QtGui.QStyleHints.setKeyboardInputInterval(keyboardInputInterval)
Parameters

keyboardInputIntervalint

Sets the keyboardInputInterval .

PySide2.QtGui.QStyleHints.setMouseDoubleClickInterval(mouseDoubleClickInterval)
Parameters

mouseDoubleClickIntervalint

Sets the mouseDoubleClickInterval .

PySide2.QtGui.QStyleHints.setMousePressAndHoldInterval(mousePressAndHoldInterval)
Parameters

mousePressAndHoldIntervalint

Sets the mousePressAndHoldInterval .

PySide2.QtGui.QStyleHints.setMouseQuickSelectionThreshold(threshold)
Parameters

thresholdint

Sets the mouse quick selection threshold.

PySide2.QtGui.QStyleHints.setShowShortcutsInContextMenus(showShortcutsInContextMenus)
Parameters

showShortcutsInContextMenusbool

PySide2.QtGui.QStyleHints.setStartDragDistance(startDragDistance)
Parameters

startDragDistanceint

Sets the startDragDistance .

PySide2.QtGui.QStyleHints.setStartDragTime(startDragTime)
Parameters

startDragTimeint

Sets the startDragDragTime .

See also

startDragTime()

PySide2.QtGui.QStyleHints.setTabFocusBehavior(tabFocusBehavior)
Parameters

tabFocusBehaviorTabFocusBehavior

Sets the tabFocusBehavior .

PySide2.QtGui.QStyleHints.setUseHoverEffects(useHoverEffects)
Parameters

useHoverEffectsbool

PySide2.QtGui.QStyleHints.setWheelScrollLines(scrollLines)
Parameters

scrollLinesint

Sets the wheelScrollLines .

PySide2.QtGui.QStyleHints.showIsFullScreen()
Return type

bool

PySide2.QtGui.QStyleHints.showIsMaximized()
Return type

bool

PySide2.QtGui.QStyleHints.showShortcutsInContextMenus()
Return type

bool

PySide2.QtGui.QStyleHints.showShortcutsInContextMenusChanged(arg__1)
Parameters

arg__1bool

PySide2.QtGui.QStyleHints.singleClickActivation()
Return type

bool

PySide2.QtGui.QStyleHints.startDragDistance()
Return type

int

PySide2.QtGui.QStyleHints.startDragDistanceChanged(startDragDistance)
Parameters

startDragDistanceint

PySide2.QtGui.QStyleHints.startDragTime()
Return type

int

PySide2.QtGui.QStyleHints.startDragTimeChanged(startDragTime)
Parameters

startDragTimeint

PySide2.QtGui.QStyleHints.startDragVelocity()
Return type

int

PySide2.QtGui.QStyleHints.tabFocusBehavior()
Return type

TabFocusBehavior

PySide2.QtGui.QStyleHints.tabFocusBehaviorChanged(tabFocusBehavior)
Parameters

tabFocusBehaviorTabFocusBehavior

PySide2.QtGui.QStyleHints.useHoverEffects()
Return type

bool

PySide2.QtGui.QStyleHints.useHoverEffectsChanged(useHoverEffects)
Parameters

useHoverEffectsbool

PySide2.QtGui.QStyleHints.useRtlExtensions()
Return type

bool

PySide2.QtGui.QStyleHints.wheelScrollLines()
Return type

int

PySide2.QtGui.QStyleHints.wheelScrollLinesChanged(scrollLines)
Parameters

scrollLinesint