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

ComponentDescription
TreeEditExtracts information from Properties and organizes it into a tree-view structure
PropEditProperty editing main window (ParameterTree): subtree browsing, search, save/delete
ScalableGroupSpecial parameter group: automatically generates two mutually reciprocal child parameters
PropSelectorKey-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 subtree to restrict the display to properties under a given path. For a more complete description, see Property editor.