Skip to content

feat(ui): add a Speed Dial button

Lucas SCHMIDT requested to merge 1093-feat-ui-add-a-speed-dial-button into dev

Description

These changes add a Speed Dial button, which is a button which displays a list of other buttons when clicked with an animation. The actual "buttons" can be any kind of QWidget, typically QPushButton, but it can also be more exotic widgets such as QOpenGLWidget.

It also adds SIconSpeedDial, which is a service which allows to create a Speed Dial with a list of actions. It is the most simple and typical use case of the Speed Dial and can serve as a reference.

Closes #1093 (closed)

How to test it?

Tuto07GenericScene was modified to use a Speed Dial instead of a traditional menu bar, you may test the Speed Dial there. Try different parameters.

Some results

2023-04-25_10-39-31

The Speed Dial in action in Tuto07GenericScene.

Edited by Lucas SCHMIDT

Merge request reports