PythonQt.QtGui.QStyleHints · declarations 001
Back to PythonQt.QtGui.QStyleHints
cursorFlashTime
instance-attribute
cursorFlashTime: int
Qt 5 reference:
cursorFlashTime : const int
This property holds the text cursor's flash (blink) time in milliseconds.
The flash time is the time used to display, invert and restore the caret display. Usually the text cursor is displayed for half the cursor flash time, then hidden for the same amount of time.
Access functions:
| int | cursorFlashTime() const |
|---|---|
Notifier signal:
| void | cursorFlashTimeChanged(int cursorFlashTime) |
|---|---|
Source: https://doc.qt.io/archives/qt-5.15/qstylehints.html#cursorFlashTime
cursorFlashTimeChanged
cursorFlashTimeChanged(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QStyleHints.cursorFlashTimeChanged; argument details are not documented.
destroyed
destroyed(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QStyleHints.destroyed; argument details are not documented.
fontSmoothingGamma
instance-attribute
fontSmoothingGamma: float
Qt 5 reference:
fontSmoothingGamma : const qreal
This property holds the gamma value used in font smoothing.
Access functions:
| qreal | fontSmoothingGamma() const |
|---|---|
Source: https://doc.qt.io/archives/qt-5.15/qstylehints.html#fontSmoothingGamma
keyboardAutoRepeatRate
instance-attribute
keyboardAutoRepeatRate: int
Qt 5 reference:
keyboardAutoRepeatRate : const int
This property holds the rate, in events per second, in which additional repeated key presses will automatically be generated if a key is being held down.
Access functions:
| int | keyboardAutoRepeatRate() const |
|---|---|
Source: https://doc.qt.io/archives/qt-5.15/qstylehints.html#keyboardAutoRepeatRate
keyboardInputInterval
instance-attribute
keyboardInputInterval: int
Qt 5 reference:
keyboardInputInterval : const int
This property holds the time limit, in milliseconds, that distinguishes a key press from two consecutive key presses.
Access functions:
| int | keyboardInputInterval() const |
|---|---|
Notifier signal:
| void | keyboardInputIntervalChanged(int keyboardInputInterval) |
|---|---|
Source: https://doc.qt.io/archives/qt-5.15/qstylehints.html#keyboardInputInterval
keyboardInputIntervalChanged
keyboardInputIntervalChanged(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QStyleHints.keyboardInputIntervalChanged; argument details are not documented.
mouseDoubleClickDistance
instance-attribute
mouseDoubleClickDistance: int
Qt 5 reference:
mouseDoubleClickDistance : const int
This property holds the maximum distance, in pixels, that the mouse can be moved between two consecutive mouse clicks and still have it detected as a double-click
This property was introduced in Qt 5.14.
Access functions:
| int | mouseDoubleClickDistance() const |
|---|---|
Source: https://doc.qt.io/archives/qt-5.15/qstylehints.html#mouseDoubleClickDistance
mouseDoubleClickInterval
instance-attribute
mouseDoubleClickInterval: int
Qt 5 reference:
mouseDoubleClickInterval : const int
This property holds the time limit in milliseconds that distinguishes a double click from two consecutive mouse clicks.
Access functions:
| int | mouseDoubleClickInterval() const |
|---|---|
Notifier signal:
| void | mouseDoubleClickIntervalChanged(int mouseDoubleClickInterval) |
|---|---|
Source: https://doc.qt.io/archives/qt-5.15/qstylehints.html#mouseDoubleClickInterval
mouseDoubleClickIntervalChanged
mouseDoubleClickIntervalChanged(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QStyleHints.mouseDoubleClickIntervalChanged; argument details are not documented.
mousePressAndHoldInterval
instance-attribute
mousePressAndHoldInterval: int
Qt 5 reference:
mousePressAndHoldInterval : const int
This property holds the time limit in milliseconds that activates a press and hold.
This property was introduced in Qt 5.3.
Access functions:
| int | mousePressAndHoldInterval() const |
|---|---|
Notifier signal:
| void | mousePressAndHoldIntervalChanged(int mousePressAndHoldInterval) |
|---|---|
Source: https://doc.qt.io/archives/qt-5.15/qstylehints.html#mousePressAndHoldInterval
mousePressAndHoldIntervalChanged
mousePressAndHoldIntervalChanged(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QStyleHints.mousePressAndHoldIntervalChanged; argument details are not documented.
mouseQuickSelectionThreshold
instance-attribute
mouseQuickSelectionThreshold: int
Qt 5 reference:
mouseQuickSelectionThreshold : const int
Quick selection mouse threshold in QLineEdit.
This property defines how much the mouse cursor should be moved along the y axis to trigger a quick selection during a normal QLineEdit text selection.
If the property value is less than or equal to 0, the quick selection feature is disabled.
This property was introduced in Qt 5.11.
Access functions:
| int | mouseQuickSelectionThreshold() const |
|---|---|
Notifier signal:
| void | mouseQuickSelectionThresholdChanged(int threshold) |
|---|---|
Source: https://doc.qt.io/archives/qt-5.15/qstylehints.html#mouseQuickSelectionThreshold
mouseQuickSelectionThresholdChanged
mouseQuickSelectionThresholdChanged(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QStyleHints.mouseQuickSelectionThresholdChanged; argument details are not documented.
objectNameChanged
objectNameChanged(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QStyleHints.objectNameChanged; argument details are not documented.
passwordMaskCharacter
instance-attribute
passwordMaskCharacter: str
Qt 5 reference:
passwordMaskCharacter : const QChar
This property holds the character used to mask the characters typed into text input fields in password mode.
Access functions:
| QChar | passwordMaskCharacter() const |
|---|---|
Source: https://doc.qt.io/archives/qt-5.15/qstylehints.html#passwordMaskCharacter
passwordMaskDelay
instance-attribute
passwordMaskDelay: int
Qt 5 reference:
passwordMaskDelay : const int
This property holds the time, in milliseconds, a typed letter is displayed unshrouded in a text input field in password mode.
Access functions:
| int | passwordMaskDelay() const |
|---|---|
Source: https://doc.qt.io/archives/qt-5.15/qstylehints.html#passwordMaskDelay
setCursorFlashTime
setCursorFlashTime(cursorFlashTime: int) -> None
X.setCursorFlashTime(cursorFlashTime)
Upstream PySide2 reference signatures (binding differences may apply):
setCursorFlashTime(self, cursorFlashTime: int) -> None
Source: https://doc.qt.io/archives/qt-5.15/qstylehints.html#setCursorFlashTime
setFocusOnTouchRelease
instance-attribute
setFocusOnTouchRelease: bool
Qt 5 reference:
setFocusOnTouchRelease : const bool
This property holds the event that should set input focus on focus objects.
This property is true if focus objects (line edits etc) should receive input focus
after a touch/mouse release. This is normal behavior on touch platforms. On desktop
platforms, the standard is to set focus already on touch/mouse press.
Access functions:
| bool | setFocusOnTouchRelease() const |
|---|---|
Source: https://doc.qt.io/archives/qt-5.15/qstylehints.html#setFocusOnTouchRelease
setKeyboardInputInterval
setKeyboardInputInterval(keyboardInputInterval: int) -> None
X.setKeyboardInputInterval(keyboardInputInterval)
Upstream PySide2 reference signatures (binding differences may apply):
setKeyboardInputInterval(self, keyboardInputInterval: int) -> None
Source: https://doc.qt.io/archives/qt-5.15/qstylehints.html#setKeyboardInputInterval
setMouseDoubleClickInterval
setMouseDoubleClickInterval(mouseDoubleClickInterval: int) -> None
X.setMouseDoubleClickInterval(mouseDoubleClickInterval)
Upstream PySide2 reference signatures (binding differences may apply):
setMouseDoubleClickInterval(self, mouseDoubleClickInterval: int) -> None
Source: https://doc.qt.io/archives/qt-5.15/qstylehints.html#setMouseDoubleClickInterval
setStartDragDistance
setStartDragDistance(startDragDistance: int) -> None
X.setStartDragDistance(startDragDistance)
Upstream PySide2 reference signatures (binding differences may apply):
setStartDragDistance(self, startDragDistance: int) -> None
Source: https://doc.qt.io/archives/qt-5.15/qstylehints.html#setStartDragDistance
setStartDragTime
setStartDragTime(startDragTime: int) -> None
X.setStartDragTime(startDragTime)
Upstream PySide2 reference signatures (binding differences may apply):
setStartDragTime(self, startDragTime: int) -> None
Source: https://doc.qt.io/archives/qt-5.15/qstylehints.html#setStartDragTime
showIsFullScreen
instance-attribute
showIsFullScreen: bool
Qt 5 reference:
showIsFullScreen : const bool
This property holds whether the platform defaults to fullscreen windows.
This property is true if the platform defaults to windows being fullscreen, otherwise
false.
Note: The platform may still choose to show certain windows non-fullscreen, such as popups or dialogs. This property only reports the default behavior.
Access functions:
| bool | showIsFullScreen() const |
|---|---|
See also QWindow::show() and showIsMaximized().
Source: https://doc.qt.io/archives/qt-5.15/qstylehints.html#showIsFullScreen
showIsMaximized
instance-attribute
showIsMaximized: bool
Qt 5 reference:
showIsMaximized : const bool
This property holds whether the platform defaults to maximized windows.
This property is true if the platform defaults to windows being maximized, otherwise
false.
Note: The platform may still choose to show certain windows non-maximized, such as popups or dialogs. This property only reports the default behavior.
This property was introduced in Qt 5.6.
Access functions:
| bool | showIsMaximized() const |
|---|---|
See also QWindow::show() and showIsFullScreen().
Source: https://doc.qt.io/archives/qt-5.15/qstylehints.html#showIsMaximized
showShortcutsInContextMenus
instance-attribute
showShortcutsInContextMenus: bool
Qt 5 reference:
showShortcutsInContextMenus : bool
true if the platform normally shows shortcut key sequences in context menus, otherwise
false.
Since Qt 5.13, the setShowShortcutsInContextMenus() function can be used to override the platform default.
This property was introduced in Qt 5.10.
Access functions:
| bool | showShortcutsInContextMenus() const |
|---|---|
| void | setShowShortcutsInContextMenus(bool showShortcutsInContextMenus) |
Notifier signal:
| void | showShortcutsInContextMenusChanged(bool) |
|---|---|
Source: https://doc.qt.io/archives/qt-5.15/qstylehints.html#showShortcutsInContextMenus
showShortcutsInContextMenusChanged
showShortcutsInContextMenusChanged(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QStyleHints.showShortcutsInContextMenusChanged; argument details are not documented.
singleClickActivation
instance-attribute
singleClickActivation: bool
Qt 5 reference:
singleClickActivation : const bool
This property holds whether items are activated by single or double click.
This property is true if items should be activated by single click, false if they
should be activated by double click instead.
This property was introduced in Qt 5.5.
Access functions:
| bool | singleClickActivation() const |
|---|---|
Source: https://doc.qt.io/archives/qt-5.15/qstylehints.html#singleClickActivation
startDragDistance
instance-attribute
startDragDistance: int
Qt 5 reference:
startDragDistance : const int
This property holds the distance, in pixels, that the mouse must be moved with a button held down before a drag and drop operation will begin.
If you support drag and drop in your application, and want to start a drag and drop operation after the user has moved the cursor a certain distance with a button held down, you should use this property's value as the minimum distance required.
For example, if the mouse position of the click is stored in startPos and the current
position (e.g. in the mouse move event) is currentPos, you can find out if a drag
should be started with code like this:
if ((startPos - currentPos).manhattanLength() >=
QApplication::startDragDistance())
startTheDrag();
Access functions:
| int | startDragDistance() const |
|---|---|
Notifier signal:
| void | startDragDistanceChanged(int startDragDistance) |
|---|---|
See also startDragTime, QPoint::manhattanLength(), and Drag and Drop.
Source: https://doc.qt.io/archives/qt-5.15/qstylehints.html#startDragDistance
startDragDistanceChanged
startDragDistanceChanged(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QStyleHints.startDragDistanceChanged; argument details are not documented.
startDragTime
instance-attribute
startDragTime: int
Qt 5 reference:
startDragTime : const int
This property holds the time, in milliseconds, that a mouse button must be held down before a drag and drop operation will begin.
If you support drag and drop in your application, and want to start a drag and drop operation after the user has held down a mouse button for a certain amount of time, you should use this property's value as the delay.
Access functions:
| int | startDragTime() const |
|---|---|
Notifier signal:
| void | startDragTimeChanged(int startDragTime) |
|---|---|
See also startDragDistance and Drag and Drop.
Source: https://doc.qt.io/archives/qt-5.15/qstylehints.html#startDragTime
startDragTimeChanged
startDragTimeChanged(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QStyleHints.startDragTimeChanged; argument details are not documented.
startDragVelocity
instance-attribute
startDragVelocity: int
Qt 5 reference:
startDragVelocity : const int
This property holds the limit for the velocity, in pixels per second, that the mouse may be moved, with a button held down, for a drag and drop operation to begin. A value of 0 means there is no such limit.
Access functions:
| int | startDragVelocity() const |
|---|---|
See also startDragDistance and Drag and Drop.
Source: https://doc.qt.io/archives/qt-5.15/qstylehints.html#startDragVelocity
tabFocusBehavior
instance-attribute
tabFocusBehavior: Any
Qt 5 reference:
tabFocusBehavior : const Qt::TabFocusBehavior
This property holds the focus behavior on press of the tab key.
Note: Do not bind this value in QML because the change notifier signal is not implemented yet.
This property was introduced in Qt 5.5.
Access functions:
| Qt::TabFocusBehavior | tabFocusBehavior() const |
|---|---|
Notifier signal:
| void | tabFocusBehaviorChanged(Qt::TabFocusBehavior tabFocusBehavior) |
|---|---|
Source: https://doc.qt.io/archives/qt-5.15/qstylehints.html#tabFocusBehavior
tabFocusBehaviorChanged
tabFocusBehaviorChanged(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QStyleHints.tabFocusBehaviorChanged; argument details are not documented.
touchDoubleTapDistance
instance-attribute
touchDoubleTapDistance: int
Qt 5 reference:
touchDoubleTapDistance : const int
This property holds the maximum distance, in pixels, that a finger can be moved between two consecutive taps and still have it detected as a double-tap
This property was introduced in Qt 5.14.
Access functions:
| int | touchDoubleTapDistance() const |
|---|---|
Source: https://doc.qt.io/archives/qt-5.15/qstylehints.html#touchDoubleTapDistance
useHoverEffects
instance-attribute
useHoverEffects: bool
Qt 5 reference:
useHoverEffects : bool
This property holds whether UI elements use hover effects.
This property is true if UI elements should use hover effects. This is the standard
behavior on desktop platforms with a mouse pointer, whereas on touch platforms the
overhead of hover event delivery can be avoided.
This property was introduced in Qt 5.8.
Access functions:
| bool | useHoverEffects() const |
|---|---|
| void | setUseHoverEffects(bool useHoverEffects) |
Notifier signal:
| void | useHoverEffectsChanged(bool useHoverEffects) |
|---|---|
Source: https://doc.qt.io/archives/qt-5.15/qstylehints.html#useHoverEffects
useHoverEffectsChanged
useHoverEffectsChanged(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QStyleHints.useHoverEffectsChanged; argument details are not documented.
useRtlExtensions
instance-attribute
useRtlExtensions: bool
Qt 5 reference:
useRtlExtensions : const bool
This property holds the writing direction.
This property is true if right-to-left writing direction is enabled, otherwise
false.
Access functions:
| bool | useRtlExtensions() const |
|---|---|
Source: https://doc.qt.io/archives/qt-5.15/qstylehints.html#useRtlExtensions
wheelScrollLines
instance-attribute
wheelScrollLines: int
Qt 5 reference:
wheelScrollLines : const int
Number of lines to scroll by default for each wheel click.
This property was introduced in Qt 5.9.
Access functions:
| int | wheelScrollLines() const |
|---|---|
Notifier signal:
| void | wheelScrollLinesChanged(int scrollLines) |
|---|---|
Source: https://doc.qt.io/archives/qt-5.15/qstylehints.html#wheelScrollLines