FrameMixin
Sub classes
| Name | Children | Inherits |
|---|---|---|
| Frame prettyqt.widgets.frame The base class of widgets that can have a frame. |
||
| AbstractScrollAreaMixin prettyqt.widgets.abstractscrollarea |
||
| Label prettyqt.widgets.label Text or image display. |
|
|
| LCDNumber prettyqt.widgets.lcdnumber Displays a number with LCD-like digits. |
||
| ToolBox prettyqt.widgets.toolbox Column of tabbed widget items. |
||
SplitterMixinprettyqt.widgets.splitter |
||
| StackedWidget prettyqt.widgets.stackedwidget Widget containing stack of widgets where only one widget is visible at a time. |
Base classes
| Name | Children | Inherits |
|---|---|---|
| WidgetMixin prettyqt.widgets.widget |
||
| object builtins The base class of the class hierarchy. |
⋔ Inheritance diagram
graph TD
1689631995["widgets.FrameMixin"]
829357528["widgets.WidgetMixin"]
3227531497["core.ObjectMixin"]
2751680898["builtins.object"]
625385617["gui.PaintDeviceMixin"]
829357528 --> 1689631995
3227531497 --> 829357528
2751680898 --> 3227531497
625385617 --> 829357528
2751680898 --> 625385617
2751680898 --> 829357528
2751680898 --> 1689631995
🛈 DocStrings
Bases: WidgetMixin, _FrameBase
Source code in prettyqt/widgets/frame.py
get_frame_shadow() -> ShadowStr | None
get_frame_shape() -> FrameShapeStr
set_frame_shadow(style: ShadowStr | widgets.QFrame.Shadow)
Set frame shadow.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
style
|
ShadowStr | Shadow
|
frame style to use |
required |
set_frame_shape(shape: FrameShapeStr | widgets.QFrame.Shape)
Set frame shape.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
shape
|
FrameShapeStr | Shape
|
frame shape to use |
required |