command_bar¶
Module Contents¶
Command button |
|
Command tool tip filter |
|
More action button |
|
Command separator |
|
Command menu |
|
Command bar |
|
Command view menu |
|
Command view bar |
|
Command bar view |
- class CommandButton(parent: PyQt5.QtWidgets.QWidget = None)¶
Bases:
qfluentwidgets.components.widgets.button.TransparentToggleToolButtonCommand button
Constructors¶
CommandButton(parent: QWidget = None)
CommandButton(icon: QIcon | str | FluentIconBase = None, parent: QWidget = None)
- setTight(isTight: bool)¶
- isTight()¶
- sizeHint() PyQt5.QtCore.QSize¶
- isIconOnly()¶
- text()¶
- setText(text: str)¶
- setAction(action: PyQt5.QtWidgets.QAction)¶
- action()¶
- paintEvent(e)¶
- class CommandToolTipFilter(parent: PyQt5.QtWidgets.QWidget, showDelay=300, position=ToolTipPosition.TOP)¶
Bases:
qfluentwidgets.components.widgets.tool_tip.ToolTipFilterCommand tool tip filter
- class MoreActionsButton(parent: PyQt5.QtWidgets.QWidget = None)¶
Bases:
CommandButtonMore action button
- sizeHint()¶
- clearState()¶
- class CommandSeparator(parent=None)¶
Bases:
PyQt5.QtWidgets.QWidgetCommand separator
- paintEvent(e)¶
- class CommandMenu(parent=None)¶
Bases:
qfluentwidgets.components.widgets.menu.RoundMenuCommand menu
- class CommandBar(parent=None)¶
Bases:
PyQt5.QtWidgets.QFrameCommand bar
- moreButton¶
- setSpaing(spacing: int)¶
- spacing()¶
- addActions(actions: Iterable[PyQt5.QtWidgets.QAction])¶
- addHiddenAction(action: PyQt5.QtWidgets.QAction)¶
add hidden action
- addHiddenActions(actions: List[PyQt5.QtWidgets.QAction])¶
add hidden action
- insertAction(before: PyQt5.QtWidgets.QAction, action: PyQt5.QtWidgets.QAction)¶
- addSeparator()¶
- insertSeparator(index: int)¶
- addWidget(widget: PyQt5.QtWidgets.QWidget)¶
add widget to command bar
- removeAction(action: PyQt5.QtWidgets.QAction)¶
- removeWidget(widget: PyQt5.QtWidgets.QWidget)¶
- removeHiddenAction(action: PyQt5.QtWidgets.QAction)¶
- setToolButtonStyle(style: PyQt5.QtCore.Qt.ToolButtonStyle)¶
set the style of tool button
- toolButtonStyle()¶
- setButtonTight(isTight: bool)¶
- isButtonTight()¶
- setIconSize(size: PyQt5.QtCore.QSize)¶
- iconSize()¶
- resizeEvent(e)¶
- minimumSizeHint() PyQt5.QtCore.QSize¶
- updateGeometry()¶
- suitableWidth()¶
- resizeToSuitableWidth()¶
- setFont(font: PyQt5.QtGui.QFont)¶
- property commandButtons¶
- setMenuDropDown(down: bool)¶
set the animation direction of more actions menu
- isMenuDropDown()¶
- class CommandViewMenu(parent=None)¶
Bases:
CommandMenuCommand view menu
- setDropDown(down: bool, long=False)¶
- class CommandViewBar(parent=None)¶
Bases:
CommandBarCommand view bar
- setMenuDropDown(down: bool)¶
set the animation direction of more actions menu
- isMenuDropDown()¶
- class CommandBarView(parent=None)¶
Bases:
qfluentwidgets.components.widgets.flyout.FlyoutViewBaseCommand bar view
- bar¶
- hBoxLayout¶
- setMenuVisible(isVisible)¶
- addWidget(widget: PyQt5.QtWidgets.QWidget)¶
- setSpaing(spacing: int)¶
- spacing()¶
- addAction(action: PyQt5.QtWidgets.QAction)¶
- addActions(actions: Iterable[PyQt5.QtWidgets.QAction])¶
- addHiddenAction(action: PyQt5.QtWidgets.QAction)¶
- addHiddenActions(actions: List[PyQt5.QtWidgets.QAction])¶
- insertAction(before: PyQt5.QtWidgets.QAction, action: PyQt5.QtWidgets.QAction)¶
- addSeparator()¶
- insertSeparator(index: int)¶
- removeAction(action: PyQt5.QtWidgets.QAction)¶
- removeWidget(widget: PyQt5.QtWidgets.QWidget)¶
- removeHiddenAction(action: PyQt5.QtWidgets.QAction)¶
- setToolButtonStyle(style: PyQt5.QtCore.Qt.ToolButtonStyle)¶
- toolButtonStyle()¶
- setButtonTight(isTight: bool)¶
- isButtonTight()¶
- setIconSize(size: PyQt5.QtCore.QSize)¶
- iconSize()¶
- setFont(font: PyQt5.QtGui.QFont)¶
- setMenuDropDown(down: bool)¶
- suitableWidth()¶
- resizeToSuitableWidth()¶
- actions()¶
- paintEvent(e)¶