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

ComponentDescription
TreeEditExtracts information from Properties and arranges it into a tree-view structure
PropEditMain 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: subtree restricts the view to the properties under a given path; TreeEdit is responsible for converting the property dictionary into a tree of Parameter nodes.