MCU Treadmill
MCU Treadmill is designed in Figma. You can bring the design to Qt Design Studio and create a responsive MCU Treadmill application.
You should have these prerequisites available:
- Qt Design Studio Enterprise license.
- Qt Design Studio 4.7 or above.
Getting the MCU Treadmill design to Figma
- Get the optimized MCU Treadmill for Figma design from here.
- Go to Figma and log in.
- Open the downloaded MCU Treadmill design in Figma.
Importing the MCU Treadmill design from Figma
To import the MCU Treadmill design for Qt Design Studio, first set up Qt Bridge for Figma.
- Select the MCU Trademill project in Figma.
- Select Main Menu > Plugins > Qt Bridge for Figma.
.
- Select Export, then Save. By default, the
.qtbridge
file is saved asmcuDemo.qtbridge
. - Select Close, then exit Figma.
Getting the MCU Treadmill design in Qt Design Studio
After importing the MCU Treadmill design from Figma:
- Create a new Qt Design Studio project for MCU.
- Drag the
.qtbridge
file (mcuDemo.qtbridge
) to the 2D view. - Select Yes, then select Import.
- In the following notification, select No. This replaces the existing
Screen01.ui.qml
file with the imported file. - After a successful import, select Close.
Note: Install this font on your system to match the font used in the Figma design.
With the design in place, you can now add desired functionalities to the imported components with connection, state, timeline animation, QML
, and Javascript
. Find a fully functional example in the Examples section on the Qt Design Studio homepage.
Running the MCU Treadmill example
- Open Qt Design Studio, then select Examples.
- Download the MCU Treadmill example.
- Select the downloaded project to open it in Qt Design Studio.
- Select Run App, then select
.
To find the logic and animations of this example, check these files in the Code view:
File name | Description |
---|---|
SplashScreen.ui.qml | Defines the home screen animation of the MCU Treadmill example. |
TrackView.ui.qml | Defines the track animation of the MCU Treadmill example. |
TreadmillMcuDemo.qml | Defines the logical functionalities of the MCU Treadmill example. |
Available under certain Qt licenses.
Find out more.