Home » U++ Library support » U++ Widgets - General questions or Mixed problems » Dockable toolbars
Re: Dockable toolbars [message #27655 is a reply to message #27638] |
Wed, 28 July 2010 01:16 |
mdelfede
Messages: 1307 Registered: September 2007
|
Ultimate Contributor |
|
|
mrjt wrote on Tue, 27 July 2010 12:06 | I might be up for it, an interesting project is always good. I've never even used a CAD program but I know GL very well and have a strong interest in GUI design.
Maybe I could look at those dockable toolbars, I've attempted it at least once before after all
|
Hi mrjt
The thing can be interesting.... I was thinking starting with a good 2d drafting part, it's the most needed one.
This would be opencascade based, so that the extension to 3d world should be trivial.
What I want to do first is a "small" base to well define the interface, I'd like to have it most autocad-like as possible, as many people is used to it.
There are some opencascade-based projects out there, but all of them lacks a comfortable 2d drafting part, which is the base for a good cad application. Most of them start directly from 3d, and some has some small 2d extensions, but mostly unusable.
So, to draw some baseline....
1) The cad should have a command line. Often is quite faster to give short commands with it, and it's absolutely necessary to enter points coordinates in quick way.
2) Customizable toolbars, driven by a (xml, maybe) CUI file.
The toolbars buttons should send strings to the command line control (a lineedit derived, I guess), so you could mix menu and command-line driven commands. This would also ease a central handling of menus and toolbars.
3) TabBarCtrl basedi interface for multiple documents and multiple view of a single document. This one is easy, I've got already some working code there based on opencascade viewer.
4) I'd like (later on) to embed a scripting language, I was thinking about squirrel-lang which is c-like and quite well coded.
5) a *VERY* well defined api and an even better commented code.
The only thing I really miss on UPP is the poorly commented source code....
BTW, OpenCascade has already all the stuff needed to implement e doc/view engine, which interfaces directly with our GLCtrl very easy.
Ciao
Max
|
|
|
Goto Forum:
Current Time: Tue May 14 21:34:33 CEST 2024
Total time taken to generate the page: 0.02539 seconds
|