[Interest] QDockWidgets: how to get regular windows in detached (floating) mode?

2017-10-11 Thread René J . V . Bertin
Hi, Dock widgets are very useful, but there are cases where I'd like to be able to detach them to a regular window, because - regular windows stay visible when the application focus changes - regular windows can do stacking - regular windows can be put (partly) off the screen The latter 2 are p

Re: [Interest] QDockWidgets: how to get regular windows in detached (floating) mode?

2017-10-11 Thread John Weeks
You may need to call setVisible(true). IIRC, changing window flags makes the widget invisible. -John Weeks > On Oct 11, 2017, at 2:36 PM, René J.V. Bertin wrote: > > Hi, > > Dock widgets are very useful, but there are cases where I'd like to be able > to detach them to a regular window, beca

Re: [Interest] QDockWidgets: how to get regular windows in detached (floating) mode?

2017-10-12 Thread René J . V . Bertin
John Weeks wrote: > You may need to call setVisible(true). IIRC, changing window flags makes the > widget invisible. You appear to be right, thanks. Now I'm just left with how to restore state correctly after starting the application anew. After unfloating the window with static void unfloat(Q

Re: [Interest] QDockWidgets: how to get regular windows in detached (floating) mode?

2017-10-12 Thread Vadim Peretokin
Rene, with the thing you're making - would it then be possible to achieve browser-like behaviour of being able to drag tabs out into their own windows? With those windows movable to other monitors as well? On Thu, Oct 12, 2017 at 11:05 AM René J. V. Bertin wrote: > John Weeks wrote: > > > You ma

Re: [Interest] QDockWidgets: how to get regular windows in detached (floating) mode?

2017-10-12 Thread René J . V . Bertin
On Thursday October 12 2017 09:06:52 Vadim Peretokin wrote: >Rene, with the thing you're making - would it then be possible to achieve >browser-like behaviour of being able to drag tabs out into their own >windows? Not for any kind of tab of course, only those that are usually docked to a toolba

Re: [Interest] QDockWidgets: how to get regular windows in detached (floating) mode?

2017-10-12 Thread Vadim Peretokin
Are you using QToolBar? The only thing those can do is move around in the tab bar, but they can't be dragged out... I'd love to have browser-like functionality where you could drag those tabs out as well which is why I'm so keen on what you're doing here! On Thu, Oct 12, 2017 at 12:27 PM René J.V

Re: [Interest] QDockWidgets: how to get regular windows in detached (floating) mode?

2017-10-12 Thread René J . V . Bertin
On Thursday October 12 2017 10:45:44 Vadim Peretokin wrote: No, these are QDockWidgets. They're what live in a toolbar. To be precise, I'm tinkering with a classed derived from QDockWidget; KDevelop's Sublime::IdealDockWidget . R. > Are you using QToolBar? The only thing those can do is move