Skip to content

PythonQt.Qt.QStyleHints

QStyleHints

PythonQtInstanceWrapper object

Native bases: PythonQtInstanceWrapper

Supplemental documentation: Qt 5 reference:

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.

Source: https://doc.qt.io/archives/qt-5.15/qstylehints.html

Complete member index

Every captured member retains its own identity. Identical captured declaration text is linked once; this does not establish native inheritance or interchangeable objects.

Member Kind Signature Summary
__init__ function (self, *args: Any, **kwargs: Any) -> None Native constructor; consult class documentation for supported overloads. (shared captured text)
blockSignals function (self, b: Any) -> bool X.blockSignals(b) -> bool (shared captured text)
childEvent function (self, event: Any) -> Any (shared captured text)
children function (self) -> tuple X.children() -> tuple (shared captured text)
className function (self, *args: Any, **kwargs: Any) -> Any Return the classname of the object (shared captured text)
connect function (self, signal: Any, receiver: Any, slot: Any, type: Any) -> bool X.connect(signal, receiver, slot, type) -> bool (shared captured text)
cursorFlashTime attribute int This property holds the text cursor's flash (blink) time in milliseconds. (shared captured text)
cursorFlashTimeChanged function (self, *args: Any, **kwargs: Any) -> Any Native PythonQt.Qt.QStyleHints.cursorFlashTimeChanged; argument details are not documented.
customEvent function (self, event: Any) -> Any (shared captured text)
delete function (self, *args: Any, **kwargs: Any) -> Any Deletes the C++ object (at your own risk, my friend!) (shared captured text)
deleteLater function (self) -> Any (shared captured text)
destroyed function (self, *args: Any, **kwargs: Any) -> Any Native PythonQt.Qt.QStyleHints.destroyed; argument details are not documented.
disconnect function (self, signal: Any, receiver: Any, slot: Any) -> bool X.disconnect(signal, receiver, slot) -> bool (shared captured text)
dumpObjectInfo function (self) -> Any (shared captured text)
dumpObjectTree function (self) -> Any (shared captured text)
dynamicPropertyNames function (self) -> Any (shared captured text)
event function (self, event: Any) -> bool X.event(event) -> bool (shared captured text)
eventFilter function (self, watched: Any, event: Any) -> bool X.eventFilter(watched, event) -> bool (shared captured text)
findChild function (self, type: Any, name: Any) -> Any X.findChild(type, name) -> PythonQt.private.QObject (shared captured text)
findChildren function (self, type: Any, name: Any) -> tuple X.findChildren(type, name) -> tuple (shared captured text)
fontSmoothingGamma attribute float This property holds the gamma value used in font smoothing. (shared captured text)
help function (self, *args: Any, **kwargs: Any) -> Any Shows the help of available methods for this class (shared captured text)
inherits function (self, *args: Any, **kwargs: Any) -> Any Returns if the class inherits or is of given type name (shared captured text)
installEventFilter function (self, filterObj: Any) -> Any (shared captured text)
isSignalConnected function (self, signal: Any) -> bool X.isSignalConnected(signal) -> bool (shared captured text)
isWidgetType function (self) -> bool X.isWidgetType() -> bool (shared captured text)
isWindowType function (self) -> bool X.isWindowType() -> bool (shared captured text)
keyboardAutoRepeatRate attribute 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. (shared captured text)
keyboardInputInterval attribute int This property holds the time limit, in milliseconds, that distinguishes a key press from two consecutive key presses. (shared captured text)
keyboardInputIntervalChanged function (self, *args: Any, **kwargs: Any) -> Any Native PythonQt.Qt.QStyleHints.keyboardInputIntervalChanged; argument details are not documented.
killTimer function (self, id: Any) -> Any (shared captured text)
metaObject function (self) -> Any X.metaObject() -> PythonQt.QtCore.QMetaObject (shared captured text)
mouseDoubleClickDistance attribute 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 (shared captured text)
mouseDoubleClickInterval attribute int This property holds the time limit in milliseconds that distinguishes a double click from two consecutive mouse clicks. (shared captured text)
mouseDoubleClickIntervalChanged function (self, *args: Any, **kwargs: Any) -> Any Native PythonQt.Qt.QStyleHints.mouseDoubleClickIntervalChanged; argument details are not documented.
mousePressAndHoldInterval attribute int This property holds the time limit in milliseconds that activates a press and hold. (shared captured text)
mousePressAndHoldIntervalChanged function (self, *args: Any, **kwargs: Any) -> Any Native PythonQt.Qt.QStyleHints.mousePressAndHoldIntervalChanged; argument details are not documented.
mouseQuickSelectionThreshold attribute int Quick selection mouse threshold in [QLineEdit](https://doc.qt.io/archives/qt-5.15/qlineedit.html). (shared captured text)
mouseQuickSelectionThresholdChanged function (self, *args: Any, **kwargs: Any) -> Any Native PythonQt.Qt.QStyleHints.mouseQuickSelectionThresholdChanged; argument details are not documented.
moveToThread function (self, thread: Any) -> Any (shared captured text)
objectName attribute Any (shared captured text)
objectNameChanged function (self, *args: Any, **kwargs: Any) -> Any Native PythonQt.Qt.QStyleHints.objectNameChanged; argument details are not documented.
parent function (self) -> Any X.parent() -> PythonQt.private.QObject (shared captured text)
passwordMaskCharacter attribute str This property holds the character used to mask the characters typed into text input fields in password mode. (shared captured text)
passwordMaskDelay attribute int This property holds the time, in milliseconds, a typed letter is displayed unshrouded in a text input field in password mode. (shared captured text)
property function (self, name: Any) -> Any X.property(name) -> object (shared captured text)
removeEventFilter function (self, obj: Any) -> Any (shared captured text)
sender function (self) -> Any X.sender() -> PythonQt.private.QObject (shared captured text)
senderSignalIndex function (self) -> int X.senderSignalIndex() -> int (shared captured text)
setCursorFlashTime function (self, cursorFlashTime: int) -> None (shared captured text)
setFocusOnTouchRelease attribute bool This property holds the event that should set input focus on focus objects. (shared captured text)
setKeyboardInputInterval function (self, keyboardInputInterval: int) -> None (shared captured text)
setMouseDoubleClickInterval function (self, mouseDoubleClickInterval: int) -> None (shared captured text)
setObjectName function (self, name: Any) -> Any (shared captured text)
setParent function (self, parent: Any) -> Any (shared captured text)
setProperty function (self, name: Any, value: Any) -> bool X.setProperty(name, value) -> bool (shared captured text)
setStartDragDistance function (self, startDragDistance: int) -> None (shared captured text)
setStartDragTime function (self, startDragTime: int) -> None (shared captured text)
showIsFullScreen attribute bool This property holds whether the platform defaults to fullscreen windows. (shared captured text)
showIsMaximized attribute bool This property holds whether the platform defaults to maximized windows. (shared captured text)
showShortcutsInContextMenus attribute bool true if the platform normally shows shortcut key sequences in context menus, otherwise false. (shared captured text)
showShortcutsInContextMenusChanged function (self, *args: Any, **kwargs: Any) -> Any Native PythonQt.Qt.QStyleHints.showShortcutsInContextMenusChanged; argument details are not documented.
signalsBlocked function (self) -> bool X.signalsBlocked() -> bool (shared captured text)
singleClickActivation attribute bool This property holds whether items are activated by single or double click. (shared captured text)
startDragDistance attribute 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. (shared captured text)
startDragDistanceChanged function (self, *args: Any, **kwargs: Any) -> Any Native PythonQt.Qt.QStyleHints.startDragDistanceChanged; argument details are not documented.
startDragTime attribute int This property holds the time, in milliseconds, that a mouse button must be held down before a drag and drop operation will begin. (shared captured text)
startDragTimeChanged function (self, *args: Any, **kwargs: Any) -> Any Native PythonQt.Qt.QStyleHints.startDragTimeChanged; argument details are not documented.
startDragVelocity attribute 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. (shared captured text)
startTimer function (self, interval: Any, timerType: Any) -> int X.startTimer(interval, timerType) -> int (shared captured text)
tabFocusBehavior attribute Any This property holds the focus behavior on press of the tab key. (shared captured text)
tabFocusBehaviorChanged function (self, *args: Any, **kwargs: Any) -> Any Native PythonQt.Qt.QStyleHints.tabFocusBehaviorChanged; argument details are not documented.
thread function (self) -> Any (shared captured text)
timerEvent function (self, event: Any) -> Any (shared captured text)
touchDoubleTapDistance attribute 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 (shared captured text)
tr function (self, text: Any, ambig: Any, n: Any) -> str X.tr(text, ambig, n) -> str (shared captured text)
useHoverEffects attribute bool This property holds whether UI elements use hover effects. (shared captured text)
useHoverEffectsChanged function (self, *args: Any, **kwargs: Any) -> Any Native PythonQt.Qt.QStyleHints.useHoverEffectsChanged; argument details are not documented.
useRtlExtensions attribute bool This property holds the writing direction. (shared captured text)
wheelScrollLines attribute int Number of lines to scroll by default for each wheel click. (shared captured text)
wheelScrollLinesChanged function (self, *args: Any, **kwargs: Any) -> Any Native PythonQt.Qt.QStyleHints.wheelScrollLinesChanged; argument details are not documented.