Commit Graph

48 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
David Robertson
6b36667c15 Merge branch 'Beta' into separate-PreferencesUI-classes-into-individual-files 2020-04-29 23:42:35 +01:00
David Robertson
f7989c029f Split up PreferencesUI.py into individual files for each class, then fixed the imports everywhere that broke because of this. 2020-04-29 22:53:16 +01:00
David Robertson
aa16b5e339 Shift the PreferencesUI.py file into a new preferences subpackage 2020-04-29 22:02:25 +01:00