Commit Graph

565 Commits

Author SHA1 Message Date
David Robertson 3a1089c277 move the excellon export settings sync code out of FlatCAMApp 2020-05-10 22:44:31 +01:00
David Robertson 5d3f4ee038 excellon opt 2020-05-10 22:05:47 +01:00
David Robertson 8a62820d08 Merge branch 'Beta' into preferences-refactoring 2020-05-10 01:19:27 +01:00
David Robertson 500cc34639 Added a custom layout for the prefs so that it adjusts to different screen sizes automatically. I may have gotten slightly carried away on this one........ 2020-05-09 23:29:59 +01:00
Marius Stanciu 541813c22b - finished the GUI for exclusion areas both in the Excellon and Geometry Objects. Need to think if to make it visible only in Advanced Mode 2020-05-10 01:05:02 +03:00
David Robertson 13296aea1d cleanup 2020-05-09 19:31:09 +01:00
David Robertson 73757a66cd CNC job advanced 2020-05-09 19:30:18 +01:00
David Robertson 5304cd1ac9 CNC job options 2020-05-09 19:08:15 +01:00
David Robertson 17eaa6e8ad CNC job general prefs 2020-05-09 18:53:42 +01:00
David Robertson cac97f585a cleanup 2020-05-09 18:25:02 +01:00
David Robertson 2e54dc6920 Geometry advanced options 2020-05-09 18:21:50 +01:00
David Robertson 6a6674c368 Geometry options 2020-05-09 17:43:53 +01:00
David Robertson 805a1567d8 Geometry editor prefs 2020-05-09 16:26:54 +01:00
David Robertson 9f2991c003 Geometry general prefs 2020-05-09 16:21:21 +01:00
David Robertson 31d0cfbdd7 GerberPreferencesUI cleanup 2020-05-09 16:01:06 +01:00
David Robertson 3db52093f0 gerber editor prefs 2020-05-09 15:59:21 +01:00
David Robertson 126ed47783 gerber advanced options 2020-05-09 15:28:48 +01:00
David Robertson 4fc98482de Merge branch 'Beta' into preferences-refactoring 2020-05-09 15:07:30 +01:00
David Robertson c5b2bac591 cleanup 2020-05-09 14:57:55 +01:00
Marius Stanciu 0e07ea1541 - modified the GUI for Exclusion areas; now the shapes are displayed in a Table where they can be selected and deleted. Modification applied for Geometry Objects only (for now).
- fixed and error when converting units, error that acted when in those fields that accept lists of tools only one tool was added
2020-05-09 05:18:05 +03:00
Marius Stanciu ee69744d6e - removed the Apply theme button in the Preferences; it is now replaced by the more general buttons (either Save or Apply)
- added a confirmation/warning message when applying a new theme
2020-05-08 22:01:18 +03:00
Marius Stanciu 484fb51bf0 - added a parameter to the FlatCAMDefaults class, whenever a value in the self.defaults dict change it will call a callback function and send to it the modified key
- optimized and fixed some issues in the self.on_toggle_units() method
- the Exclusion areas will have all the orange color but the color of the outline will differ according to the type of the object from where it was added (cosmetic use only as the Exclusion areas will be applied globally)
2020-05-08 01:41:40 +03:00
David Robertson 21756bea9c Gerber opt pref group 2020-05-07 02:56:22 +01:00
David Robertson 98675e7f06 Merge branch 'Beta'
Conflicts:
	flatcamGUI/preferences/general/GeneralGUIPrefGroupUI.py
2020-05-07 02:27:44 +01:00
Marius Stanciu eea80aafc3 - added the ability to add exclusion areas from the Excellon object too. Now there is a different in color to differentiate from which type of object the exclusion areas were added but they all serve the same purpose 2020-05-07 01:38:08 +03:00
Marius Stanciu a161354c25 - solved issue with new parameter end_xy when it is None
- solved issue with applying theme and not making the change in the Preferences UI. In Preferences UI the theme radio is always Light (white)
- now the annotations will invert the selected color in the Preferences, when selecting Dark theme
2020-05-06 16:37:48 +03:00
David Robertson be93f78f7c Fix the alpha sliders not taking the correct value on startup and not syncing bidirectionally. 2020-05-06 04:56:56 +01:00
David Robertson 44fb91633a Some work on gerber prefs 2020-05-06 04:03:27 +01:00
David Robertson 1c0dc433a7 Simplify build_tab() 2020-05-06 03:10:40 +01:00
David Robertson f05540a587 Deduplicate code creating widgets for prefs tabs 2020-05-06 03:02:23 +01:00
David Robertson 1fc076b158 Make all of the prefs sections into subclasses of PreferencesSectionUI 2020-05-06 02:15:41 +01:00
David Robertson 1c5a6de80d Merge branch 'Beta' into preferences-refactoring 2020-05-06 01:42:32 +01:00
Marius Stanciu 91493b2fbc - wip in adding Exclusion areas in Geometry object; each Geometry object has now a storage for shapes (exclusion shapes, should I make them more general?) 2020-05-06 02:10:18 +03:00
Marius Stanciu ed105eecad - fixed an issue that made the preprocessors comboxes in Preferences not to load and display the saved value fro the file
- some PEP8 corrections
2020-05-05 01:39:01 +03:00
Marius Stanciu 88dc9aa702 - in detachable tabs, Linux loose the reference of the detached tab and on close of the detachable tabs will gave a 'segmantation fault' error. Solved it by not deleting the reference in case of Unix-like systems
- some strigns added to translation strings
2020-05-04 18:28:45 +03:00
David Robertson 20c4c12f17 Merge branch 'Beta' into preferences-refactoring 2020-05-03 23:19:40 +01:00
David Robertson 100f3e5394 clean up 2020-05-03 16:01:06 +01:00
David Robertson c2c4375893 Move the code for setting layout out from GeneralGUIPrefGroupUI into FlatCAMGUI 2020-05-03 15:57:12 +01:00
Marius Stanciu 59a2414723 - protected a dict in VispyVisuals from issuing errors of keys changed while iterating through it 2020-05-03 17:38:41 +03:00
David Robertson a2d48d1c66 Refactor the app prefs group 2020-05-03 15:38:26 +01:00
David Robertson df9ebaf2c9 minor cleanup 2020-05-03 14:07:22 +01:00
David Robertson 7062afc1af Rework app settings group 2020-05-03 04:18:10 +01:00
David Robertson f3bdaf8023 Added DoubleSpinnerOptionUI 2020-05-03 02:27:17 +01:00
David Robertson 1fdd0c26e0 Merge branch 'Beta' 2020-05-03 01:53:27 +01:00
Marius Stanciu 2da0853b23 - working on a new feature: adding interdiction area for Gcode generation. They will be added in the Geometry Object 2020-05-02 22:53:48 +03:00
Marius Stanciu ada271cbd6 - modified the Cutout Tool to generate multi-geo objects therefore the set geometry parameters will populate the Geometry Object UI
- modified the Panelize Tool to optimize the output from Cutout Tool such that there are no longer overlapping cuts
- some string corrections
2020-05-02 15:56:30 +03:00
David Robertson 84566301ce reimplement alpha slider 2020-05-02 04:09:07 +01:00
David Robertson b6593b41e2 translated the gui prefs group 2020-05-02 03:08:42 +01:00
Marius Stanciu 48b3f8d65a - fixed bug in Gerber Editor in which the units conversion wasn't calculated correct
- fixed bug in Gerber Editor in which the QThread that is started on object edit was not stopped at clean up stage
- fixed bug in Gerber Editor that kept all the apertures (including the geometry) of a previously edited object that was not saved after edit
2020-05-02 04:54:09 +03:00
David Robertson b24474be65 wip 2020-05-02 02:12:09 +01:00