Property editor
A ParameterTree-based tool for viewing and editing properties.
Overview
quatm/GUI/entries/property_editor.py provides a property editing tool based on
parametertree: it presents the key/value tree of the property database as an expandable,
editable parameter tree with search filtering, and writes changes back immediately.
Components
| Component | Description |
|---|---|
TreeEdit | Extracts information from Properties and arranges it into a tree-view structure |
PropEdit | Main property editing window (ParameterTree): subtree browsing, search, saving/deleting the selected node |
Usage
from quatm.GUI.entries.property_editor import PropEdit
editor = PropEdit(name="device_status", props=props, subtree="/", parent=parent)
Note:
subtreerestricts the view to the properties under a given path;TreeEditis responsible for converting the property dictionary into a tree ofParameternodes.