Commit Graph

78 Commits

Author SHA1 Message Date
Marius Stanciu
4afc706e20 - minor changes 2021-08-27 22:03:08 +03:00
Marius Stanciu
b6c9e85bdd - fixed a Qt6 derived issue where dragging tabs outside the app crashed the app 2021-08-26 16:10:40 +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
Marius Stanciu
9ed8306c5f - fixed some issues in the convert_units
- added a new GUI element, a radio button that can change a setting in the self.defaults preferences dict
- made sure that the update of the default properties tab (in the Notebook) is done only for certain keys in self.defaults not for all
2021-08-25 02:31:44 +03:00
Marius Stanciu
7a7214752c - fixed some issues with using the exec_() which now should be exec()
- added a context menu action in the canvas context menu for moving selected objects to origin
2021-08-15 02:19:24 +03:00
Marius Stanciu
061e109e45 - wip in porting to PyQt6: fixed OptionalInput and OptionalHideInput GUI elements 2021-08-09 12:25:20 +03:00
Marius Stanciu
2daf191948 - changed the spacings in the new custom Grid layout 2021-08-07 11:58:11 +03:00
Marius Stanciu
461aa763ad - created a new custom layout based on the Grid Layout where I can set the horizontal and vertical spacings between grid items and used it throughout the app 2021-08-07 11:46:45 +03:00
Marius Stanciu
3c06280d3d - more changes due of porting to PyQt6
- fixed the Autocompleter highlighting to work in PyQt6
2021-08-07 10:21:45 +03:00
Marius Stanciu
1d88491a18 - more work in PyQt6 porting 2021-08-05 21:14:37 +03:00
Marius Stanciu
4eb20fd5fe - more fixes for porting to PyQt6 2021-08-05 02:23:29 +03:00
Marius Stanciu
e0a7afb2cd - fixed fullscreen functionality for PyQt6 and a few other fixes regarding the port to PyQt6 2021-08-05 02:00:54 +03:00
Marius Stanciu
ffce6b437f - continuing to fix the PyQt6 port
- added an Exception when App.on_canvas_setup() fails
2021-08-05 00:50:09 +03:00
Marius Stanciu
53272da959 - porting to PyQt6 2021-08-04 18:34:24 +03:00
Marius Stanciu
4c92083c01 - upgraded all the plugins such that at each launch the Plugin UI is reinitialized reducing the chances to get errors like "wrapped up C++ object deleted" with the side effect that the performance might be slightly reduced 2021-03-28 15:21:17 +03:00
Marius Stanciu
ca748d9a02 - update in Code Highlighter to highlight the X and Y chars
- updated the Document and Script objects Beginner/Advanced selection labels to the same as the rest of the app objects
2021-02-27 04:48:00 +02:00
Marius Stanciu
f85be8d095 - added possibility of changing the Axis color and created a new parameter for that in Preferences
- some refactoring
- in a FCColorEntry GUI element, setting a color in the Color dialog will trigger the editingFinished signal therefore propagating the changes
2021-02-27 02:08:17 +02:00
Marius Stanciu
00a1b72553 - some changes in the GUI elements and some updates in the Cutout Tool 2021-01-17 22:04:11 +02:00
Marius Stanciu
e016bf0224 - allowed some more parameters to have negative values (tool diameters especially)
- some more tools now have a Beginner/Advanced mode
2021-01-06 15:05:22 +02:00
Marius Stanciu
e5cc47882f - replaced all usages of QFormLayout with QGridLayout 2020-12-31 18:03:43 +02:00
Marius Stanciu
9dfa3b497d - all the logs done on Exception are now errors (with the exception of few places where the Exception is expected) 2020-12-31 05:56:46 +02:00
Marius Stanciu
8e40ddfab0 - merged PR by Dmitriy Klabukov and expanded it a bit
- Gerber Editor - made sure that when simplification button is clicked the coordinates and vertex points field are cleared
- Gerber Editor - added a Beginner/Advanced toggle button
- Gerber Editor - added context menu to Apertures Table and also on row selection in Aperture Table, the area and vertex number fields are updated
- Excellon Editor - added a Beginner/Advanced toggle button; added context menu to Apertures Table
- Excellon Editor - fixed the Tools Table row selection handler
2020-12-25 20:51:17 +02:00
Marius Stanciu
b2035aca34 - minor changes to the syntax highlighting in GCode Editor 2020-12-22 05:00:00 +02:00
Marius Stanciu
3a97cd3880 - modified the way the status bar icon is set
- Drilling Tool - fixed missing feedrate code when the toolchange is Off
- AppTextEditor - working on syntax highlighting
- App - trying to speed up the new project creation
- Tcl Shell - Browser Edit - added Undo/Redo, Cut and Delete selection
- replace all the exec_() calls with exec() (except one situation in Tcl where I'm not sure of the effect)
2020-12-20 16:56:14 +02:00
Marius Stanciu
a785aabdcc - modified the way that the plotcanvas widget is added 2020-12-15 16:34:37 +02:00
Marius Stanciu
27709b11eb - SolderPaste Tool - the GCode Viewer will open a AppText Editor Tab with Plain Text
- GCode Editor - added an Exit action to the context menu in the GCode Editor Tab
2020-12-13 23:31:46 +02:00
Marius Stanciu
900af55be0 - in Tcl Shell Dock widget make sure that the context menu is not shown on the title bar and middle clicking on the title bar will close the widget 2020-12-09 23:28:08 +02:00
Marius Stanciu
c1fdf2d8e8 - simplifying the UI for the Milling Tool when in 'Beginner' mode
- Milling UI - clicking the 'Beginner/Advanced' top button will switch the application mode for the current tool(this change need to be propagated everywhere a 'Beginner' mode is needed)
2020-12-09 16:59:03 +02:00
Marius Stanciu
5a6271be09 - few changes in the Milling UI
- made some changes in the application to prepare for usage of PyQt6
2020-12-08 17:55:41 +02:00
Marius Stanciu
9ecc2dc9ac - in Tools Database - clicking the header sections of the TreeWidget for columns Target and Diameter will sort the tools by that criteria 2020-11-26 22:02:40 +02:00
Marius Stanciu
fb983872d0 - using 'Escape' key shortcut while the focus is in the Tcl Shell command line will set focus on the main canvas 2020-11-25 21:14:18 +02:00
Marius Stanciu
9b08c51bba - added Find function in Tcl Shell (will search for either the selected text in the command line or for the one stored on the clipboard) 2020-11-25 18:32:18 +02:00
Marius Stanciu
88509cd9a7 - made sure that the GUI element FCInputDialogSpinnerButton has the spinner element auto-selected on launch 2020-11-25 13:04:12 +02:00
Marius Stanciu
cca04676e2 - GUI Element FCLineEdit (and the inheritors) has now disabled cut/paste/delete context menu entries too 2020-11-21 03:09:37 +02:00
Marius Stanciu
89453e56b4 - Tool Copper Thieving - made sure that the clearance for pattern plating mask is applied also for positive values
- Tool Copper Thieving - when creating pattern plating masks now the user can select to use only the pads and that's useful when the soldermsk Gerber is actually a copper Gerber
- Tool Copper Thieving - changed the units for plated area from mm2 in cm2 when the app units are Metric
- Calculator Tool - Electroplating Calculator - changing the area will update the current value
- GUI Elements FCDoubleSpinner and FCSpinner: modified the context menu to not allow cut/paste/delete/step_up/step_down when the GUI element is set as Read Only
2020-11-21 02:58:17 +02:00
Marius Stanciu
5f39a7b634 - in Geometry Editor and in the Gerber Editor made sure that for the sub-tools that open in the Tool Tab, if the tab is closed then the Select Tool is automatically selected. And also trying to open that sub-tool again will open a new tab. 2020-11-20 22:49:34 +02:00
Marius Stanciu
bb279cbebe - removed the enforced ActivityView width
- various string changes; updated the strings
- brought up-to-date the Romanian translation strings
- updated the source file when creating Excellon objects in various places in the app
2020-11-15 15:05:58 +02:00
Marius Stanciu
21db5d9528 - in Geometry UI and in Drilling Tool added ability to edit existing Exclusion Areas and change the Strategy and OverZ parameters for each of them
- in Geometry UI and in Drilling Tool added a Delete menu entry in the Exclusion Area Table context menu
2020-11-12 23:42:26 +02:00
Marius Stanciu
4d4735fff2 - some refactoring in signal connections in App.__init__()
- fixed issue with conenctiong twice the signals for the File Toolbar on the first execution of the program
2020-11-09 16:40:30 +02:00
Marius Stanciu
ec97e7470c - fixed the new InputDialog widget to set its passed values in the constructor 2020-11-06 14:28:24 +02:00
Marius Stanciu
1d88fd0d4c - Turkish language strings updated
- set some policy rules back the way they were for the combo boxes in Geometry Object properties
2020-11-05 20:17:02 +02:00
Marius Stanciu
d4fec5ae60 - fixed the annotation plotting in the CNCJob object
- created a new InputDialog widget that has the buttons and the context menu translated and replaced the old widget throughout the app
- updated the translation strings
2020-11-05 16:36:41 +02:00
Marius Stanciu
846c0dc59d - fixed the UI layout in Excellon Editor and made sure that after changing a value in the Notebook side after the mouse is inside the canvas, the canvas takes the focus allowing the key shortcuts to work
- Turkish language strings updated (by Mehmet Kaya)
2020-11-04 21:40:17 +02:00
Marius Stanciu
90e3b26b68 - fixed issue with arrays of items could not be added in the Gerber/Excellon Editor when a translation is used
- fixed issue in the Excellon Editor where the Space key did not toggle the direction of the array of drills
- combed the application strings all over the app and trimmed them up until those starting with letter 'O'
- updated the translation strings
2020-11-04 18:40:59 +02:00
Marius Stanciu
4f9bb918d5 - in Copper Thieving Tool added a new parameter to filter areas too small to be desired in the copper thieving; added it to Preferences too
- Copper Thieving Tool added a new parameter to select what extra geometry to include in the Pattern Plating Mask; added it to the Preferences
- made a wide change on the spinners GUI ranges: from 9999.9999 all values to 10000.0000
- fixed some late issues in Corner Markers Tool new feature (messages)
- upgraded Calculator Tool and added the new parameter is the Preferences
- updated translation strings
2020-11-02 18:03:13 +02:00
Marius Stanciu
374c29b4b0 - fixed the Tcl Command AlignDrill
- fixed the Tcl Command AlignDrillGrid
- fixed the Tcl COmmand Panelize, Excellon panelization section
- Fixed an issue in Tool Calibration export_excellon method call
- PEP8 corrections all over the app
2020-11-02 03:32:00 +02:00
Marius Stanciu
3f94c1dcfa - minor change for the FCComboBox UI element by setting its size policy as ignored so it will not expand the notebook when the name of one of its items is very long 2020-10-29 03:42:29 +02:00
Marius Stanciu
31a84bb4cc - fixed an issue in Isolation Tool when running the app in Basic mode;
- fixed Paint, Isolation and NCC Tools such the translated comboboxes values are now stored as indexes instead of translated words as before
- in Geometry Object made sure that the widgets in the Tool Table gets populated regardless of encountering non-recognizable translated values
- in Paint Tool found a small bug and fixed it
2020-10-28 23:00:18 +02:00
Marius Stanciu
d1368425f1 - fix in Tool Subtract where there was a typo 2020-10-28 16:02:18 +02:00
Marius Stanciu
86a931ace5 - temporary fix for comboboxes not finding the the value in the items when setting themselves with a value by defaulting to the first item in the list 2020-10-28 15:46:33 +02:00