acrylic_flyout#
Module Contents#
Acrylic flyout view base |
|
Acrylic flyout view |
|
Acrylic flyout |
- class AcrylicFlyoutViewBase(*args, **kwargs)#
Bases:
qfluentwidgets.components.material.acrylic_widget.AcrylicWidget
,qfluentwidgets.components.widgets.flyout.FlyoutViewBase
Acrylic flyout view base
- acrylicClipPath()#
- paintEvent(e)#
- class AcrylicFlyoutView(*args, **kwargs)#
Bases:
qfluentwidgets.components.material.acrylic_widget.AcrylicWidget
,qfluentwidgets.components.widgets.flyout.FlyoutView
Acrylic flyout view
- acrylicClipPath()#
- paintEvent(e)#
- class AcrylicFlyout(view: FlyoutViewBase, parent=None, isDeleteOnClose=True)#
Bases:
qfluentwidgets.components.widgets.flyout.Flyout
Acrylic flyout
- classmethod create(title: str, content: str, icon: qfluentwidgets.common.icon.FluentIconBase | PyQt5.QtGui.QIcon | str = None, image: str | PyQt5.QtGui.QPixmap | PyQt5.QtGui.QImage = None, isClosable=False, target: PyQt5.QtWidgets.QWidget | PyQt5.QtCore.QPoint = None, parent=None, aniType=FlyoutAnimationType.PULL_UP, isDeleteOnClose=True)#
create and show a flyout using the default view
Parameters#
- title: str
the title of teaching tip
- content: str
the content of teaching tip
- icon: InfoBarIcon | FluentIconBase | QIcon | str
the icon of teaching tip
- image: str | QPixmap | QImage
the image of teaching tip
- isClosable: bool
whether to show the close button
- target: QWidget | QPoint
the target widget or position to show flyout
- parent: QWidget
parent window
- aniType: FlyoutAnimationType
flyout animation type
- isDeleteOnClose: bool
whether delete flyout automatically when flyout is closed
- exec(pos: PyQt5.QtCore.QPoint, aniType=FlyoutAnimationType.PULL_UP)#
show calendar view