Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: programmatically resizing and moving of float widgets #144

Closed
amuralev opened this issue Jan 19, 2021 · 3 comments
Closed

Question: programmatically resizing and moving of float widgets #144

amuralev opened this issue Jan 19, 2021 · 3 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@amuralev
Copy link

Is there a way to set programmatically geometry of the float KDDockWidget other than from "DockWidget::window()"-interface? There are also difficulties to move/resize hidden float widgets (with Qt QDockWidget it can be done by "QWidget::setAttribute(Qt::WA_DontShowOnScreen) -> show -> MOVE/RESIZE -> hide -> QWidget::setAttribute(Qt::WA_DontShowOnScreen, false)"); are there any plans to "pull out" DockWidgetBase::lastPositions or something else?

@iamsergio
Copy link
Contributor

why do you want to resize hidden floating widgets ?

@amuralev
Copy link
Author

amuralev commented Jan 21, 2021

Thanks for the feedback... Our software has a "redock/reset"-function that resets geometry of all float dock widgets (visible and hidden) to some default position and size. It is done so that the user can restore "lost" float windows, for example, by changing the configuration of monitors and etc.

@amuralev
Copy link
Author

Perhaps there are plans to do it through reusing PIMPL of KDDockWidgetBase!?

@iamsergio iamsergio self-assigned this Jan 30, 2021
@iamsergio iamsergio added the enhancement New feature or request label Feb 6, 2021
@iamsergio iamsergio added this to the v1.3 milestone Feb 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants