.. _object_Component: :index:`Component` ------------------ Description *********** The Component object encapsulates a QML component definition. Components are reusable, encapsulated QML types with well-defined interfaces. A component can be instantiated through a :ref:`Repeater ` or used for filtering types via :ref:`Gather.typeFilter `. This object was introduced in InCore 2.0. :**› Inherits**: :ref:`Object ` Overview ******** Properties ++++++++++ .. hlist:: :columns: 1 * :ref:`source ` * :ref:`Object.objectId ` * :ref:`Object.parent ` Methods +++++++ .. hlist:: :columns: 1 * :ref:`Object.deserializeProperties() ` * :ref:`Object.fromJson() ` * :ref:`Object.serializeProperties() ` * :ref:`Object.toJson() ` Signals +++++++ .. hlist:: :columns: 1 * :ref:`Object.completed() ` Properties ********** .. _property_Component_source: .. _signal_Component_sourceChanged: .. index:: single: source source ++++++ This property holds the actual QML component definition, e.g. `Measurement { ... }`. :**› Type**: :**› Signal**: sourceChanged() :**› Attributes**: Writable