acrylic_flyout ============== .. py:module:: qfluentwidgets.components.material.acrylic_flyout Module Contents --------------- .. autoapisummary:: qfluentwidgets.components.material.acrylic_flyout.AcrylicFlyoutViewBase qfluentwidgets.components.material.acrylic_flyout.AcrylicFlyoutView qfluentwidgets.components.material.acrylic_flyout.AcrylicFlyout .. py:class:: AcrylicFlyoutViewBase(*args, **kwargs) Bases: :py:obj:`qfluentwidgets.components.material.acrylic_widget.AcrylicWidget`, :py:obj:`qfluentwidgets.components.widgets.flyout.FlyoutViewBase` Acrylic flyout view base .. py:method:: acrylicClipPath() .. py:method:: paintEvent(e) .. py:class:: AcrylicFlyoutView(*args, **kwargs) Bases: :py:obj:`qfluentwidgets.components.material.acrylic_widget.AcrylicWidget`, :py:obj:`qfluentwidgets.components.widgets.flyout.FlyoutView` Acrylic flyout view .. py:method:: acrylicClipPath() .. py:method:: paintEvent(e) .. py:class:: AcrylicFlyout(view: FlyoutViewBase, parent=None, isDeleteOnClose=True) Bases: :py:obj:`qfluentwidgets.components.widgets.flyout.Flyout` Acrylic flyout .. py:method:: create(title: str, content: str, icon: Union[qfluentwidgets.common.icon.FluentIconBase, PyQt5.QtGui.QIcon, str] = None, image: Union[str, PyQt5.QtGui.QPixmap, PyQt5.QtGui.QImage] = None, isClosable=False, target: Union[PyQt5.QtWidgets.QWidget, PyQt5.QtCore.QPoint] = None, parent=None, aniType=FlyoutAnimationType.PULL_UP, isDeleteOnClose=True) :classmethod: 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 .. py:method:: exec(pos: PyQt5.QtCore.QPoint, aniType=FlyoutAnimationType.PULL_UP) show calendar view