In cm-ui, right-click on views.qrc and select Add New…. Select Qt > QML File and click on Choose...:
Create the SplashView.qml file in cm-ui/ui/views. Repeat this process until you’ve created all the following views:
File |
Purpose |
SplashView.qml |
Placeholder view displayed while the UI is loading. |
DashboardView.qml |
The central “home” view. |
CreateClientView.qml |
View for entering details of a new client. |
EditClientView.qml |
View for reading/updating the existing client details. |
FindClientView.qml |
View for searching for the existing clients. |
Edit views.qrc in the Plain Text Editor as we have done previously. You will see that our new views have been added to a new qresource block with the default prefix of the following:
<RCC> <qresource prefix="/views"> <file...