Commit Graph

138 Commits

Author SHA1 Message Date
Ali Khalil
ce4b43bd36 Menu icons location changes restored and will be addressed in future update with better mechanism. FCLabel calls updated where possible based on new method parameters 2022-04-18 11:36:08 +03:00
Ali Khalil
84cdc87030 FCLabel behavior modified to match updated method based on PR discussion 2022-04-18 09:18:17 +03:00
Ali Khalil
5cc869c1fd Application wide updates for dark mode support including dark canvas option and better colors 2022-04-17 22:41:02 +03:00
Marius Stanciu
4d496e4539 - in Geometry Editor, in Circle Tool added UI, cursor data, radius projection and ability to add ellipses 2022-04-16 16:01:39 +03:00
Marius Stanciu
972d5c8836 - in Geometry Editor, in Move Tool and Copy Tool added UI's, move projection and cursor data. Also, now require acquiring reference point before the action. 2022-04-16 13:38:38 +03:00
Marius Stanciu
1d1226b628 - in Geometry Editor, the Rectangle Editor Tool allows creation of rectangles with the mouse but projecting the length and width dimensions by typing a number (the choice of setting the length or width is based on the direction of the mouse move after setting the first point)
- in Geometry Editor, the Rectangle Editor Tool has now Ui which allows adding a rectangle by parameters
2022-04-16 02:03:11 +03:00
Marius Stanciu
d8129c8825 - in Geometry Editor moved the simplification feature in its own Editor Tool (plugin)
- in Geometry Editor the default draw color is now black
2022-04-15 23:14:27 +03:00
Marius Stanciu
6bab9be25a - in Geometry Editor, for the Polygon Tool added the UI, the length projection and the cursor data, just like for the Path Tool 2022-04-14 22:00:24 +03:00
Marius Stanciu
53c92306dd - in Geometry Editor, for Path tool, added UI that close on end of the Path tool action; it displays the projected length which now is kept for as long as it is wanted, allowing for path automation in case of repetitive lengths 2022-04-14 14:01:01 +03:00
Marius Stanciu
b049a64684 - in Geometry Editor added a new feature. While drawing a 'Path' now the user can project a direction by moving the mouse cursor in a certain direction and after that by typing a number or an arithmetic simple expression, a line segment will be drawn in that direction with the specified length from the last point 2022-04-14 01:00:20 +03:00
Marius Stanciu
804786c6c2 - in Geometry Editor - fixed the Explode tool to work on the result of adding Text geometry
- all the Geometry Editor plugins are moved inside another folder and the UI's are moved into their own class
2022-04-13 18:33:05 +03:00
Marius Stanciu
a59f996819 - some reformatting and class rename
- when clicking the coordinates toolbars in the status bar now the Distance Plugin is shown and if already displayed, it is closed (toggle action)
2022-04-03 15:06:36 +03:00
Marius Stanciu
c4151631ec - changed the app main icons, hopefully they are more visible on black backgrounds than the ones that FlatCAM has 2022-03-31 11:28:35 +03:00
Marius Stanciu
4745e1cab9 - in Distance Plugin added the ability to use a big cursor; not finished: when the grid is off it is not displayed 2022-03-28 20:06:11 +03:00
Marius Stanciu
cd42c40198 - minor change 2022-03-23 14:21:53 +02:00
Marius Stanciu
37e31b0159 - added to the application an older contribution by another user: Columnar Layout for the Preferences Tab. It can be set in Preferences -> General -> GUI section 2022-03-12 01:05:54 +02:00
Marius Stanciu
a3a8fbf8d5 - in the Grid Toolbar, the Grid Y entry is now by default hidden and shown only when there is a need (grid gap link is disabled) in order to maximize the status bar space availability 2022-03-11 14:48:22 +02:00
Marius Stanciu
4398b3468f - added a new feature: now in the context menu (and main menu -> Edit) there is a new command that allow to move a selection of objects at specified numeric coordinates (either absolute or relative to current position) 2022-03-11 13:51:29 +02:00
Marius Stanciu
65cf80165c - made sure that the app starts with toolbar's locked 2022-03-10 18:24:18 +02:00
Marius Stanciu
da20db5527 - fixed an issue where using the 'G' shortcut key in Editors will not toggle the grid snap
- fixed an issue in the Excellon Editor where selecting the drills did not highlight them but instead made them invisible (although the selection still worked)
- fixed an issue in the Gerber Editor where selecting one shape will auto-select all the shapes made with the same aperture
2022-03-10 00:13:47 +02:00
Marius Stanciu
8900c89214 - added a few new GUI custom widgets
- removed the status bar Tcl Shell toggleable QLable. Now the Tcl Shell is toggled by clicking the Message in the Status bar
2022-03-09 14:20:09 +02:00
Marius Stanciu
843be488a5 - some changes to the Preferences 2022-02-24 00:14:58 +02:00
Marius Stanciu
72186cf8b8 - fixed an issue due of recent changes that made the application think that is run always for the first time; fixed not applying the selected language translation
- some more code is refactored in the Preferences
- the axis will now be drawn on the canvas as they were left in the previous run (just like the HUD and the Workspace)
- for processors with less than 4 cores now the default number of workers is 1 (changed from 2)
- some graphical settings go now directly to the defaults dictionary and will not pass through the `options` app dictionary
2022-02-20 22:32:54 +02:00
Marius Stanciu
7acabdfa0f - fixed an issue where the selected application translation language is not remembered as was selected and defaulting to English language
- refactored code in Preferences section
2022-02-20 20:37:31 +02:00
Marius Stanciu
65d8dcc0b2 - the application now uses only the default values from the app.options dict, the app.defaults dict holds the definitive default values
- fixed some outstanding issues from the PyQt6 port
- PEP8 fixes
- minor fixes
- updated the saving of Preferences to update the self.options too: the `Apply` action will update the self.options but the `Save` action will save the updated preferences to the file on disk
2022-02-18 23:06:58 +02:00
Marius Stanciu
1681b327ed - refactoring all the references to object options property to obj_options to make a difference with the application options property 2022-02-16 10:47:12 +02:00
Marius Stanciu
529148c60d - made sure that the redraw_on_top_on_project_click works properly and only on mouse click release in the Project list
- made sure that the `redraw_on_top_on_project_click` works only on single object selections
2022-02-11 11:06:08 +02:00
Marius Stanciu
056ff05e29 - most of the logging (except in the Editors) is now done by the AppLogging class 2022-01-31 02:14:14 +02:00
Marius Stanciu
ba8b16e54f - fixed some issues due of the above hack 2022-01-19 21:35:26 +02:00
Marius Stanciu
b615edd631 - made sure that new message boxes are always centered on the app UI by setting correctly the parent 2022-01-14 12:43:14 +02:00
Marius Stanciu
200d244b9b - made sure that the FCMessageBox taskbar icons and message are the correct ones
- applied the FCMessageBox GUI elements everywhere; there is still a hack in appTranslation file where I needed to re-implement the class due of some circular imports errors
2022-01-13 18:08:11 +02:00
Marius Stanciu
1d1613d2d6 - subclassed the QMessageBox and created a new type of MessageBox that is frameless; started to use it throughout the app 2022-01-12 02:27:12 +02:00
Marius Stanciu
9d9bfa8b03 - some UI changes in the Preferences: the clicked tab now have a distinctive color (green) and some strings are optimized 2022-01-09 16:39:06 +02:00
Marius Stanciu
648fc81868 - added a donation link (some people wanted it there so...) 2022-01-06 19:08:23 +02:00
Marius Stanciu
71306395fa - in Distance Plugin - modified the UI
- in Distance Plugin - implemented a new feature: multi segment distance measurement
- in Distance Plugin - the Dx, Dy, Angle and Distance values are updated real time (for non multi segment measurement)
2021-10-13 01:41:49 +03:00
Marius Stanciu
55ea7a6be0 - in Markers Plugin: changed the name of the resulting object to reflect this plugin name
- fixed an issue with toggling the visibility of objects
2021-10-11 21:21:13 +03:00
Marius Stanciu
180b1dcc5a - minor changes in the Distance Plugin 2021-10-11 17:42:07 +03:00
Marius Stanciu
1c42efdcdf - renamed the Corner Markers Plugin in Markers Plugin
- added a new feature in Markers Plugin: now the Margin parameter can be set for both axis: X and Y or both
2021-10-09 22:45:09 +03:00
Marius Stanciu
8c57a53e3b - fixed some recently introduced issues for the Milling and Drilling Plugins; those plugins did not had the pluginName defined in the Plugin UI
- in the canvas context menu added the menu for color changing
- when doing color changing now only Gerber and Excellon objects can have the colors changed
2021-10-09 00:34:30 +03:00
Marius Stanciu
e2f511be71 - added a new color in the Object Colors ("indigo")
- now the object color transparency is preserved if a new color is chosen
2021-10-07 14:55:17 +03:00
Marius Stanciu
1860730b79 - Check Rules Plugin - upgraded the UI to the new look and grouped better the rules
- updated the language strings
2021-10-05 02:56:56 +03:00
Marius Stanciu
0232ec5d2f - added a shortcut to select all apertures in the Excellon Editor (Ctrl+A) 2021-09-28 05:39:39 +03:00
Marius Stanciu
8d8a522714 - changed the circle resolution back to the default of 16 since this value is good for fast rendering of Gerber files
- added a shortcut to select all apertures in the Gerber Editor
- other minor fixes
2021-09-28 05:25:34 +03:00
Marius Stanciu
3fc0ab826f - working to differentiate between temporary units change and permanent units change 2021-09-27 17:28:54 +03:00
Marius Stanciu
4b52196310 - in Fiducials Plugin added the support for ESCAPE key from manual mode and also exit by right clicking
- in Fiducials Plugin addressed the situation when no object is selected but there are available
- in Fiducials Plugin when adding manual fiducials now panning is allowed without cancelling the process of adding
- in Corners Plugin implemented the manual adding of markers
- in Corners Plugin added the support for ESCAPE key from manual mode and also exit by right clicking
2021-09-09 23:09:09 +03:00
Marius Stanciu
e0a158759c - in Fiducials Plugin added the support for ESCAPE key from manual mode and also exit by right clicking 2021-09-09 21:30:48 +03:00
Marius Stanciu
d90e86da39 - made sure that the location labels in the InfoBar have only the decimals required when the Grid snapping is ON 2021-08-31 02:25:43 +03:00
Marius Stanciu
30802901c7 - removed the setting for HDPI from Preferences and QSettings: QT6 does it automatically now 2021-08-28 22:42:44 +03:00
Marius Stanciu
4afc706e20 - minor changes 2021-08-27 22:03:08 +03:00
Marius Stanciu
67120e3214 - fixed the "headless" feature; running headless still start the GUI just it does not show it
- when running headless the sys tray icon will always be shown so the user can close the app correctly
- in the systray icon context menu I've added a menu entry to toggle the GUI
2021-08-25 13:53:00 +03:00