PropertyForm

class PropertyForm[source]

Bases: PySide2.QtWidgets.QDockWidget

Form class for real-time editing of objects

Parameters
title: string

The title of the form

Attributes
on_update: function

the function to be called when object attributes are updated from the form

Methods

add_collapsiblebox

add_label

inputs

Creates layout for input fields

map_bool

Map color input field to an object attribute

map_color

Map color input field to an object attribute

map_dict

Map a dictionary input

map_inputs

Map inputs of supported data type

map_list

Map a list of numbers

map_number

Map number input field to an object attribute

map_object

Map the attributs of an object

map_transform

Map the transformation of an object

map_vector_list

Map a list of vetors

set_object

update