Action
Qt Base Class: QAction
Signature: QAction(self, icon: Union[PySide6.QtGui.QIcon, PySide6.QtGui.QPixmap], text: str, parent: Optional[PySide6.QtCore.QObject] = None) -> None
QAction(self, parent: Optional[PySide6.QtCore.QObject] = None) -> None
QAction(self, text: str, parent: Optional[PySide6.QtCore.QObject] = None) -> None
Base classes
Name | Children | Inherits |
---|---|---|
ActionMixin prettyqt.gui.action |
||
QAction PySide6.QtGui QAction(self, icon: Union[PySide6.QtGui.QIcon, PySide6.QtGui.QPixmap], text: str, parent: Optional[PySide6.QtCore.QObject] \= None) -> None |
Subclasses
Class | Module | Description |
---|---|---|
PopupMenuAction |
prettyqt.widgets.mainwindow | |
FullScreenAction |
prettyqt.widgets.mainwindow |
⋔ Inheritance diagram
graph TD
1473245662672["gui.Action"]
1473245659744["gui.ActionMixin"]
1473299815024["core.ObjectMixin"]
140713234304496["builtins.object"]
1473289259344["QtGui.QAction"]
1473288842240["QtCore.QObject"]
1473291690208["Shiboken.Object"]
1473245659744 --> 1473245662672
1473299815024 --> 1473245659744
140713234304496 --> 1473299815024
1473289259344 --> 1473245662672
1473288842240 --> 1473289259344
1473291690208 --> 1473288842240
140713234304496 --> 1473291690208
🛈 DocStrings
⌗ Property table
Qt Property | Type | Doc |
---|---|---|
objectName |
QString | |
checkable |
bool | |
checked |
bool | |
enabled |
bool | |
icon |
QIcon | |
text |
QString | |
iconText |
QString | |
toolTip |
QString | |
statusTip |
QString | |
whatsThis |
QString | |
font |
QFont | |
shortcut |
QKeySequence | |
shortcutContext |
Qt::ShortcutContext | |
autoRepeat |
bool | |
visible |
bool | |
menuRole |
QAction::MenuRole | |
iconVisibleInMenu |
bool | |
shortcutVisibleInContextMenu |
bool | |
priority |
QAction::Priority | |
usage_count |
int | How often the action was triggered |