Commit graph

2736 commits

Author SHA1 Message Date
CMorley
007df82273 qtvcp -NGCG?UI widget: add auto populate subs.
User 'Eyecon' from the forum came up with these mods to have
automatically add subs based on the INI settings.
2022-08-03 18:59:17 -07:00
CMorley
d6eb4b0a6c qtvcp -qt_istat: add NGCGAUI INI settings 2022-08-03 18:59:17 -07:00
luz paz
09a439ab21 lib/python: fix various typos
Found via `codespell -q 3 -S *.po,*.pot,*.ts,./.git/logs,./share,./docs/man/es,./configs/attic,*_fr.*,*_es.*,README_es -L ans,ba,bulle,componentes,doubleclick,dout,dum,fo,halp,ihs,inout,parm,parms,ro,ser,te,ue,wille,wonte`
2022-07-27 00:20:58 -04:00
Greg Carl
914dcc1d50 qtplasmac: update icon image to Chips Plasma version
Thank you to AlexMagToast from the forum for the work and for 
contributing the logo files - 
https://forum.linuxcnc.org/show-your-stuff/32672-linuxcnc-logo?start=50#248058
2022-07-25 08:47:00 -04:00
CMorley
fceb9ca31e qtvcp -istat: don't show crtical error on lathe with y axis
Some adbvanced lathe configs add a dummy Y axis so that they can
rotate the X axis around Z for mirroring.
currently the gcode needs Y defined to work.
2022-07-23 12:18:36 -07:00
Greg Carl
e107b3942b qt_istat: small typos
Noticed these while poking around and didnt want to leave them be
2022-07-23 14:13:35 -04:00
CMorley
55b163c161 qtvcp -istat: fix error when designer run because there is no real INI
qtplasmac check failed if there was no entry at all
2022-07-21 23:28:48 -07:00
Phillip Carter
bf6a8b2db5 qtplasmac: move options from ini file to prefs file 2022-07-17 13:21:35 +10:00
Greg Carl
7a3c321bec qtvcp: change default logging level
Changed default logging level to WARNING to quiet the terminal. Added -i 
option to turn on info logging if necessary.
2022-07-16 20:08:14 -04:00
CMorley
e526c168de glcannon - allow 'PREVIEW' as a substitute for 'AXIS' in magic comments
A little more generic for other screens.
2022-07-14 21:52:48 -07:00
CMorley
df13360ac2 qtvcp -entry_widget - add spacebar into keyboard
Jim (Persei from forum) noticed and fixed this oversight. Thanks!
2022-07-13 20:59:49 -07:00
Greg Carl
458d6689df qtvcp: mdi_line use halcmd for net command instead of halmodule
Increases functionality while decreasing confusion, bonus of more robust 
error messages.
2022-07-11 20:05:47 -04:00
Greg Carl
fd3437c612 qtvcp: add "unlinkp" and "net" commands to mdi_line widget 2022-07-09 09:50:56 -04:00
Greg Carl
7f259df1e0 qtplasmac: conv_line: fix start point 2022-07-08 21:55:59 -04:00
CMorley
ead0ff05da qtvcp -make sure the Desogner default settings are overriden
By default slider only go to 99 -rapid rate needs to go to 100 pervecnt
2022-07-03 09:28:14 -07:00
CMorley
1b3a1eca42 qtvcp -ngcgui library: allow frame to be bigger if warped to another layout 2022-07-01 23:23:33 -07:00
Phillip Carter
c6c7190301 qtplasmac: code tidy and version fix 2022-07-01 11:37:30 +10:00
Phillip Carter
81e9385f12 qtplasmac: fix version info 2022-06-29 15:32:43 +10:00
Phillip Carter
5262cd0ffe qtplasmac: remove link in config directory 2022-06-29 15:23:33 +10:00
CMorley
37e4ab2d5c qtvcp -screenoptions: add blur/tint on focus options 2022-06-26 19:32:05 -07:00
CMorley
807dd2185c qtvcp -dialogs: fix overlay not beng removed when file loaded 2022-06-26 19:15:44 -07:00
CMorley
98de858b3e qtvcp -qt_actions: add window effects 2022-06-26 19:14:44 -07:00
CMorley
fde74d1dd8 qtvcp -toolbar_action: fix missed name changes 2022-06-26 13:50:12 -07:00
CMorley
64a756cbef qtvcp -qt_action: allow estop function to use linuxcnc constants
originally functions used bool, now either.
added set_debug_level() function
2022-06-26 12:58:36 -07:00
CMorley
1b917befcd hal_glib -add linuxcnc state constants 2022-06-26 12:57:41 -07:00
CMorley
38d276f789 qtvcp -action_button: make estop follow linuxcnc E-state
originally the button followed it's pressed state, which could get
out of sync with linuxcnc's E state, if external estop loop was used
2022-06-26 12:54:37 -07:00
CMorley
ab395e98c2 qtvcp -toolbar_action: make estop button follow E-state
originally the button followed it's pressed state, which could get
out of sync with linuxcnc's estate if external estop loop was used.
2022-06-26 12:52:48 -07:00
CMorley
ed281aee52 qtvcp -hal_selection: expand the tree view by default 2022-06-25 12:32:56 -07:00
Phillip Carter
2423f5c2e3 qtplasmac: change rs274 startup to code instead of subroutine 2022-06-25 12:04:31 +10:00
CMorley
e6042dcdd2 qtvcp -hal_selectionbox: add a tree view
one can also limit types shown in combobox
2022-06-24 18:13:19 -07:00
CMorley
d3d1bd3f29 qtvcp -QHal: work around duplicate pins
sometimes you want multiple pins from a base name.
such as multiple test panels.
This should probably selectable behaivor - some times you want it to fail outright.
2022-06-22 20:54:30 -07:00
CMorley
27caf6bd6a hal_glib -add useful mode and message constants
easier to reference them that way
2022-06-17 15:09:24 -07:00
CMorley
26a5bedde0 glcanon -allow all ui's to hide the on screen DRO
Moved the disable code down into glcanon
2022-06-16 23:23:58 -07:00
CMorley
21b7dba0f7 qtvcp -camview widget: fix error on older versions of CV library
Debian 10 had an older version of CV. Now we fall back to old
function signature
2022-06-16 22:06:52 -07:00
Phillip Carter
5fe78834d0 qtplasmac: treat blank conversational entries as zero 2022-06-17 13:41:56 +10:00
Hans Unzner
69cf700baf combi_dro: fixed toggling of systems (Rel->DTG->Abs)
Fixes following:
- Didn't show the reference coordinate system on start-up and on change
- Labels/colors/values didn't match when switching the mode
  State before was:
  labels: Rel   -> DTG   -> G54    -> Abs   -> DTG   -> G54
  values: <G54> -> <Abs> -> <DTG>  -> <G54> -> <Abs> -> <DTG>
  colors: black -> blue  -> yellow -> black -> blue  -> yellow
2022-06-15 20:38:12 +02:00
CMorley
3bbfd0017e qtvcp -gcode_utilities: fix calculation of facing area 2022-06-14 19:51:07 -07:00
Greg Carl
bb952c2034 qtvcp: make logging messages more cohesive. 2022-06-13 20:32:09 -04:00
CMorley
4772b687c0 gladevcp -add access to Hal, Info, and Action libraries
action python button has restricted acess to code.
add these options
2022-06-11 23:52:01 -07:00
CMorley
d1b029f6fb qtvcp -add a HAL signal selection combobox widget 2022-06-11 16:10:39 -07:00
CMorley
e2c4f2fe3a qtvcp -add get_full_pinname function to basewidget class 2022-06-11 16:10:39 -07:00
CMorley
18d15335c0 qtvcp -simple_widgets: fix dial HAL output, update scaled label
With a dial that didn't wrapp, the maximuim count would output zero.
change rich text font in a function - for future use.
2022-06-10 22:24:04 -07:00
CMorley
7c6be08cb2 qtvcp -hallabel: base widget on scaled label instead of qlabel 2022-06-10 22:07:02 -07:00
Phillip Carter
bd16057698 qtplasmac: fix conversational circle offset error 2022-06-06 11:23:12 +10:00
CMorley
73608ace49 Revert "qtvcp -widgetswitcher: fix error adding widget in default case"
This reverts commit 034fae69d5.
2022-06-02 20:55:21 -07:00
CMorley
034fae69d5 qtvcp -widgetswitcher: fix error adding widget in default case
Missed code change from a long time ago.
Layouts use 'addWidget'
2022-06-02 18:34:27 -07:00
Phillip Carter
7efbc59cda qtplasmac: remove redundant bolt-circle error 2022-06-02 15:21:33 +10:00
Phillip Carter
92a1883b2b qtplasmac: conversational circle leadin/leadout options 2022-06-02 12:31:06 +10:00
CMorley
e479ba0f79 qtvcp -facing utility: adjust button size to fit smaller screens
MarkoPolo work
2022-06-01 18:40:30 -07:00
Greg Carl
b7d66a5d06 qtvcp: allow small origin to be hidden via stylesheets 2022-06-01 10:33:46 -04:00
Greg Carl
c332ff3b9d glcanon: allow small origin to be hidden 2022-06-01 10:20:10 -04:00
Phillip Carter
fcddb27d4e qtplasmac: fix typo from v1.223.197 2022-06-01 09:44:18 +10:00
Greg Carl
6ae521c27c qtplasmac: recreate gui images in svg format
allow conversational images to change color with gui
2022-05-31 08:42:27 -04:00
CMorley
59d3d3be30 qtvcp -qt_vismach: add fanuc_200f vismach model
This was based from Youtube character Excessive Overkill 's
github code.
2022-05-30 21:04:29 -07:00
CMorley
e75d3f230a qtvcp -qt_vismach: add zoom range function, basic rough panning
panning needs to be scaled to mouse and zoom?, but at least you can pan.
2022-05-30 21:04:29 -07:00
Phillip Carter
a1d6956f58 qtplasmac: conversational changes:
restore entries on settings close
fix widget placement in lines/arcs
2022-05-31 11:46:04 +10:00
Phillip Carter
54bc57f73e qtplasmac: conversational enhancements and code tidy 2022-05-30 14:57:37 +10:00
CMorley
9998459ce6 qtvcp -simple_widgets: scaled_label update to handle rich text
You can set text to scale or not.
You can use rich text now too.
added a 'textSample' property to reserve space
2022-05-29 18:32:06 -07:00
CMorley
7616739502 qtvcp -simple_widgets: fix drawEllipse float-instead-of-int error
In my test machine pyqt qpainter.drawEllipse would accept a float.
maybe in new versions, that bug was fixed.
Also related to python2/3 I think as the argument was a int and float added together
which is handled differently.
2022-05-28 11:49:32 -07:00
CMorley
4c56205ad6 qtvcp -qt_pdf: add a sample setip page and a way to load it 2022-05-25 18:54:06 -07:00
Phillip Carter
aa2e0e93d9 qtplasmac: fix soft keyboard display for various dialogs 2022-05-25 15:14:34 +10:00
CMorley
30ab82ab80 gladevcp -file_chooser: fix dialog settings for python3
There is surely more there but I know these need to be cganged
2022-05-23 20:00:47 -07:00
CMorley
d7b03181c2 gladevcp -gtk_actionL fix dialog use GTK
Still had qt gialog code.
2022-05-23 19:58:09 -07:00
CMorley
41865b8049 gladevcp -hal_mdihistory: use new core library code 2022-05-22 16:42:06 -07:00
CMorley
0ce13d69c5 gladevcp -add core library with Status, Action and Info objects
hopefully in the long run making it easier to program gscreen/gladevcp
2022-05-22 16:42:06 -07:00
CMorley
48009e40b3 Revert "qtvcp -fix error message when last_path is not valid"
This reverts commit 0e502a9ff2.

Merge error from 2.8?
2022-05-21 19:31:59 -07:00
CMorley
2819287edc qtvcp -qtaction: automatically adjust embed widget size 2022-05-21 18:26:25 -07:00
CMorley
0e502a9ff2 qtvcp -fix error message when last_path is not valid 2022-05-22 01:25:28 +01:00
Phillip Carter
33eb2bc4f4 qtplasmac: fixes for conversational widget consolidation 2022-05-22 10:06:52 +10:00
Greg Carl
b21865b66d qtvcp: add mouse wheel zoom inversion, mouse control modes, update docs 2022-05-20 21:05:21 -04:00
Phillip Carter
ebd34a906c qtplasmac: conversational widget consolidation 2022-05-21 09:53:47 +10:00
Greg Carl
3d6650581b qtvcp: set dialog_widget default extension to .ngc if none is specified
Since qt_action will apply an extension of '.ngc' if none is specified, 
this will prevent overwriting a file where no extension was specified if 
the file name with an extension of .ngc already exists.

Example:  test.ngc exists. You enter "test" in the save dialog.  
Previously, qt_action would would have been overwritten test.ngc with 
test.ngc without prompting.
2022-05-19 15:39:05 -04:00
CMorley
4502222c73 qtvcp -state_led: add hard limits LED states 2022-05-18 21:44:08 -07:00
Phillip Carter
f0ea21400f qtplasmac: fix missing run from line variable 2022-05-18 11:19:46 +10:00
Greg Carl
e5757b2a9c qtvcp: allow external clearing of preview window highlighting 2022-05-17 20:16:58 -04:00
CMorley
e5a4153762 qtvcp -try to improve overlay widget.
I'll have to check other systems to see if it is universally working.
2022-05-16 22:23:22 -07:00
mwork
fe1f3b86fa Update qt_vismach.py 2022-05-17 08:40:04 +07:00
CMorley
087aaf7405 qtvcp -gcode editors: gcode lexer button should honour set colors
python button changes the paper color but maybe thats alright.
2022-05-15 17:57:34 -07:00
CMorley
d7c76e53c8 qtvcp -action_tool_button: set the menu later incase it's not needed 2022-05-15 17:57:34 -07:00
Phillip Carter
94b1077ea9 qtplasmac: make the run from line module gui agnostic 2022-05-15 10:33:49 +10:00
CMorley
6b032b74ae qtvcp -screenoptions: use action function to add embedded tab 2022-05-13 17:48:40 -07:00
CMorley
b43f4b806b qtvcp -fix filemanager error when last loaded is not found
tmparay file would give annoying error messages
2022-05-13 17:46:57 -07:00
CMorley
9e3f35faa2 qtvcp -qt_action: add a function to add a tab to tab or stacked widget
just for convenience
2022-05-13 17:42:00 -07:00
CMorley
98531cef14 qtvcp -qt_vismach: remove contents margins -use the full window 2022-05-13 10:32:08 -07:00
CMorley
c8a39c3288 qtvcp -initial commit of embedding Qtvcp panels
-makegui/makepins looks and instantiates any Qtvcp panels
-have screenoption load Qtvcp embedable panels
2022-05-13 10:30:26 -07:00
CMorley
081db3ba75 qtvcp -dialog_widgets: fix mutiple button signal connections
button signals were connected everytime the message box was shown.
This would cause error messages about no callbacks or status messages.
This was because the status message was deleted on the fist button signal
callback.
2022-05-12 21:58:39 -07:00
CMorley
c35ab92407 qtvcp -toolbar library: add step function 2022-05-11 18:40:25 -07:00
Phillip Carter
49eda93de3 qtplasmac: oops, I missed a brace. 2022-05-10 10:11:07 +10:00
Phillip Carter
71937a7137 qtplasmac: fix error messages for run from line 2022-05-10 10:02:01 +10:00
CMorley
5980d59eb9 qtvcp :PDFViwer: don't crash if poppler-qt5 module is missing 2022-05-05 18:38:08 -07:00
CMorley
12ce437917 qtvcp -qt_pgf library: update pdfviewer
name change too
2022-05-03 19:13:49 -07:00
Greg Carl
62a7a9d426 qtplasmac: move conversational prefs 2022-05-03 19:37:00 -04:00
Hans
1e73a3f22e
Merge pull request #1723 from hansu/gmoccapy-dro-1722
Fixes some Gmoccapy DRO issues
2022-04-29 19:45:48 +02:00
Hans Unzner
f29c9167dc gmoccapy: fixed DRO unit switching (G20/G21) 2022-04-29 18:19:52 +02:00
Hans Unzner
d3a7d2f07d combi_dro: fixed toggle_readout (no white DRO in lathe mode) 2022-04-29 14:32:13 +02:00
CMorley
864550224d qtvcp -camview: improve error messages when asking for wrong port
It will search for avaliable ports and list them
2022-04-29 01:06:14 -07:00
CMorley
6fb4cabbfd qtvcp -simplewidgets: give better error message if python command fails
Actionbuttons use this for direct python commands
2022-04-27 20:50:41 -07:00
CMorley
485c71f948 qtvcp camview: add ability to save image to file 2022-04-27 20:49:51 -07:00
CMorley
2e7a58b028 qtvcp -user messages: give dialogs a request name; fix multiple messages
pther wise the dialog instances respind to all requests
2022-04-27 19:45:11 -07:00
Hans Unzner
c016e5e13e gladevcp: removed PangoCairo warning 2022-04-25 09:36:29 +02:00
Hans
45b96aea4d
Merge pull request #1548 from PeterMue/feature/gmoccapy-modern-icons
Added modern icon themes for Gmoccapy
2022-04-25 09:07:44 +02:00
Dewey Garrett
e48acadb31 tooldb.py close stdout if BrokenPipeError
avoids message:
"Exception ignored in: <_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>
BrokenPipeError: [Errno 32] Broken pipe"
2022-04-20 18:02:31 -07:00
Greg Carl
c1ca6c2b42 qtplasmac: conversational block enhance offset handling 2022-04-17 10:13:52 -04:00
Peter Müller
3b34639916 Change old gtk-* icon names to new
Following the suggested new names from https://docs.gtk.org/gtk3/?q=STOCK_
2022-04-16 22:36:02 +02:00
Greg Carl
fdf9680b74 qtplasmac: updater enhancements 2022-04-14 18:03:17 -04:00
CMorley
4903b03ebb qtvcp -add a PDF rendering library file
More work to be done yet
2022-04-09 18:06:11 -07:00
CMorley
12ed6e3b45 qtvcp -qt_ngcgui: add function to move the frames to other widgets
in some screens it's nicer to move the info tab to another location to
give more room.
2022-04-08 14:56:47 -07:00
CMorley
59fd1fef96 qtvcp - initial commit of qt ngcgui library
Jim (Persei) ported Ngcgui for qtvcp - Thanks Jim!
this is the library to support it.
2022-04-06 22:06:39 -07:00
c-morley
17bb822c55
Merge pull request #1696 from ALatSMT/master
Update pyvcp_widgets.py
2022-04-05 00:43:43 -07:00
CMorley
71a8e74f44 qtvcp -status_label: don't follow feed rate status if not specified
if you unselected everything it would still follow the feedrate override.
2022-04-05 00:38:05 -07:00
CMorley
91069162ed qtvcp -system/axis tool buttons: disable when interp paused
can't change these settings until interp is idle
2022-04-04 21:56:38 -07:00
CMorley
a07f444034 qtvcp -action_button: disable mode buttons when interp running
can't change mode (man, mdi, auto) when machine is running instructions
so we disable the buttons
2022-04-04 21:54:43 -07:00
CMorley
3feaf29647 qtvcp -action_button: disable jog button when interp paused
can't jog when running, even when paused
2022-04-04 21:42:39 -07:00
CMorley
4f877fb040 qtvcp -disable 'zero offset button' when interp paused.
You can't zero offsets when pausedm so diasable the buttons
2022-04-04 21:29:04 -07:00
Greg Carl
ae7715ef65 python3: fix some lingering python2 syntax 2022-04-02 20:33:55 -04:00
ALatSMT
d2d273ad97
Update pyvcp_widgets.py
convert floating point to int
2022-04-02 17:37:57 -04:00
CMorley
05edba0dae qtvcp -catch error if xlib not available.
Add a message to prompt user of problem.
2022-03-30 22:36:00 -07:00
Hans
36b82992df
Merge pull request #1671 from hansu/fix-hal_lightbutton
fix hal_lightbutton (#1266)
2022-03-20 21:16:05 +01:00
Hans Unzner
95e133e9cd fix hal_lightbutton (#1266) 2022-03-20 12:56:15 +01:00
CMorley
825d4a59ed qtvcp -action_button: add a warning tooltip to INI MDI command
if an action button is to run an INI MDI command, but that command is missing,
make a tooltip for the button to give a clue.
2022-03-18 16:55:50 -07:00
CMorley
597eee2aca qtvcp -filemanager: set a minimum size for file filter combobox
In some systems the default minimum is too small.
2022-03-17 22:03:26 -07:00
Phillip Carter
838dfb2f67 qtplasmac: conversational block allow negative offsets 2022-03-15 17:29:48 +11:00
Phillip Carter
3db5d97a57 qtplasmac: rework run from line subroutine detection 2022-03-14 11:30:21 +11:00
Phillip Carter
eca100747f qtplasmac: rework run from line start of cut 2022-03-14 11:29:51 +11:00
Phillip Carter
d925c6634b qtplasmac: rework run from line material handling 2022-03-14 11:27:27 +11:00
luz paz
ea76d8a722 Follow-up to b016bf7722 (missing in previous commit) 2022-03-13 17:20:29 -04:00
CMorley
c55caa5227 qtvcp -dialog_widgets: catch a config error - no return mechanism
dialog can return value; directly, through a return callback, or by
status message.
You must pick one.
2022-03-12 11:45:43 -08:00
CMorley
b2d0a75ee4 qtvcp -pstar: add qt vismach model path 2022-03-12 11:45:43 -08:00
CMorley
05a9dac768 qtvcp -qt_vismach: add panels for gantry and millturn and other tweaks 2022-03-12 11:45:43 -08:00
Hans
2e3378daa3
Merge pull request #1663 from hansu/gmoccapy-gcode-view
Gmoccapy: fix some issues with g code editing (e.g. #1176)
2022-03-12 17:18:14 +01:00
Hans Unzner
50ca4f2872 sourceview: improve text search 2022-03-12 16:01:06 +01:00
Hans Unzner
612b1155df sourceview: fix replace all + improve replace 2022-03-12 16:00:12 +01:00
Hans Unzner
a52b23a178 sourceview: fix crash on text replace 2022-03-12 15:57:52 +01:00
Hans Unzner
6ca016be40 gmoccapy: sensitize save button after 'save as' 2022-03-12 15:57:52 +01:00
Hans Unzner
126de9d0ae gmoccapy: fixed save and save as
re-added properties for EMC_Action_Save and EMC_Action_SaveAs
which gone lost in d2d7d5d65c
2022-03-12 15:56:59 +01:00
Hans Unzner
4601d54083 gmoccapy: fix detection of file change 2022-03-12 15:48:54 +01:00
c-morley
29b98cac1a
Merge pull request #1652 from alkabal/patch-5
Update versa_probe_screen.py
2022-03-09 20:46:34 -08:00
Phillip Carter
cebd57f652 qtplasmac: fix run from line parameter checking
remove redundant prefs command and file
2022-03-09 13:39:54 +11:00
Phillip Carter
4464df5b64 qtplasmac: split prefs file 2022-03-08 12:36:38 +11:00
CMorley
e524d5e6a1 qtvcp -qt_vismach: add a README about converting vismach scripts 2022-03-06 17:43:54 -08:00
CMorley
45cb45b59d qtvcp -qt_vismach:add a converted gantry and mill turn scripts 2022-03-06 17:26:59 -08:00
CMorley
21f2ab973d qtvcp -qt_vismach: add missing math library 2022-03-06 17:25:22 -08:00
CMorley
50e6d5cda5 qtvcp -qt_vismach: update sample sripts - clean up code 2022-03-06 15:56:13 -08:00
CMorley
29bc954f4e qtvcp -qt_vismach: add HalToolCylinder object
Moved from mill_xyz
2022-03-06 15:56:13 -08:00
alkabal
dae2408069
Update versa_probe_screen.py
I'm unsure but i think "import Pangp" is a typo mistake and need to be "import Pango"
2022-03-06 21:47:29 +01:00
CMorley
f2a5ed44b5 qtvcp -aux_programs: add ability to get error messages from bad loading.
also now in MDI line you can call say halmeter with arguments.

thank you Greg C ! those plasma guys have good ideas!
2022-03-06 11:06:28 -08:00
CMorley
beb898daee qtvcp -qt_vismach: update sample simulations to use HUD
HUD adds a tittle to prove it works.
Also now use qt_vismach's window if invoked directly from python3
it has sliders for zoom and translation.
2022-03-05 21:17:25 -08:00
CMorley
df40dfeb5e qtvcp -qt_vismach: get the HUD working
Now me can display text
2022-03-05 21:16:31 -08:00
c-morley
32b8a41afd
Merge pull request #1639 from hansu/fix-color-in-glade
gladevcp: fix color in VCP elements
2022-03-05 19:12:39 -08:00
CMorley
ceb58626cd qtvcp -qt_vismach: remove 'direct=1' argument from HAL movement objects
We can infer what way to get the pin value from whether the component
is None or not.
None = read HAL pin directly, otherwise read the HAL component's pin
2022-03-05 12:03:53 -08:00
CMorley
4dc98a6d76 qtvcp -qt_vismach - use absolute imports - allows running directly 2022-03-05 00:45:52 -08:00
andypugh
aaf872747f
Merge pull request #1617 from satiowadahc/cw-statusid
Emcmodule - Renaming status.id
2022-03-01 22:30:34 +00:00
Hans Unzner
061ae4f621 gladevcp: fix color in vcp elements (#1596) 2022-03-01 17:28:03 +01:00
Hans Unzner
a218469535 offsetpage widget: Remove offsets from translation 2022-02-26 11:33:50 +01:00
c-morley
1f870d6942
Merge pull request #1591 from hansu/fix-offsetpage-translated-string
offsetpage-widget: translation of 'black' results in a Gtk-Warning
2022-02-25 13:52:40 -08:00
c-morley
d01076c984
Merge pull request #1606 from hansu/fix-hal-mdihistory
fix: translation of hal_mdihistory broke other translations
2022-02-25 12:07:53 -08:00
CMorley
7762d3a2de qtvcp -actionbutton: fix calling 'print' in a user python command
action buttons can call user selected python commands.
builtin python functions are restricted - so print() was not available.
print is now allowed and added better error messages.
2022-02-25 11:59:05 -08:00
Phillip Carter
3ba0951743 qtplasmac: 9x16 gui change parameters tab layout 2022-02-24 14:36:34 +11:00
Phillip Carter
8281d86fc4 qtplasmac: allow shutdown from power button
change shutdown messages
2022-02-24 13:49:17 +11:00
Chadly
3ab0c58ece emcmodule - missed a refactor 2022-02-19 11:55:28 -06:00
luz paz
d7ea470096 Fix various typos
Found via `codespell -q 3 -S *.po,*.ts,./share,./docs/man/es,./configs/attic,*_fr.*,*_es.*,README_es -L ans,ba,bulle,componentes,doubleclick,dout,dum,fo,halp,ihs,inout,parm,parms,ro,ser,te,ue,wille,wont`
2022-02-16 11:17:29 -05:00
Hans Unzner
585996c1fe offsetpage-widget: 'black' must not be translated
This results in a warning, here for locale DE: Gtk-WARNING **: Don't know color 'Schwarz'
2022-02-15 21:08:23 +01:00
Hans Unzner
3600414585 fix: translation of hal_mdihistory broke other translations 2022-02-13 18:12:17 +01:00
CMorley
fae919506a qtvcp -dialog_widget: fix general 'external called'dialog typo
Miss from lasr major code change for tool change dialog.
2022-02-11 14:06:22 -08:00
c-morley
dfe0260cd1
Merge pull request #1561 from hansu/center-buttonlabels
gmoccapy: center button labels with property instead of spaces
2022-02-04 00:11:21 -08:00
Hans Unzner
5cfbea70ae gmoccapy: center labels of some buttons 2022-02-01 16:52:20 +01:00
Hans Unzner
16080cd8a6 gmoccapy: Fix window size by reducing button padding with CSS 2022-01-31 18:22:42 +01:00
Hans Unzner
360d8c67a3 also for gmoccapy with yellow active-backgound
references:
https://shallowsky.com/blog/programming/styling-gtk3-with-css-python.html
https://docs.gtk.org/gtk3/css-overview.html
https://docs.gtk.org/gtk3/css-properties.html
2022-01-31 18:15:53 +01:00
Hans Unzner
ec1898b1a4 apply css to all elements 2022-01-31 16:35:57 +01:00
Hans Unzner
7854de2cdb apply css style manually to buttons 2022-01-31 16:29:16 +01:00
Greg Carl
e36ed2e663 qtvcp: fix mdi_line history comparison
prevent remembering the last entry for a failed attempt
2022-01-30 20:34:16 -05:00
c-morley
70f52b8fcc
Merge pull request #1547 from hansu/remove-sourceview-warnings
sourceview: remove Gtk-CRITICAL warnings
2022-01-29 13:50:21 -08:00
Hans Unzner
02a76f0b73 offsetpage_widget: Fix error on color conversion 2022-01-29 16:15:56 +01:00
Hans Unzner
7b373ce864 sourceview: remove Gtk-CRITICAL warnings 2022-01-29 08:58:44 +01:00
Greg Carl
2bdb3edd08 qtvcp: mdi_line strip newline from history string
somehow missed this in the previous mdi_line PR. This PR also removes 
the leading whitespace from MDI entries.
2022-01-27 16:05:51 -05:00
c-morley
2c7632287b
Merge pull request #1534 from hansu/translate-mdihist
Add mdihistory_hal to translations and update linuxcnc.pot & gmoccapy.pot
2022-01-26 20:15:13 -08:00
Greg Carl
af3e1cc591 qtvcp: add enhancements to mdi_line widget
1. allow the ability to disallow M3, M4, M5 commands entered in the MDI
2. allow CLEAR HISTORY to clear the history
3. allow setp commands from the MDI
4. history doesn't log entries with errors
5. history doesn't log consecutive duplicate entries
thanks to phillc54 for his efforts with this as well
2022-01-26 22:33:40 -05:00
Hans Unzner
446e7addd3 make hal_mdihistory translatable 2022-01-26 19:02:26 +01:00
Hans Unzner
0a867e3074 gmoccapy: fixed some strings (spelling, spaces, punctuation) 2022-01-23 20:00:25 +01:00
CMorley
c286764cc8 qtvcp -action_buttons: allow overriding the button text from the INI
When defining the MDI command in the INI you can add a comma and the text.
ie. MDI_COMMAND = G0 Z25 X0 Y0;Z0,Goto\nZero
If left off the original button text is used.
2022-01-23 01:17:36 -08:00
c-morley
fc9ea3e5c6
Merge pull request #1512 from hansu/fix-combi-dro
Fix Combi-DRO
2022-01-22 16:42:47 -08:00
CMorley
3f3611c9ca qtvcp -user messages: add a no button dialog, fix style application
no button dialogs are for critical=must-fix-before-going-on events.
qt styles are applied to the user messages.
big change to dialog code to incorporate.
2022-01-22 16:25:08 -08:00
Hans Unzner
2a488fa7f0 combi-dro: fix for get_position() (#1398)
Appears in gmoccapy/lathe_C config
2022-01-22 18:11:07 +01:00
Phillip Carter
9f9205f88c qtplasmac: fix update check
update sim configs
2022-01-22 10:49:11 +11:00
Sebastian Kuzminsky
6dcc68d614
Merge pull request #1515 from smoe/g_code_to_g-code
(g-code | gcode) -> G-code
2022-01-21 14:06:54 -07:00
CMorley
94d6458007 qtvcp -toolchange dialog - fix honouring HAL pin 'changed' aknowledgement
external aknowledge works on qt dialog and destopnotify style tool change
messages
2022-01-20 14:56:25 -08:00
Steffen Moeller
36735d950a g-code -> G-code 2022-01-18 14:38:59 +01:00
Phillip Carter
c4374f8822 qtplasmac: prep work for simpler updating 2022-01-18 17:38:12 +11:00
Steffen Moeller
575c7770c0 Changed [gG] [cC]ode to G-code where appropriate
Headers and titles have "Code" start with a capital, always with hyphen.
Somewhat unfortunate, for some files I also removed blanks at the ends of lines, which makes reading this patch more difficult than it meant to be.
2022-01-17 20:33:48 +01:00
Sebastian Kuzminsky
f37dbf2706
Merge pull request #1510 from smoe/typos2
Typos2 - changed all occurences of linuxCNC to LinuxCNC
2022-01-16 10:53:01 -07:00
Hans Unzner
2e55e3385b combi-dro: rename function to avoid confusion with bool variable 2022-01-16 18:32:34 +01:00
Hans Unzner
5e24ad85c9 Revert "Added more typos" in combi_dro.py
This reverts changes in combi_dro.py of commit 9d5d892847.
2022-01-16 18:30:24 +01:00
Steffen Moeller
47677c32b9 s/linuxCNC/LinuxCNC/g 2022-01-16 03:24:06 +01:00
Chris Morley
8ae2ceb6c9 qtvcp -status_slider: cast settings to int
sliders can only use ints - now it an outside code calls the function
it will cast a float to integer.
2022-01-11 18:33:46 -08:00
Chris Morley
d18467c339 qtvcp -simple_widgets: fix print statement to python3 version 2022-01-11 18:27:29 -08:00
CMorley
42c78a8a9c qtvcp -tool_offsetview: only allow single tool selection
Maybe this needs to be selectable?
We will see if the world complains.
MarkoPolo from Forum 's idea
2022-01-07 22:37:59 -08:00
c-morley
bc366ed8c4
Merge pull request #1454 from hansu/calculatorwidget-gtk3
Calculator widget: Fixed buttonsize, resizing, num_pad_only option, decprecated items ...
2022-01-07 10:12:48 -08:00
CMorley
87a2b493e0 qtvcp -tool_offsetview: fix error on sorting column 0
clicking the checkbox header caused an error - we don't support
sorting checkboxes. bug and Fix brought to us by forum personality
MarkoPolo
2022-01-06 20:49:32 -08:00
Hans Unzner
921c36321d calculatorwidget: Make glade file translatable, changed images from stock items (deprecated) to icons 2022-01-06 16:49:42 +01:00
Hans Unzner
ef13ff4406 calculatorwidget: replaced deprecated items 2022-01-06 16:49:42 +01:00