Commit Graph

4487 Commits

Author SHA1 Message Date
Ali Khalil
67a7f8b8a2 Added theme_safe_colors method code in MainGUI.py 2022-04-18 12:52:44 +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
d8a0be84a3 - replaced all the FCLabel widgets that have color HTML with the new FCLabel widget that uses parameters for 'color' and weight 2022-04-18 03:41:04 +03:00
Marius Stanciu
04357843fe - updated the FCLabel widget 2022-04-18 02:28:24 +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
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
Ali Khalil
adad500f15 Theme option added to match OS appearance. Sets appearance on application launch. 2022-04-17 21:48:31 +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
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
377d79d413 - added ability to control the color of the project items for the dark theme too 2022-04-14 17:59:32 +03:00
Marius Stanciu
f124ccf4df - in Geometry Editor, for Path tool, added the ability to differentiate between creating a multidigit number for the projection and starting a new number (for a new segment) 2022-04-14 15:11:45 +03:00
Marius Stanciu
a09700929e - solved a ZeroDivisionError exception in the Geometry Editor -> Path Tool 2022-04-14 14:24:53 +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
ff954c4f62 - in Geometry Editor for the Path tool fixed an issue with path projection when changing the grid size while the Path tool is active 2022-04-14 03:20:54 +03:00
Marius Stanciu
dd4a0dac99 - in Geometry Editor for the Path tool but only when using the 3D engine graphic mode, the mouse cursor is followed by position data 2022-04-14 02:42:07 +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
716dddb851 - in Geometry Editor made sure that the MultiPolygon shapes (like those made by the Text Tool) will update the coordinates in the UI 2022-04-13 20:12:54 +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
f60919f4c7 - in Geometry Editor - update (some reformatting and adding shape data) 2022-04-13 15:25:34 +03:00
Marius Stanciu
fcdb318c23 - fixed the display of lines in Distance Plugin when using 'snap to' together with 'multipoint' 2022-04-13 03:22:12 +03:00
Marius Stanciu
f3af785769 Merge remote-tracking branch 'origin/Beta_8.995' into Beta_8.995 2022-04-11 15:41:03 +03:00
Marius Stanciu
b0b2c8e7f5 - some fixes to the Tcl commands contribution from Ali Khalil
- refactoring code in Distance Plugin and making sure that the measurements are done correctly - work in progress
2022-04-07 14:58:16 +03:00
Ali Khalil
319283cdd0 Merged in Beta_8.995_ali (pull request #21)
Fixed TCL Cutout and GeoCutout and added support for newer gap options

Approved-by: Marius Stanciu
2022-04-06 09:19:52 +00:00
Ali Khalil
75ac180aad Updated cutout command help text to reflect options 2TB, 2LR, and 8 2022-04-06 06:53:52 +03:00
Ali Khalil
d0fe92e5d1 TCL cutout command new switch -type accepting rect and any 2022-04-06 06:41:24 +03:00
Marius Stanciu
6e2bd97350 Merge remote-tracking branch 'origin/Beta_8.995' into Beta_8.995 2022-04-05 14:49:21 +03:00
Ali Khalil
4bbe3b4c49 Minor change. Error tag updated 2022-04-04 09:40:42 +03:00
Ali Khalil
86cba9b4a1 TclCommandGeoCutout updated with gap options in uppercase to match ToolCutOut and TclCommandCutout. 2022-04-04 09:40:42 +03:00
Ali Khalil
16a013266b TclCommandCutout now uses CutOut.rect_cutout_handler for gaps 2022-04-04 09:40:42 +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
1b9e2feb75 - in Cutout Plugin exposed the any_cutout_handler() method and made sure that the gaps parameter case does not matter 2022-04-03 12:18:02 +03:00
Marius Stanciu
80a699693f - make sure that replotting objects is done only for enabled objects 2022-04-02 21:21:05 +03:00
Marius Stanciu
d7fd4dc8f2 - minor fix in Fiducials Plugin 2022-04-02 15:55:23 +03:00
Marius Stanciu
72d39f09fb - in Fiducials Plugin, for manual mode: added utility geometry and the ability to use a big cursor 2022-04-02 15:50:00 +03:00
Marius Stanciu
f388c51eb4 - in Markers Plugin, added a numeric mode 2022-04-02 08:22:33 +03:00