Skip to content

(Qml): Use of a QML Engine to recreate dialog and apply a new style

What does this MR do?

Created Library

  • guiQml: start all services needed for a Qml Application and contain element to customise Material style.
  • fwGuiQml: contain all visual Component for Qml, like dialogs.

fwQt

This library has been change to add a callback function that is called to create the application using QApplication or QGuiApplication.

guiQml

  • Plugin: call getQtWorker to setup services and launch the Application. Then set the style to Material.
  • Material.qml: Singleton to set the color of the theme globally in each Window.
  • qmldir: regroup all Control.qml in rc to override the theme from QtQuick.Controls and QtQuick.Controls.Material

fwGuiQml

  • model: regroup ListModel and TableModel that are generic model to use inside Qml
  • dialog: recreate all Qt dialog in Qml

How to test it?

  • Run qml tutorial and run PoCDialog to test all dialog.
  • Check that your applications still work

Data

Data needed for each dialog is written in each tab.

Associated Issues/Merge Requests

Edited by Ekaterina OLIVIER

Merge request reports