bec_widgets.utils.property_editor ================================= .. py:module:: bec_widgets.utils.property_editor Classes ------- .. autoapisummary:: bec_widgets.utils.property_editor.PropertyEditor Module Contents --------------- .. py:class:: PropertyEditor(target: qtpy.QtWidgets.QWidget, parent: qtpy.QtWidgets.QWidget | None = None, show_only_bec: bool = True) Bases: :py:obj:`qtpy.QtWidgets.QWidget` .. py:method:: _add_property_row(parent: qtpy.QtWidgets.QTreeWidgetItem, name: str, value, prop) .. py:method:: _apply_palette_color(name: str, pal: qtpy.QtGui.QPalette, group: qtpy.QtGui.QPalette.ColorGroup, role: qtpy.QtGui.QPalette.ColorRole, col: qtpy.QtGui.QColor) .. py:method:: _build() .. py:method:: _class_chain() .. py:method:: _enum_int(obj) -> int .. py:method:: _enum_text(meta_enum: qtpy.QtCore.QMetaEnum, value_int: int) -> str .. py:method:: _enum_value_to_int(meta_enum: qtpy.QtCore.QMetaEnum, value) -> int .. py:method:: _is_bec_metaobject(mo) -> bool .. py:method:: _make_color_editor(initial: qtpy.QtGui.QColor, apply_cb) .. py:method:: _make_cursor_editor(name: str, value) .. py:method:: _make_editor(name: str, value, prop) .. py:method:: _make_enum_editor(name: str, value, prop) .. py:method:: _make_font_editor(name: str, value) .. py:method:: _make_icon_editor(name: str, icon) .. py:method:: _make_locale_editor(name: str, loc) .. py:method:: _make_palette_editor(name: str, pal: qtpy.QtGui.QPalette) .. py:method:: _make_sizepolicy_editor(name: str, sp) .. py:method:: _set_equal_columns() .. py:method:: _spin_pair(ints: bool = True) .. py:method:: _spin_quad(ints: bool = True) .. py:method:: set_show_only_bec(flag: bool) .. py:attribute:: chk_show_qt .. py:attribute:: name_edit .. py:attribute:: tree