Commit Graph

556 Commits

Author SHA1 Message Date
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
David Robertson a00cdd6de7 Work in progress on prefs overhaul 2020-05-02 01:11:31 +01:00
Marius Stanciu bdf2192d00 - changed the icons for the grid snap in the status bar
- moved some of the methods from FlatCAMApp.App to flatcamGUI.FlatCAMGUI class
2020-05-02 00:09:48 +03:00
Marius Stanciu f4617034af - added in Gerber editor a method for zoom fit that takes into consideration the current geometry of the edited object 2020-05-01 17:42:16 +03:00
David Robertson 86ef9d9038 Introduce a PreferencesSectionUI widget 2020-05-01 02:22:53 +01:00
David Robertson 9ec6b3afb2 Deduplicate code in PreferencesUIManager.show_preferences_gui() 2020-05-01 01:27:05 +01:00
Marius Stanciu 1bbbb70fc8 - fixed issue #409; problem was due of an assert I used in the handler of the Menu ->Options -> Flip X(Y) menu entry
- activated and updated the editing in the Aperture Table in the Gerber Editor; not all parameters can be edited for every type of aperture
- some strings updated
2020-05-01 00:16:24 +03:00
Marius Stanciu 40535b9ffe - fixed bug in Tools DB that crashed when a tool is copied
- in Tools Database added a Save Button whose color is changed in Red if the DB was modified and back to default when the DB is saved.
- fixed bug in Tool DB that crashed the app when the Tool Name was modified but there was no tree item (a tool in the list) selected in the Tree widget (list of tools)
- now on tool add and tool copy, the last item (tool, which is the one added) is autoselected; o tool delete always the first item (tool) is selected
2020-04-30 19:34:05 +03:00
Marius Stanciu 98541775d4 - made some corrections - due of recent refactoring PyCharm reported errors all over (not correct but it made programming difficult)
- modified the requirements.txt file to force svg.path module to be at least version 4.0
2020-04-30 12:47:07 +03:00
David Robertson 9be8665311 Grouped the preferences UI files by tab (except for tools1/2 which I put together) 2020-04-30 00:11:45 +01:00