Skip to content

feat(ui): allow password dialog customization

Didier WECKMANN requested to merge allow-input-dialog-customization into dev

Description

Small modifications were brought to allow displaying an image and a custom message for the password dialog used in preferences.

Basically, it is just a couple of parameters for module_ui_base:

    module_param(
        module_ui_base
        PARAM_LIST
            preferences_password_dialog_title
            preferences_password_dialog_message
            preferences_password_dialog_icon
        PARAM_VALUES
            "Password required"
            "  Please enter your password: "
            "sight::module::ui::qt/rename.png"
    )

How to test it?

  • ExActivites has been modified to demonstrate the functionality
Edited by Flavien BRIDAULT

Merge request reports