QStyleHintsclass contains platform specific hints and settings. 更多 …
def
cursorFlashTime
()
def
fontSmoothingGamma
()
def
keyboardAutoRepeatRate
()
def
keyboardInputInterval
()
def
mouseDoubleClickDistance
()
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
setShowShortcutsInContextMenus
(showShortcutsInContextMenus)
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
touchDoubleTapDistance
()
def
useHoverEffects
()
def
useRtlExtensions
()
def
wheelScrollLines
()
def
cursorFlashTimeChanged
(cursorFlashTime)
def
keyboardInputIntervalChanged
(keyboardInputInterval)
def
mouseDoubleClickIntervalChanged
(mouseDoubleClickInterval)
def
mousePressAndHoldIntervalChanged
(mousePressAndHoldInterval)
def
mouseQuickSelectionThresholdChanged
(threshold)
def
showShortcutsInContextMenusChanged
(arg__1)
def
startDragDistanceChanged
(startDragDistance)
def
startDragTimeChanged
(startDragTime)
def
tabFocusBehaviorChanged
(tabFocusBehavior)
def
useHoverEffectsChanged
(useHoverEffects)
def
wheelScrollLinesChanged
(scrollLines)
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.
另请参阅
PySide2.QtGui.QStyleHints.
cursorFlashTime
(
)
¶
int
PySide2.QtGui.QStyleHints.
cursorFlashTimeChanged
(
cursorFlashTime
)
¶
cursorFlashTime
–
int
PySide2.QtGui.QStyleHints.
fontSmoothingGamma
(
)
¶
qreal
PySide2.QtGui.QStyleHints.
keyboardAutoRepeatRate
(
)
¶
int
PySide2.QtGui.QStyleHints.
keyboardInputInterval
(
)
¶
int
PySide2.QtGui.QStyleHints.
keyboardInputIntervalChanged
(
keyboardInputInterval
)
¶
keyboardInputInterval
–
int
PySide2.QtGui.QStyleHints.
mouseDoubleClickDistance
(
)
¶
int
PySide2.QtGui.QStyleHints.
mouseDoubleClickInterval
(
)
¶
int
PySide2.QtGui.QStyleHints.
mouseDoubleClickIntervalChanged
(
mouseDoubleClickInterval
)
¶
mouseDoubleClickInterval
–
int
PySide2.QtGui.QStyleHints.
mousePressAndHoldInterval
(
)
¶
int
PySide2.QtGui.QStyleHints.
mousePressAndHoldIntervalChanged
(
mousePressAndHoldInterval
)
¶
mousePressAndHoldInterval
–
int
PySide2.QtGui.QStyleHints.
mouseQuickSelectionThreshold
(
)
¶
int
PySide2.QtGui.QStyleHints.
mouseQuickSelectionThresholdChanged
(
threshold
)
¶
threshold
–
int
PySide2.QtGui.QStyleHints.
passwordMaskCharacter
(
)
¶
QChar
PySide2.QtGui.QStyleHints.
passwordMaskDelay
(
)
¶
int
PySide2.QtGui.QStyleHints.
setCursorFlashTime
(
cursorFlashTime
)
¶
cursorFlashTime
–
int
设置
cursorFlashTime
.
另请参阅
PySide2.QtGui.QStyleHints.
setFocusOnTouchRelease
(
)
¶
bool
PySide2.QtGui.QStyleHints.
setKeyboardInputInterval
(
keyboardInputInterval
)
¶
keyboardInputInterval
–
int
设置
keyboardInputInterval
.
PySide2.QtGui.QStyleHints.
setMouseDoubleClickInterval
(
mouseDoubleClickInterval
)
¶
mouseDoubleClickInterval
–
int
设置
mouseDoubleClickInterval
.
PySide2.QtGui.QStyleHints.
setMousePressAndHoldInterval
(
mousePressAndHoldInterval
)
¶
mousePressAndHoldInterval
–
int
设置
mousePressAndHoldInterval
.
PySide2.QtGui.QStyleHints.
setMouseQuickSelectionThreshold
(
threshold
)
¶
threshold
–
int
Sets the mouse quick selection threshold.
PySide2.QtGui.QStyleHints.
setShowShortcutsInContextMenus
(
showShortcutsInContextMenus
)
¶
showShortcutsInContextMenus
–
bool
PySide2.QtGui.QStyleHints.
setStartDragDistance
(
startDragDistance
)
¶
startDragDistance
–
int
设置
startDragDistance
.
另请参阅
PySide2.QtGui.QStyleHints.
setStartDragTime
(
startDragTime
)
¶
startDragTime
–
int
设置
startDragDragTime
.
另请参阅
PySide2.QtGui.QStyleHints.
setTabFocusBehavior
(
tabFocusBehavior
)
¶
tabFocusBehavior
–
TabFocusBehavior
设置
tabFocusBehavior
.
另请参阅
PySide2.QtGui.QStyleHints.
setUseHoverEffects
(
useHoverEffects
)
¶
useHoverEffects
–
bool
另请参阅
PySide2.QtGui.QStyleHints.
setWheelScrollLines
(
scrollLines
)
¶
scrollLines
–
int
设置
wheelScrollLines
.
另请参阅
PySide2.QtGui.QStyleHints.
showIsFullScreen
(
)
¶
bool
PySide2.QtGui.QStyleHints.
showIsMaximized
(
)
¶
bool
PySide2.QtGui.QStyleHints.
showShortcutsInContextMenus
(
)
¶
bool
PySide2.QtGui.QStyleHints.
showShortcutsInContextMenusChanged
(
arg__1
)
¶
arg__1
–
bool
PySide2.QtGui.QStyleHints.
singleClickActivation
(
)
¶
bool
PySide2.QtGui.QStyleHints.
startDragDistance
(
)
¶
int
PySide2.QtGui.QStyleHints.
startDragDistanceChanged
(
startDragDistance
)
¶
startDragDistance
–
int
PySide2.QtGui.QStyleHints.
startDragTime
(
)
¶
int
PySide2.QtGui.QStyleHints.
startDragTimeChanged
(
startDragTime
)
¶
startDragTime
–
int
PySide2.QtGui.QStyleHints.
startDragVelocity
(
)
¶
int
PySide2.QtGui.QStyleHints.
tabFocusBehavior
(
)
¶
TabFocusBehavior
PySide2.QtGui.QStyleHints.
tabFocusBehaviorChanged
(
tabFocusBehavior
)
¶
tabFocusBehavior
–
TabFocusBehavior
PySide2.QtGui.QStyleHints.
touchDoubleTapDistance
(
)
¶
int
PySide2.QtGui.QStyleHints.
useHoverEffects
(
)
¶
bool
另请参阅
PySide2.QtGui.QStyleHints.
useHoverEffectsChanged
(
useHoverEffects
)
¶
useHoverEffects
–
bool
PySide2.QtGui.QStyleHints.
useRtlExtensions
(
)
¶
bool
PySide2.QtGui.QStyleHints.
wheelScrollLines
(
)
¶
int
PySide2.QtGui.QStyleHints.
wheelScrollLinesChanged
(
scrollLines
)
¶
scrollLines
–
int