Commit Graph

2944 Commits

Author SHA1 Message Date
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
0d870dcde6 Merged marius_stanciu/flatcam_beta/Beta_8.993 into Beta 2020-05-09 05:19:04 +03: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
1ca84b6893 Merged marius_stanciu/flatcam_beta/Beta_8.993 into Beta 2020-05-08 22:01:53 +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
08d4c0947e Merged marius_stanciu/flatcam_beta/Beta_8.993 into Beta 2020-05-08 01:42:15 +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
Camellan
d9b48a101f jpcgt/flatcam/Beta слито с Beta 2020-05-07 18:57:29 +04:00
David Robertson
21756bea9c Gerber opt pref group 2020-05-07 02:56:22 +01:00
Marius Stanciu
bac0cddc12 Merged marius_stanciu/flatcam_beta/Beta_8.993 into Beta 2020-05-07 04:46:19 +03: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
4ece23c456 - added a fix so the app close is now clean, with exit code 0 as set 2020-05-07 00:46:02 +03:00
Marius Stanciu
83d1ef296b Merged marius_stanciu/flatcam_beta/Beta_8.993 into Beta 2020-05-06 16:38:36 +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
Marius Stanciu
cc7d2167ba Merged marius_stanciu/flatcam_beta/Beta_8.993 into Beta 2020-05-06 04:12:08 +03:00
Marius Stanciu
afbe2d974f - handled the New project event and the object deletion (when all objects are deleted then the exclusion areas will be deleted too) 2020-05-06 04:11:31 +03:00
Marius Stanciu
710c520cbb Merged marius_stanciu/flatcam_beta/Beta_8.993 into Beta 2020-05-06 03:59:30 +03:00
Marius Stanciu
343d4ee534 - changed the above: too many shapes collections and the performance will go down. Created a class Exclusion areas that holds all the require properties and the Object UI elements will connect to it's methods. This way I can apply this to Excellon object too (who are a special type of Geometry Object) 2020-05-06 03:44:56 +03: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
5d52902109 Merged marius_stanciu/flatcam_beta/Beta_8.993 into Beta 2020-05-05 01:39:55 +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
33f4b42ea3 - string with e-mail address changed on e-mail owner request 2020-05-04 21:26:32 +03:00
Marius Stanciu
8607c0372b Merged marius_stanciu/flatcam_beta/Beta_8.993 into Beta 2020-05-04 18:29:29 +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
81018b886f use get_form_field instead of option_dict in FlatCAMApp 2020-05-03 22:51:53 +01:00
Camellan
4a650d9c54 jpcgt/flatcam/Beta слито с Beta 2020-05-04 01:04:09 +04: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
a9688016ad Merged marius_stanciu/flatcam_beta/Beta 8.993 into Beta 2020-05-03 17:39:28 +03: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
Marius Stanciu
737b1fcecf Merged marius_stanciu/flatcam_beta/Beta 8.993 into Beta 2020-05-03 16:48:58 +03:00
Marius Stanciu
17a2c0e4c1 - updated the translation files
- changed the line endings for Makefile and setup_ubuntu.sh files
2020-05-03 16:48:17 +03:00
Marius Stanciu
8deb31d123 Merged marius_stanciu/flatcam_beta/Beta 8.993 into Beta 2020-05-03 16:37:54 +03:00
Marius
83a515eeee Merge remote-tracking branch 'remotes/jpcgt/flatcam/Beta' into Beta
# Conflicts:
#	CHANGELOG.md
#	FlatCAMApp.py
#	locale/de/LC_MESSAGES/strings.mo
#	locale/de/LC_MESSAGES/strings.po
#	locale/en/LC_MESSAGES/strings.mo
#	locale/en/LC_MESSAGES/strings.po
#	locale/es/LC_MESSAGES/strings.mo
#	locale/es/LC_MESSAGES/strings.po
#	locale/fr/LC_MESSAGES/strings.mo
#	locale/fr/LC_MESSAGES/strings.po
#	locale/hu/LC_MESSAGES/strings.mo
#	locale/hu/LC_MESSAGES/strings.po
#	locale/it/LC_MESSAGES/strings.mo
#	locale/it/LC_MESSAGES/strings.po
#	locale/pt_BR/LC_MESSAGES/strings.mo
#	locale/pt_BR/LC_MESSAGES/strings.po
#	locale/ro/LC_MESSAGES/strings.mo
#	locale/ro/LC_MESSAGES/strings.po
#	locale/ru/LC_MESSAGES/strings.po
2020-05-03 16:36:23 +03:00