pyqtribbon.toolbutton
Module Contents
Classes
Button style, Small, Medium, or Large. |
|
Tool button that is showed in the ribbon. |
- class pyqtribbon.toolbutton.RibbonButtonStyle[source]
Bases:
enum.EnumButton style, Small, Medium, or Large.
- class pyqtribbon.toolbutton.RibbonToolButton(parent=None)[source]
Bases:
qtpy.QtWidgets.QToolButtonTool button that is showed in the ribbon.
- setMaximumIconSize(size: int)[source]
Set the maximum icon size of the button.
- Parameters:
size – The maximum icon size of the button.
- maximumIconSize() → int[source]
Get the maximum icon size of the button.
- Returns:
The maximum icon size of the button.
- setButtonStyle(style: RibbonButtonStyle)[source]
Set the button style of the button.
- Parameters:
style – The button style of the button.
- buttonStyle() → RibbonButtonStyle[source]
Get the button style of the button.
- Returns:
The button style of the button.