director.propertyset module

class director.propertyset.PropertyAttributes(**kwargs)[source]

Bases: director.fieldcontainer.FieldContainer

class director.propertyset.PropertyPanelConnector(propertySet, propertiesPanel, propertyNamesToAdd=None)[source]

Bases: object

cleanup()[source]
class director.propertyset.PropertyPanelHelper[source]

Bases: object

static addPropertiesToPanel(properties, panel, propertyNamesToAdd=None)[source]
static getPropertyGroupName(name, value)[source]
static onPropertyValueChanged(panel, properties, propertyName)[source]
static setPropertyFromPanel(prop, propertiesPanel, propertySet)[source]
class director.propertyset.PropertySet[source]

Bases: object

PROPERTY_ADDED_SIGNAL = 'PROPERTY_ADDED_SIGNAL'
PROPERTY_ATTRIBUTE_CHANGED_SIGNAL = 'PROPERTY_ATTRIBUTE_CHANGED_SIGNAL'
PROPERTY_CHANGED_SIGNAL = 'PROPERTY_CHANGED_SIGNAL'
addProperty(propertyName, propertyValue, attributes=None)[source]
assertProperty(propertyName)[source]
connectPropertyAdded(func)[source]
connectPropertyAttributeChanged(func)[source]
connectPropertyChanged(func)[source]
disconnectPropertyAdded(callbackId)[source]
disconnectPropertyAttributeChanged(callbackId)[source]
disconnectPropertyChanged(callbackId)[source]
getProperty(propertyName)[source]
getPropertyAttribute(propertyName, propertyAttribute)[source]
getPropertyEnumValue(propertyName)[source]
hasProperty(propertyName)[source]
propertyNames()[source]
removeProperty(propertyName)[source]
setProperty(propertyName, propertyValue)[source]
setPropertyAttribute(propertyName, propertyAttribute, value)[source]
setPropertyIndex(propertyName, newIndex)[source]
director.propertyset.cleanPropertyName(s)[source]

Generate a valid python property name by replacing all non-alphanumeric characters with underscores and adding an initial underscore if the first character is a digit

director.propertyset.fromQColor(propertyName, propertyValue)[source]
director.propertyset.toQProperty(propertyName, propertyValue)[source]