Login  Register

porting QWorkspace to QMdiArea

Posted by dxli on Dec 03, 2011; 7:16am
URL: https://forum.librecad.org/Presentation-and-S-O-S-tp4952926p5044099.html

Hi Michael,

First, I didn't realize the offset feature is so complex. With Anders' openvoronoi program, we could implement a fast algorithm to solve offset problem in general, excluding ellipse/spline still. The integrating process will be lengthy. A good thing, LibreCAD will have a new feature of "Voronoi Cells" as by-product of Offset implementation.

If you would like to try something more Qt concentrated, but still a challenging task. There's one badly needed part:

Porting deprecated QWorkspace to QMdiArea in class QC_ApplicationWindow ( src/main/qc_applicationwindow.h / cpp ).

After implementation in QMdiArea, we could finally address bugs in work area sub windows, such as,

https://sourceforge.net/tracker/?func=detail&aid=3437183&group_id=342582&atid=1433844

I'm not hinting that you should do it. I just feel like to share something interesting. I'm sure Rallaz can quickly review any QMdiArea work for us.

--
Dongxu Li, Ph.D.