Skip to content

Document properties from UiLoader #5614

@pawelsalawa

Description

@pawelsalawa

In uiloader.cpp there are less known, undocumented features.

At the time of writing this, there is:

    registerPropertyHandler(new UiScriptingCombo());
    registerPropertyHandler(new UiScriptingEdit());
    registerPropertyHandler(new UiCustomIcon());
    registerPropertyHandler(new UiUrlButton());

These handlers allow declaring specific properties for widgets in the UI forms (for example in plugins) that are than handled by these handlers.

For example UiScriptingEdit adds "scriptingEdit" property, which enables syntax highlighting, the "Format SQL" menu entry and sets the configured editor font.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions