Hey Everyone,
I've been working on enhancing the version of wxAUI included in wxWidgets-2.8.7 and have packaged up a small example of the new VS2005 style docking controls. The sample is based on Ben's 0.9.2 aui sample but modified to bring it up to date. The docking support is still new and hasn't been fully coded yet - tabbed docking is not supported yet and the docking interface needs to be "cleaned" up. Please let me know what you think of it and if you encounter any problems. I will submit the source changes once everything is working ok (should be in the very near future)
Regards,
Michael
You can grab the sample from here..
http://www.mediafire.com/?bc21tncwytz
Kirix Support Forums
Visual Studio 2005 style docking
11 posts
• Page 1 of 1
- mheanssgen
- Registered User
- Posts: 6
- Joined: Fri Jan 13, 2006 9:42 am
Re: Visual Studio 2005 style docking
Michael,
Thanks for your work on this! This has certainly been a feature that has been requested for some time now. After taking a quick look, it definitely looks like most of the functionality is there and I thought the responsiveness was great.
There was one bug I encountered, however I believe it is a general wxAUI bug since I encountered the same problem with the default docking mode -- if you dock two panes horizontally at the bottom of the frame and then attempt to dock a third pane either above/below the left pane only, the pane is only allowed to dock above/below both panes (spanning the two panes).
I'll chat with Ben about your work and see what his thoughts are, but I can't see any reason we wouldn't want to add this into the next release of wxAUI.
Thanks again!
Cheers,
Dave.
Thanks for your work on this! This has certainly been a feature that has been requested for some time now. After taking a quick look, it definitely looks like most of the functionality is there and I thought the responsiveness was great.
There was one bug I encountered, however I believe it is a general wxAUI bug since I encountered the same problem with the default docking mode -- if you dock two panes horizontally at the bottom of the frame and then attempt to dock a third pane either above/below the left pane only, the pane is only allowed to dock above/below both panes (spanning the two panes).
I'll chat with Ben about your work and see what his thoughts are, but I can't see any reason we wouldn't want to add this into the next release of wxAUI.
Thanks again!
Cheers,
Dave.
Dave Williams
Kirix Support Team
Kirix Support Team
-
Dave - Kirix Support Team
- Posts: 32
- Joined: Wed Sep 21, 2005 11:07 pm
Re: Visual Studio 2005 style docking
This is surely a great feature as docking in complex sets can be a bit confusing for the user. I've been playing with your sample for a while and it's working fine.
Maybe you could use bitmaps instead of grey squares so that it becomes even more intuitive...
Thanks for the work. I hope it will be added in the next release.
Ben007
Maybe you could use bitmaps instead of grey squares so that it becomes even more intuitive...
Thanks for the work. I hope it will be added in the next release.
Ben007
- ben007
- Registered User
- Posts: 3
- Joined: Mon Jan 07, 2008 2:20 am
Re: Visual Studio 2005 style docking
ben007 wrote:This is surely a great feature as docking in complex sets can be a bit confusing for the user. I've been playing with your sample for a while and it's working fine.
Maybe you could use bitmaps instead of grey squares so that it becomes even more intuitive...
Thanks for the work. I hope it will be added in the next release.
Ben007
Thanks for the kind compliments.
The grey squares are only temporary until all the functionality has been implemented. I'm not sure what the best approach would be to implement the arrows. Maybe exposing settings in the dock art interface would be good?
Implementing the docking interface for notebooks is proving to be a bit more interesting as the current code implements notebook to notebook support as well as splitting the current view. Suggestions in this area would be appreciated.
As for the code, the current implementation hooks into the DoDrop method fairly cleanly. Changes are quite minimal and I don't mind providing the source at this time for your review.
Regards,
Michael
- mheanssgen
- Registered User
- Posts: 6
- Joined: Fri Jan 13, 2006 9:42 am
Re: Visual Studio 2005 style docking
This patch is huge. Thanks so much for doing this.
I'm gonna take a look at this patch as soon as I get a chance, and then I can imagine integrating this into wx 2.9/3.0
Thanks,
Ben
I'm gonna take a look at this patch as soon as I get a chance, and then I can imagine integrating this into wx 2.9/3.0
Thanks,
Ben
Ben Williams
Kirix Support Team
Kirix Support Team
-
Ben - Kirix Support Team
- Posts: 525
- Joined: Mon Dec 19, 2005 6:29 am
Re: Visual Studio 2005 style docking
Hey all, been very busy lately so I haven't had a chance to get this patch ready yet. I will get it to you asap.
Thanks,
Mike
Thanks,
Mike
- mheanssgen
- Registered User
- Posts: 6
- Joined: Fri Jan 13, 2006 9:42 am
Re: Visual Studio 2005 style docking
Great ! We're waiting for it !!
Thanks for the work
Ben007
Thanks for the work
Ben007
- ben007
- Registered User
- Posts: 3
- Joined: Mon Jan 07, 2008 2:20 am
Re: Visual Studio 2005 style docking
Hi all,
I wish I had the time to complete this patch but things are too busy at the moment. I have made available the changed files. All changes are marked with MikeH
You can grab the zip file, framemanager.zip. It includes the framemanager.h and framemanager.cpp files.
http://www.mediafire.com/?0rbynzdnpdm
Hopefully someone can take this and run with it.
Regards,
Mike
I wish I had the time to complete this patch but things are too busy at the moment. I have made available the changed files. All changes are marked with MikeH
You can grab the zip file, framemanager.zip. It includes the framemanager.h and framemanager.cpp files.
http://www.mediafire.com/?0rbynzdnpdm
Hopefully someone can take this and run with it.
Regards,
Mike
- mheanssgen
- Registered User
- Posts: 6
- Joined: Fri Jan 13, 2006 9:42 am
Re: Visual Studio 2005 style docking
Could someone re-upload the framemanager.zip file please? The current link doesn't work. Thanks!
- Jeremie
- Registered User
- Posts: 1
- Joined: Mon Nov 02, 2009 2:06 pm
Re: Visual Studio 2005 style docking
At one point, we tried to do it as VS2005 but turned out not easy to do due to the limitation of Swing. We will probably look at it again sometimes in the future.
The blue area thing is already there in JIDE Docking. DockingManager.setOutlineMode(TRANSPARENT_OUTLINE_MODE).
Thanks
The blue area thing is already there in JIDE Docking. DockingManager.setOutlineMode(TRANSPARENT_OUTLINE_MODE).
Thanks
- Kerantino
- Registered User
- Posts: 3
- Joined: Fri Mar 02, 2012 4:47 am
Re: Visual Studio 2005 style docking
i desperately need this feature (we are talking about tabbed panes...?).
All the content of this thread is gone, could someone please reupload, so we can all work a solution here?
All the content of this thread is gone, could someone please reupload, so we can all work a solution here?
- asmcoder
- Registered User
- Posts: 6
- Joined: Tue Jan 31, 2012 4:11 pm
11 posts
· Page 1 of 1
Return to wxAUI Patches & Modifications