Commit Graph

17 Commits

Author SHA1 Message Date
phdussud bc524684ab Implemented issue #137 2015-05-28 16:07:06 -07:00
Alexandru Lazar ae2e227682 Persist main window geometry
Added support for saving and restoring main window geometry.

Saving is done in a somewhat contrieved manner. In order to avoid
exposing App.defaults (or App) to the UI class, a geomUpdate
signal was added to to the FlatCAMGUI class. The signal is emitted
whenever FlatCAMGUI thinks its geometry should be saved (which, so
far, seems to be only in closeEvent()). FlatCAMApp has a slot for
this signal, which updates the defaults dictionary.

Restoring is done by explicitly applying the loaded geometry to
the UI. The UI is initialized (i.e. FlatCAMGUI's __init__ is
called) very early in the initialization sequence, before the
defaults are loaded, so at that time the persisted geometry is
not known to the program. As soon as it is known (i.e. after
load_defaults() is completed), we apply it.

Signed-off-by: Alexandru Lazar <alex@zencoding.org>
2015-03-27 13:48:51 +02:00
jpcaram e5a8a53ed4 Commented menu in FlatCAMDraw 2015-02-13 16:22:47 -05:00
jpcaram e353413cd3 Disabled "Ok"/"Update Geometry" button after first update. Solves issue #105. 2015-02-05 09:18:54 -05:00
jpcaram 681996d1f6 Started profiling project (Issue #109). Created first profiling script and included test gerber. 2015-02-02 15:37:08 -05:00
jpcaram a34ca26a24 Introduce activity monitor FlatCAMProcess.py. 2015-02-01 20:03:03 -05:00
jpcaram 87fdf0a581 Another fixed bug introduced to clear_poly() in previous commit. Added process widget. 2015-01-30 18:10:06 -05:00
Juan Pablo Caram 6cd256ad49 Closing the main window now closes the whole program. 2014-11-20 11:52:08 -05:00
Juan Pablo Caram cea41c827e Merge Geometry. Excellon coordinate parse fix. New GCode generation algorithm. Improved status bar. 2014-11-16 18:32:15 -05:00
Juan Pablo Caram 5659c3e7bd Fixed Gerber parser: Now buffers current path with previous tool on tool change. 2014-11-13 15:06:43 -05:00
Juan Pablo Caram 73aa0c38a0 Basic geometry editor for goemetry objects started. 2014-10-28 17:39:38 -04:00
Juan Pablo Caram ef96672cc7 Version 7. Version is now a variable. 2014-10-13 22:00:19 -04:00
Juan Pablo Caram b2cc2f3fdb Major work on the command line tool. Version check on the new website. 2014-09-21 21:51:50 -04:00
Juan Pablo Caram 8cb509d6f3 Initial implementation of console. 2014-09-13 17:29:07 -04:00
Juan Pablo Caram 32076d4020 Alpha 6 release files 2014-09-06 20:45:44 -04:00
Juan Pablo Caram 7c150beaa8 FC icon on 'about' dialog. Some cleanup. 2014-06-13 16:43:17 -04:00
Juan Pablo Caram 16734f5d1a Convertion to Qt. Major refactoring. 2014-06-13 15:21:11 -04:00