Property editor
A tool for viewing and editing the property tree, based on ParameterTree.
Overview
quatm/GUI/entries/property_editor.py provides the property editor: it presents the key/value tree of the property store as an expandable, editable parameter tree, and modifications are written back immediately. It supports browsing by subtree, searching, saving/loading and deleting the selected nodes.
Components
| Component | Description |
|---|---|
TreeEdit | Extracts information from Properties and organizes it into a tree-view structure |
PropEdit | Property editing main window (ParameterTree): subtree browsing, search, save/delete |
ScalableGroup | Special parameter group: automatically generates two mutually reciprocal child parameters |
PropSelector | Key-list selector: checks keys from the property tree and maintains a key list |
Usage
from quatm.GUI.entries.property_editor import PropEdit
editor = PropEdit(name="device_status", props=props, subtree="/", parent=parent)
Use
subtreeto restrict the display to properties under a given path. For a more complete description, see Property editor.