Closed IgorTatarnikov closed 9 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
cb48329
) 83.00% compared to head (3ae2145
) 83.30%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Description
What is this PR
Why is this PR needed?
The API for the collapsible widget was awkward to use.
What does this PR do?
The
CollapsibleWidgetContainer
now takes anyQWidget
and if the collapsible flag is True instantiates aCollapsibleWidget
and replaces the content with the inputQWidget
. Before, the user had to instantiate aCollapsibleWidget
and pass that to theCollapsibleWidgetContainer
if they wanted to widget to be collapsible.How has this PR been tested?
Tests have been added to cover the new functionality.
Checklist: