Creating Component Instances
Qt Design Studio comes with preset components that you can use in your UI by creating instances of them.
To create component instances and edit their properties:
- Drag-and-drop components from Library (1) to Navigator (2), Form Editor (3), or 3D Editor (4). This creates instances of the components in the current component file.
- Select component instances in Navigator to edit the values of their properties in Properties.
For more information, see Specifying Component Properties.
- To change the appearance and behavior of the component instances in ways that are not supported in Qt Design Studio by default, you can define custom properties in Connection View > Properties.
For more information, see Specifying Dynamic Properties.
- To enable users to interact with the component instances, connect the instances to signals in Connection View > Connections. For example, you can specify what happens when a component instance is clicked. For more information, see Connecting Components to Signals.
- To dynamically change the behavior of a component instance when another component instance changes, create bindings between them in Connection View > Bindings. For more information, see Adding Bindings Between Properties.
- Add states to apply sets of changes to the property values of one or several component instances in the States view. For more information, see Adding States.
- Animate the properties of component instances in the Timeline view. For more information, see Creating Timeline Animations.
© 2021 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.