Skip to content

enh(ui): add a button to reset preferences settings

Description

Add a button of reset for returning the default value of preference configurations.

Results

A new QPushButton has been added, along with a slot function for returning the different default values for different types of widgets.

How to test it?

It can be tested by running any application that uses preference_configuration in its XML file and changing the value of each widget. By pressing the reset button "R", you should be able to see the value of <default_value>.

Edited by Shamim SEDGHI

Merge request reports