Login  Register

Re: QDockWidget vs QDialog

Posted by dxli on Jul 12, 2015; 10:43am
URL: https://forum.librecad.org/QDockWidget-vs-QDialog-tp5711848p5711862.html

I pushed a commit with minor tweaking of toolbars:
https://github.com/LibreCAD/LibreCAD/commit/5cb5400d439c9c4501b89eb42fc3c1e9ebde4e81

I'm trying to get the cad toolbar size auto, but still couldn't get it work without the line 52 in qg_cadtoolbar.cpp:

maybe, you can find a way to use horizontal cad toolbars, with unified location, or keep the current CAD toolbar look, but with HD problem fixed.

ravas wrote
Using normal toolbars also solves the problems:
http://forum.librecad.org/UI-Support-for-high-DPI-monitors-td5711067.html
http://forum.librecad.org/Not-working-well-on-Mac-OSX-anymore-tp5711800p5711802.html

Because all toolbars are the same I was able to add an option that allows people to choose a custom icon size.

It's ready except the custom toolbar aspect.

I'm feeling stuck, because I don't want to take the CAD toolbar away from people that like it;
and I also don't want to support or work on that toolbar.

Having both in the same program would increase the management complexity,
as opposed to simplifying it like we talked about.

The only solution I see is for me to just keep it as a forked version.

I'll switch my focus to the color options for now.
http://forum.librecad.org/operating-layer-not-highlighted-td5711765.html