QMenu露
- PyQt5.QtWidgets.QMenu
Inherits from QWidget.
Description露
TODO
Methods露
- __init__(parent: QWidget = None)
TODO
- __init__(str, parent: QWidget = None)
TODO
- actionEvent(QActionEvent)
TODO
- activeAction() → QAction
TODO
- addAction(QAction)
TODO
- addAction(str) → QAction
TODO
- addAction(str, PYQT_SLOT, shortcut: Union[QKeySequence, StandardKey, str, int] = 0) → QAction
TODO
- addAction(QIcon, str, PYQT_SLOT, shortcut: Union[QKeySequence, StandardKey, str, int] = 0) → QAction
TODO
- addMenu(str) → QMenu
TODO
- addSection(str) → QAction
TODO
- addSeparator() → QAction
TODO
- changeEvent(QEvent)
TODO
- clear()
TODO
- columnCount() → int
TODO
- defaultAction() → QAction
TODO
- enterEvent(QEvent)
TODO
- event(QEvent) → bool
TODO
- exec() → QAction
TODO
-
@staticmethod
exec(Iterable[QAction], QPoint, at: QAction = None, parent: QWidget = None) → QAction TODO
- exec_() → QAction
TODO
-
@staticmethod
exec_(Iterable[QAction], QPoint, at: QAction = None, parent: QWidget = None) → QAction TODO
- focusNextPrevChild(bool) → bool
TODO
- hideEvent(QHideEvent)
TODO
- hideTearOffMenu()
TODO
- icon() → QIcon
TODO
- initStyleOption(QStyleOptionMenuItem, QAction)
TODO
- isEmpty() → bool
TODO
- isTearOffEnabled() → bool
TODO
- isTearOffMenuVisible() → bool
TODO
- keyPressEvent(QKeyEvent)
TODO
- leaveEvent(QEvent)
TODO
- menuAction() → QAction
TODO
- mouseMoveEvent(QMouseEvent)
TODO
- mousePressEvent(QMouseEvent)
TODO
- mouseReleaseEvent(QMouseEvent)
TODO
- paintEvent(QPaintEvent)
TODO
- separatorsCollapsible() → bool
TODO
- setActiveAction(QAction)
TODO
- setAsDockMenu()
TODO
- setDefaultAction(QAction)
TODO
- setIcon(QIcon)
TODO
- setNoReplayFor(QWidget)
TODO
- setSeparatorsCollapsible(bool)
TODO
- setTearOffEnabled(bool)
TODO
- setTitle(str)
TODO
- setToolTipsVisible(bool)
TODO
- showTearOffMenu()
TODO
- showTearOffMenu(QPoint)
TODO
- sizeHint() → QSize
TODO
- timerEvent(QTimerEvent)
TODO
- title() → str
TODO
- toolTipsVisible() → bool
TODO
- wheelEvent(QWheelEvent)
TODO