When you install Qt Design Studio, everything you'll need to design UIs using Qt Quick and to preview them on the desktop or on Android or embedded Linux devices is automatically installed and configured correctly for you.
Qt Quick enables you to build UIs around the behavior of components and how they connect with one another. You create components using Qt Quick and QML types that are available in the Design mode. You can specify values for the properties of a component to change its appearance and behavior. All QML types have a set of predefined properties, some of which control things that are visible to users, while others are used behind the scene.
While it is useful to learn the basics of Qt Quick, you can also rely on Qt Design Studio to write the code for you when you drag-and-drop the ready-made components to the working area and change them to your liking by modifying their properties in the Design mode. You can always check up details in the extensive Qt Quick documentation by pressing F1.
- Editing QML Files in Design Mode
This topic describes the parts and basic features of the Design mode.
- Creating Components
In addition to your imported artwork, you can use the Design mode to customize ready-made components or design any custom form and shape directly as QML types. You can import visual assets in various formats, such as PNG, JPG, and SVG for use in the components.
- Managing Item Hierarchy
You can manage the items in the current QML file and their relationships in the Navigator.
- Specifying Item Properties
You can specify values for the properties of a component to change its appearance and behavior. All QML types have a set of predefined properties. Some properties, such as position, size, and visibility, are common to all QML types, whereas others are specific to the QML type. You can specify properties for your components in the Properties pane.
- Creating Animations
You can use a timeline and keyframe based editor in the Timeline view to animate the properties of UI components. Animating properties enables their values to move through intermediate values at specified keyframes instead of immediately changing to the target value.
- Adding Connections
You can create connections between the UI components and the application to enable them to communicate with each other. For example, how does the appearance of a button change on a mouse click and which action does the application need to perform in response to it.
You can also create connections between UI components by binding their properties together. This way, when the value of a property changes in a parent component, it can be automatically changed in all the child components, for example.
- Adding States
Qt Quick allows you to declare various UI states that describe how component properties change from a base state. Therefore, states can be a useful way of organizing your UI logic. You can associate transitions with items to define how their properties will animate when they change due to a state change.
- Using Custom Fonts
You can load custom fonts to Qt Design Studio and use them in your designs.
- Editing PathView Properties
- Browsing ISO 7000 Icons
You can add ISO 7000 icons from a library delivered with Qt Design Studio to UIs and change their color.
- Qt Quick UI Forms
Some of the wizards create Qt Quick projects that contain UI forms (.ui.qml files). The forms use a purely declarative subset of the QML language and you can edit them in the Design mode.
Available under certain Qt licenses.
Find out more.