Skip to content

Make possible to add DockWidget without activating them#826

Open
zyrkiel wants to merge 1 commit intogithubuser0xFFFF:masterfrom
zyrkiel:Create-dock-widget-without-activating-them
Open

Make possible to add DockWidget without activating them#826
zyrkiel wants to merge 1 commit intogithubuser0xFFFF:masterfrom
zyrkiel:Create-dock-widget-without-activating-them

Conversation

@zyrkiel
Copy link

@zyrkiel zyrkiel commented Mar 24, 2026

Hello,

This PR is a proposal for a feature that is useful to me.
The modifications propagate the activate parameter from CDockAreaWidget::insertDockWidget in order to be able to create DockWidget without activating them. The behavior by default remains the same as before with the default value.
It's quite useful when building a view with multiple DockWidget that don't mean to have the focus at the beginning.

Hope you will accept the changes.

Regards,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant