@Sean I'm interested in : D) developing a brand new Qt interface
but why use Qt? how native Qt Applications look?
@Naseef there's a lot of reasons for using Qt, and it's one of the most popular cross-platform toolkits that provide native platform behavior
if you were designing a new application, what would you use?
(or migrating a large old application, as in this case)
Qt is still new to me, I've been doing Gtk and .NET.
It'll be good to use Qt. ( I googled a bit about this).
Qt is way better than Gtk and .NET is practically windows-only
way better in terms of native behavior at least
gtk doesn't try to do that, their model is consistent behavior
IMO Archer is already a really good program.
Which gui toolkit does it use?
it's mediocre from a design perspective ... imho
it uses Tk
and incrTk
Should we take some widely used cad programs as inspiration?
Tk is very lightweight
We also have to make it start faster, unlike archer.
What about some customizable interface?
Tk is very difficult to make behave exactly like we want, hardly anything is automatic
Well, A CAD program don't have to be lightweight.
it's not "modern" by any stretch, and has been complicated over the years to maintain
whether the app starts fast or slowly with a loader is on the devs, not the toolkit
I'm inclined to use the gaming industry as inspiration as they adapt interfaces regularly and must have essential usability
that also implies avoiding particular technologies and approaches
I like Unity3D's customizable interface.
(nobody makes games with Tk)
I did! Some game in Tk when learning python!
unity is not open source
they have some open source libs they've released, but not the overall framework
when I say "nobody" I mean no professional shops that ship commercially
I'm talking about its interface. every part of it is movable. It's just an example.
Tk runs under a lot of things, so indirectly some use it (e.g., python guis often involve tk), but few directly do any more
ahh, sure
We can have multiple workspaces.
some presets and customizable ones, Like in Blender.
sure, that'd be great
Did you liked it because blender is open source? JK.
Have you seen a Qt program that has such interface?
their approach actually predates them becoming open source
blender uses a custom open gl GUI
and yes, you can customize an interface like that (or do your own thing in an opengl context
they're called qt style sheets: http://thesmithfam.org/blog/2009/09/10/qt-stylesheets-tutorial/
another: http://discourse.techart.online/t/release-qt-dark-orange-stylesheet/2287
and http://spinningcubes.com/wp-content/uploads/2014/05/zerobp.png
Customizing like moving views, resizing them, make them a separate window. (Like in GIMP)?
not about colors or styles, which should be native to operating system.
sure you can do that -- that's just basic widget and window management
dockable windows/panels
Yeah, I could find a way to say it.
multiple layouts.
with movable and re-sizable panels
yeah, that's pretty fundamental stuff
example: https://woboq.com/blog/qdockwidget-changes-in-56.html
That's how BRL-CAD is going to be in the future.
@Daniel Rossberg @Sean Made a small 2-line patch that changes the layout of CameraView so that it doesn't stretch when the window is vertically resized. What do you think?
qtgui.patch
before.png
after.png
committed (revision 70638)
Last updated: Jan 10 2025 at 00:48 UTC