pyqtribbon.separator module
- class pyqtribbon.separator.RibbonHorizontalSeparator(width: int = 6, parent=None)[source]
Bases:
RibbonSeparatorHorizontal separator.
Create a new horizontal separator.
- Parameters:
width – The width of the separator.
parent – The parent widget.
- class pyqtribbon.separator.RibbonSeparator(orientation=QtCore.Qt.Orientation.Vertical, width=6, parent=None)[source]
- class pyqtribbon.separator.RibbonSeparator(parent=None)
Bases:
QFrameThe RibbonSeparator is a separator that can be used to separate widgets in a ribbon.
Create a new separator.
- Parameters:
orientation – The orientation of the separator.
width – The width of the separator.
parent – The parent widget.
- paintEvent(event: QPaintEvent) None[source]
Paint the separator.
- class pyqtribbon.separator.RibbonVerticalSeparator(width: int = 6, parent=None)[source]
Bases:
RibbonSeparatorVertical separator.
Create a new vertical separator.
- Parameters:
width – The width of the separator.
parent – The parent widget.