Skip to content

PythonQt.QtGui.QStyleOptionToolButton

QStyleOptionToolButton

PythonQtInstanceWrapper object

Native bases: PythonQtInstanceWrapper

Supplemental documentation: Qt 5 reference:

Detailed Description

QStyleOptionToolButton contains all the information that QStyle functions need to draw QToolButton.

For performance reasons, the access to the member variables is direct (i.e., using the . or -> operator). This low-level feel makes the structures straightforward to use and emphasizes that these are simply parameters used by the style functions.

For an example demonstrating how style options can be used, see the Styles example.

Source: https://doc.qt.io/archives/qt-5.15/qstyleoptiontoolbutton.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
Arrow attribute Any
HasMenu attribute Any (shared captured text)
Menu attribute Any
MenuButtonPopup attribute Any
None_ attribute Any (shared captured text)
PopupDelay attribute Any
StyleOptionType attribute type Convert a number or string to an integer, or return 0 if no arguments are given. (shared captured text)
StyleOptionVersion attribute type Convert a number or string to an integer, or return 0 if no arguments are given. (shared captured text)
ToolButtonFeature attribute type Convert a number or string to an integer, or return 0 if no arguments are given.
ToolButtonFeatures attribute type Convert a number or string to an integer, or return 0 if no arguments are given.
Type attribute Any (shared captured text)
Version attribute Any (shared captured text)
__init__ function (self, *args: Any, **kwargs: Any) -> None Native constructor; consult class documentation for supported overloads. (shared captured text)
arrowType attribute Any
className function (self, *args: Any, **kwargs: Any) -> Any Return the classname of the object (shared captured text)
delete function (self, *args: Any, **kwargs: Any) -> Any Deletes the C++ object (at your own risk, my friend!) (shared captured text)
features attribute Any (shared captured text)
font attribute QFont (shared captured text)
help function (self, *args: Any, **kwargs: Any) -> Any Shows the help of available methods for this class (shared captured text)
icon attribute QIcon (shared captured text)
iconSize attribute QSize (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)
pos attribute QPoint (shared captured text)
text attribute Any (shared captured text)
toolButtonStyle attribute Any