bec_widgets.utils.round_frame ============================= .. py:module:: bec_widgets.utils.round_frame Classes ------- .. autoapisummary:: bec_widgets.utils.round_frame.ExampleApp bec_widgets.utils.round_frame.RoundedFrame Module Contents --------------- .. py:class:: ExampleApp Bases: :py:obj:`qtpy.QtWidgets.QWidget` .. py:class:: RoundedFrame(parent=None, content_widget: qtpy.QtWidgets.QWidget = None, background_color: str = None, orientation: str = 'horizontal', radius: int = 10) Bases: :py:obj:`qtpy.QtWidgets.QFrame` A custom QFrame with rounded corners and optional theme updates. The frame can contain any QWidget, however it is mainly designed to wrap PlotWidgets to provide a consistent look and feel with other BEC Widgets. .. py:method:: apply_plot_widget_style(border: str = 'none') Let QSS/pyqtgraph handle plot styling; avoid overriding here. .. py:method:: apply_theme(theme: str) Deprecated: RoundedFrame no longer handles theme; styling is QSS-driven. .. py:method:: radius() Radius of the rounded corners. .. py:method:: update_style() Update the style of the frame based on the background color. .. py:attribute:: background_color :value: None .. py:attribute:: content_widget :value: None