Commit Graph

269 Commits

Author SHA1 Message Date
Marius Stanciu
5fe50dbcd1 - NCC Tool: made a small optimization by adding a simplification in the clearing geometry 2023-06-16 22:37:02 +03:00
Marius Stanciu
dd49b21176 - Geometry Editor: fixed the selected shapes width issue; now the selected shapes are thicker
- Geometry Editor: no longer matter the order (top-bottom or bottom-top) of selection, now the last selected shape has the data updated in the UI
- Geometry Editor: fixed the simplification tool to work on a selection of shapes
2023-06-12 15:57:25 +03:00
Marius Stanciu
26e0653eeb - Geometry Editor: added some constraints in regards of the required selection before using some of the subTools 2023-05-25 14:22:35 +03:00
Marius Stanciu
99a591aa49 - Geometry Editor: subtool Path: fixed issue of not registering the new click when using the Shift modifier
- Geometry Editor: subtool Path: the coordinates displayed when using the Shift key modifier are the coordinates for the end of the line and not the mouse cursor
2023-05-25 02:43:43 +03:00
Marius Stanciu
63071a9bae - overwritten the Beta_8.995 branch with the Gerber_Editor_Upgrade branch 2023-05-24 18:07:05 +03:00
Marius Stanciu
037a72a594 - small fix for a bug that interfere with running the 2D graphic mode 2022-05-20 04:51:28 +03:00
Marius Stanciu
278727fcc7 - fixed an issue that left some parts of the Geometry Editor UI linked to the Move context menu action 2022-05-16 04:17:33 +03:00
Marius Stanciu
745e49ed50 - finished upgrading the UI in Geometry Editor sub-tools 2022-05-16 03:49:02 +03:00
Marius Stanciu
0ee2a19189 - changed the syntax highlighting for the AppTextEditor such that the strings are not color marked
- changed the syntax highlighting such that for a dark theme the colors are inverted
- made sure that in the AppTextEditor, when a line is highlighted then the text foreground color is black such that the writing can be read over the line highlight
2022-05-12 04:13:23 +03:00
Marius Stanciu
9eb42f4601 - some refactoring and updated the application strings
- updated Romanian translation
2022-05-11 23:42:46 +03:00
Marius Stanciu
a973275f97 - fixed a crash when creating a Document object due of changes in Qt6 (missing QtGui.Qt)
- in Document object fixed the issue with not setting selection color when in a dark theme (essentially got rid of using QPalette)
- in dark theme stylesheet changed the indent of the QCheckBox (and in Radio buttons too)
- updated the FClabel widget with some more properties
- updated the hack to make sure that the Editor sub-tools do not lose the stylesheet of the background
- updated the disabled project item color default value for the dark theme
2022-05-11 20:13:36 +03:00
Marius Stanciu
e8a15156db - upgraded the Geometry Editor main UI
- upgraded the FCButton widget (and made it used everywhere instead of the QPushButton) so it can have the color and font weight properties settable
2022-05-10 07:01:14 +03:00
Marius Stanciu
411a9320e5 - fixed an issue in the Paint Plugin where some polygons are discarded in a Geometry object made out of an imported SVG
- a few other changes
2022-05-09 12:40:12 +03:00
Marius Stanciu
fed9369023 - added a hack so the dark stylesheet for QWidget is reapplied if that Qwidget is removed (I don't know why it is lost in the first time) 2022-05-05 18:16:45 +03:00
Marius Stanciu
e6753346c1 - made sure that the draw color in Editors is inverted for the dark mode 2022-05-05 17:46:54 +03:00
Marius Stanciu
34d65a2077 - in Geometry Editor fixed an angle issue in the Circle sub-tool
- in Geometry Editor made sure that when using the Move sub-tool if there is no shape selected, when clicking to get selection that point is also used as reference for the Move command
2022-05-02 15:29:44 +03:00
Marius Stanciu
5e8cee8feb - in Excellon Editor, Copy sub-tool, added UI and ability to copy as array
- fixed an issue in Geometry Editor, Copy sub-tool where when the geometry copied numbers over the set limit then the copy as array is incorrect
2022-05-02 03:58:36 +03:00
Marius Stanciu
7e17cdad7d - in Geometry Editor updated the Rectangle Plugin such that when selecting different corners now the drawn rectangle will have those
- in Geometry Editor updated the Circle Plugin such that when the Radius parameters are not linked then an ellipse is drawn
2022-05-01 17:19:52 +03:00
Marius Stanciu
f8ccf03786 - fixed persistence of view status for the coordinates toolbars
- fixed broken selection in Excellon Editor
2022-05-01 06:02:48 +03:00
Marius Stanciu
708102d581 - minor changes in the Excellon Editor -> Resize Plugin 2022-04-30 18:37:04 +03:00
Marius Stanciu
4709b336f5 - in Excellon Editor, finished the upgrade work on the Resize Plugin 2022-04-30 17:46:48 +03:00
Marius Stanciu
753b6c6d5d - in Excellon Editor, finished th upgrade work on the Slot Array Plugin 2022-04-30 16:34:22 +03:00
Marius Stanciu
092451038e - In Excellon Editor, finished th upgrade work on the Drill Array Plugin 2022-04-30 14:27:09 +03:00
Marius Stanciu
6592fc5cde - In Excellon Editor, Drill Array Plugin, upgraded the UI and work in progress for the features 2022-04-30 03:52:57 +03:00
Marius Stanciu
b4c300b2eb - In Excellon Editor, finished updating the Drill Plugin and Slot Plugin
- fixed a bug in the excellon export method, regarding the slots processing
2022-04-29 20:11:55 +03:00
Marius Stanciu
545e594ed0 - in Isolation Plugin made sure that the last displayed message is the warning, in the case of using tool validation and the tool is not validated
- some more work in the Excellon Editor - Drill adding
- some fixes in the image loader when clicking the an image that is in the list of previous loaded files
- a small fin in the SVG parser
- added a new Tcl command that is returning the name of the active object ('get_active') to accompany the 'set_active' command
- a small fix for the 2d graphic mode by replacing the q5agg matplotlib backend with the qtagg backend which should work with the Qt6
2022-04-28 13:39:48 +03:00
Marius Stanciu
779a8ccc9f - activated the 'View Source' option in the project menu context menu for the Geometry objects
- in Image Import plugin now the created objects have the 'source_file' attribute with content
- working in the Excellon Editor - wip
2022-04-26 14:29:23 +03:00
Marius Stanciu
cb7bcf257f - fixed some leftovers due of recent changes in the theme management
- added a new feature (new modules are required) in the Image Plugin (Menu -> File -> Import -> Import Image) that allow tracing images. This may allow engraving pictures.
- started to add UI's for the Excellon Editor Tools (really early work)
2022-04-23 18:12:43 +03:00
Marius Stanciu
d7d53399a0 - some changes in the Geometry Editor UI's and in some cases, fixes for the right-click close action 2022-04-20 21:27:20 +03:00
Marius Stanciu
9ca506a5e4 Merged Beta_8.995 into Evo_1.0 2022-04-18 19:54:54 +00:00
Marius Stanciu
00144bafa0 - some changes in the theme selection, added that the default situation is where no theme is applied
- some string changes
2022-04-18 22:22:47 +03:00
Marius Stanciu
54e1bfd4fb - changed some strings 2022-04-18 21:39:25 +03:00
Ali Khalil
e23d89779c Merge branch 'Beta_8.995' into os-dependent-theme with Marius' changes for theme_safe_color 2022-04-18 12:29:33 +03:00
Marius Stanciu
7d2fd7c77a - added a way to allow patching FCLabel widget colors for certain cases without having to pass them each instance 2022-04-18 11:48:16 +03:00
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
Marius Stanciu
b70da1b4b2 - minor changes 2022-04-18 03:54:05 +03:00
Marius Stanciu
6b6367fae8 - minor changes 2022-04-18 03:49:58 +03:00
Marius Stanciu
e2770776b7 - in Geometry Editor, in Copy Tool added the 2D copy-as-array feature therefore finishing this editor plugin upgrade 2022-04-18 01:23:01 +03:00
Marius Stanciu
3af1b189c5 - in Geometry Editor, COpy Tool, finished the copy-as-array feature except the 2D array type which was not implemented yet 2022-04-17 17:09:08 +03:00
Marius Stanciu
0df270a48d - in Geometry Editor, in Copy Tool - linear array utility geometry is working 2022-04-17 02:14:00 +03:00
Marius Stanciu
07995fd0c8 - in Geometry Editor, in Copy Tool - work in progress (adding utility geometry for the array mode) 2022-04-17 01:22:52 +03:00
Marius Stanciu
f407c57f8f - in Geometry Editor, in Copy Tool remade the UI and started to add the support for copy-as-array (work in progress) 2022-04-16 23:54:26 +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
e399c6cddc - in Geometry Editor, in Rectangle Tool added cursor data 2022-04-16 14:07:41 +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
34bb741335 - in Geometry Editor, in the Simplification Tool made sure that the selected shape is highlighted
- in Geometry Editor, in Rectangle Tool added a modification mode where a selected shape (using the SHIFT + click combo) while the tool is active, can be modified
2022-04-16 11:46:33 +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
f4e800244e - made sure that some menu entries in the canvas popup menu are hidden when entering into an Editor and restored on exit 2022-04-14 23:39:51 +03:00