Skip to content

feat(ui): add a new progress_bar service

Evguenia SOBINE requested to merge 1235-feat-ui-new-job_bar-service into dev

Description

Add a new service for the progress_bar. It's now a QObject and Editor.

If lib Qt5Svg appears missing on linux, you may install it (and all Qt 5 libraries, so this will not bothering you again) by:

sudo apt install libqt5*-dev

Closes #1235 (closed)

Results

progress_bar

How to test it?

Replace the job_bar service in XML of an application that use it.
For example tuto07, make these changes in tutorials/xml/tuto07_generic_scene/rc/plugin.xml:

  1. Line 41: replace by <service uid="progressBarView" type="sight::module::ui::qt::progress_bar" />
  2. Line 63: add <view proportion="0" />
  3. Line 68: add <view sid="progressBarView" start="true" />
  4. Line 258: remove <start uid="progressBarView" />

You can also launch the test application ex_progress_bar

Then try to load a file or perform an action that trigger this service.

Make sure that module_ui_qt_ut succeed.

Edited by Didier WECKMANN

Merge request reports