Steffen Moeller
2dc8a0d348
src: s/ini/INI/
...
s/ini/INI/ - smallish correction
Update lib/python/gladevcp/hal_gremlin.py
Co-authored-by: Jérémie Tarot <silopolis@gmail.com>
Update lib/python/gremlin_view.py
Co-authored-by: Jérémie Tarot <silopolis@gmail.com>
Update lib/python/qtvcp/widgets/adjustment_bar.py
Co-authored-by: Jérémie Tarot <silopolis@gmail.com>
Update src/hal/user_comps/vfs11_vfd/vfs11_vfd.c
Co-authored-by: Jérémie Tarot <silopolis@gmail.com>
Update lib/python/qtvcp/widgets/adjustment_bar.py
Co-authored-by: Jérémie Tarot <silopolis@gmail.com>
More 'ini' -> 'INI' in src
ini -> INI to sync tests
Update lib/python/gremlin_view.py
Co-authored-by: Jérémie Tarot <silopolis@gmail.com>
Update lib/python/qtvcp/widgets/offset_tool_button.py
Co-authored-by: Jérémie Tarot <silopolis@gmail.com>
s/modbus/Modbus/
Update lib/python/qtvcp/widgets/offset_tool_button.py
Co-authored-by: Jérémie Tarot <silopolis@gmail.com>
Update scripts/linuxcnc.in
Co-authored-by: Jérémie Tarot <silopolis@gmail.com>
Update src/emc/rs274ngc/interp_namedparams.cc
Co-authored-by: Jérémie Tarot <silopolis@gmail.com>
Update src/emc/usr_intf/emcsh.cc
Co-authored-by: Jérémie Tarot <silopolis@gmail.com>
docs: inifile -> INI file, etc
2022-10-11 19:04:38 +02:00
Hans Unzner
cad3a1bea4
tooledit: corrected data type for column 'orient' to int, add error message when loading invalid value
2022-10-07 10:30:36 +02:00
Hans Unzner
b81c602107
tooledit: fix navigating with cursor keys
2022-10-07 10:30:36 +02: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
0c8a0058bf
use python3 in all #!python lines
2021-09-02 18:32:58 -05:00
Rene Hopf
4435aac5eb
remove legacy __future__ imports
2021-08-26 16:17:55 +02:00
Rene Hopf
cec035b90a
fix various gtk3 deprecated warnings
2021-06-11 12:25:37 +02:00
Rene Hopf
28b27e65e3
Merge branch 'master' into master-gtk3
2021-05-23 02:19:18 +02:00
Rene Hopf
927730fae7
tooledit_widget: fix gtk warnings
2021-05-23 01:27:55 +02:00
Rene Hopf
616717e918
tooledit_widget ported to gtk3
2021-05-23 00:57:07 +02:00
Rene Hopf
dd95e08979
gtk3 wip
2021-05-23 00:51:14 +02:00
luz paz
ea08a53edd
docs: fix source comment and doc typos in lib/python
...
Found via `codespell v2.0.dev`
```
codespell -q 3 -L ans,doubleclick,halp,parms
```
2021-01-04 09:53:06 -05:00
Rene Hopf
3aba3eac37
gmoccapy fix python2 imports
2020-04-27 04:06:45 +02:00
Rene Hopf
f297eb44ef
tooledit_widget.py: python3 compatibility
2020-04-26 23:49:29 +02:00
david
75826ff5f7
Mark the string that needs to be translated. Update Chinese translation.
2018-12-14 22:50:26 +08:00
Norbert Schechner
5aa6b75e86
gladeVCP - tooledit_widget.py - select tool in spindle after
...
reloading the toolfile
Signed-off-by: Norbert Schechner <nieson@web.de>
2017-09-21 14:24:03 +02:00
Jim Craig
ee8c06f7a6
renamed the function from onTreeNavigateKeyPress to on_tree_navigate_key_press to match surrounding code
...
Signed-off-by: Jim Craig <jimcraig5615@windstream.net>
2016-12-30 11:33:59 -06:00
Jim Craig
e75f9b98df
Fixed an issue where when on the last line of the table it would go to the first visible row in the table instead of the first row of the table. This was only apparent in long tool tables.
...
Signed-off-by: Jim Craig <jimcraig5615@windstream.net>
2016-12-29 18:02:38 -06:00
Jim Craig
8c79a9a32f
Fixed the error that was occuring during moving from the far right column in the lathe tool offset table to the far right column. The root cause was that the first column is not editable. I am not sure if this is the intended functionality so I left it with cell renderer editable property set to false. I instead handled it so that if the cell renderers editable property is set to false then that cell is skipped and it automatically moves to the next cell. This is applied to both left and right movements.
...
Signed-off-by: Jim Craig <jimcraig5615@windstream.net>
2016-12-29 08:58:09 -06:00
Jim Craig
f33ecac1df
changed the __init__ function making the renderers all editable all of the time.
...
Added the onTreeNavigateKeyPress function which handles key presses in all three tree view widgets. The tab and right arrow keys will accept the current value in the cell and progress to the next visible cell to the right. If there is no cell to the right then it moves to the first visible cell in the row. The left arrow key is the same except it moves left. The enter key and the down arrow key accepts the current entry in the cell and moves to the next row same column. If on the last row then it will move to the top row. Up arrow key is the same but moves up instead.
Signed-off-by: Jim Craig <jimcraig5615@windstream.net>
2016-12-27 20:40:33 -06:00
Norbert Schechner
657ba39d2d
GladeVCP - tooledit widget - bug in reload if decimal separator not dot
...
It is correct in 2.6 and 2.7, but in master this line changed
like a miracle.
corrected that.
Signed-off-by: Norbert Schechner <nieson@web.de>
2016-05-25 16:13:14 +02:00
chris morley
5c1bad8fc4
gladevcp: add functions to change title and tab font
...
Now when the font is changed the column title and tab font change too.
There are also separate functions to set the title and/or tab font
separately.
Signed-off-by: chris morley <chrisinnanaimo@hotmail.com>
2016-05-19 21:34:44 -07:00
chris morley
d584d60336
gladevcp: tooledit: hide lathe tabs on non lathe configs
...
It should now look/work the same on non lathe configs
Signed-off-by: chris morley <chrisinnanaimo@hotmail.com>
2016-02-01 13:48:06 -08:00
chris morley
9dcc568c74
gladevcp: tooledit_widget: clean up comments and debugging code
...
Signed-off-by: chris morley <chrisinnanaimo@hotmail.com>
2016-02-01 13:47:57 -08:00
chris morley
2304f481af
gladevcp: tooledit widget: fix saving of data
...
probably mistook it for a debug line when commented out
Signed-off-by: chris morley <chrisinnanaimo@hotmail.com>
2016-02-01 13:26:04 -08:00
Sebastian Kuzminsky
cc2959d2c0
gladevcp: fix merge conflict mistake in tooledit widget
...
This fixes a merge conflict resolution error I made in the previous
merge commit. Thanks to Balestrino for the correction.
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2015-11-17 15:19:04 -07:00
Sebastian Kuzminsky
4b9702569f
Merge remote-tracking branch 'origin/2.7'
...
Conflicts:
lib/python/gladevcp/tooledit_widget.py
2015-11-17 10:49:38 -07:00
Balestrino
04e0118fc9
tooledit_widget.py: tool diameter sorting fix
...
Signed-off-by: Balestrino <salvatore.balestrino@gmail.com>
2015-11-17 17:53:30 +01:00
Chris Morley
5f92b2f9ce
gladevcp -add lathe wear offset display option
...
For those who use wear offset remap options, this separates
the wear offsets from the tool offsets on different tabs
Signed-off-by: Chris Morley <chrisinnanaimo@hotmail.com>
2015-10-04 03:28:40 -07:00
Chris Morley
7afbab3263
gladevcp -tooledit, flush tool file to disk
...
hopefully fix an occational bug that would make linuxcnc
tell you that the tool was missing from file when it was obviously there.
It seems maybe the file was not written to disk before linuxcnc was
told to read it. why it would be _blank_ I don't know.
I could cause this reliable when testing wihout linuxcnc, probably
because of the big pause as it tried to talk to non-existant linuxcnc..
Signed-off-by: Chris Morley <chrisinnanaimo@hotmail.com>
2014-09-14 21:57:14 -07:00
Chris Morley
18911987ba
gladevcp -tooledit, fix comment bugs
...
comments would grow by one space each time the tool file was saved.
if the comment delimter was missing weird things would happen-
double entries or entries as comments
Signed-off-by: Chris Morley <chrisinnanaimo@hotmail.com>
2014-09-14 21:57:14 -07:00
Norbert Schechner
ed090f8a77
gmoccapy_1_2_2 - support now also matchbox-keyboard
...
tooledit-widget.py commented out one print statement
ver. 1.2.2
- changed the way the window size and position is
handled, as before the default values did appear
several times in the code
- If no virtual keyboard could be initialized, we
disable now the corresponding part on the settings
page and the related button. Check will be done
for <onboard> and <matchbox-keyboard>
- starting gmoccapy did throw an error to the terminal
that a widget could not get default. Finally I found
the reason, the glade file did contain a property
"has_default" and that is not allowed by builder.
2014-09-12 20:59:59 +02:00
Chris Morley
b64082b49d
gladevcp -fix error message when clicking unfilled area
...
clicking the unused are would show an error message in Gscreen.
Surpress it - e understand there is no data for unused area.
2013-07-29 22:33:39 -07:00
Chris Morley
94d3babf89
gladevcp -make tooledit_widget use single click selection.
...
Now consistent with offsetpage_widget
2013-07-24 23:04:34 -07:00
Chris Morley
d589fbc919
gladevcp -add a set_selected_tool method to tooledit_widget
...
highlights and checks the specified toolnumber.
2013-06-09 12:21:03 -07:00
Chris Morley
e25809666b
gladevcp -suppress error messages from tooledit-widget
...
if you entered a wrong string (eg text in a numerical entry)
tooledit would post and error. resetting the entry is good enough.
2013-05-10 22:28:41 -07:00
Chris Morley
300dc0ca56
gladevcp -tooledit widget -fix parsing comment error
...
tooledit kept parsing the comments, leading to errors
Now we stop parsing when ';' found
2013-02-27 00:03:15 -08:00
Chris Morley
781be81f6d
gladevcp -tooleditor - add get_selected_tool and hide_buttonbox
2013-02-25 22:35:46 -08:00
Chris Morley
c96ed95363
gladevcp -you can change the tooledit_widget's font now
...
set_font('value') or with gobject
2013-02-16 15:42:04 -08:00
Chris Morley
3e6109b3cb
gladevcp -add locale awarness to tooledit widget.
...
now can use commas when nessasary
2013-02-09 23:01:09 -08:00
Chris Morley
8205059897
gladevcp -add get_toolinfo method to tooleditor
...
allows one to read the tool info of a specified toolnumber
or the current tool number if no tool is specified.
Returns None if anything is wrong
2013-02-07 21:55:48 -08:00
Chris Morley
f8a783e5d2
gladevcp -fix apply button not applying
2013-01-26 01:34:03 -08:00
Chris Morley
301dc41510
gladevcp -tooledit: remove second view, allow columns to be hidden
...
This is a lot more flexible. and can be changed after loading widget
2013-01-06 08:31:58 -08:00
Chris Morley
699ca22770
gladevcp -add sanity checks to tooleditor
...
checks for linuxcnc on and idle.
checks to see if the toolfile was updated outside of the tool editor
and reloads it if it has
2012-10-19 23:50:41 -07:00
Chris Morley
8ef50b16a7
gladevcp -update tooledit widget
...
change some method names for clarity
add comments
2012-10-15 21:48:00 -07:00
Chris Morley
bb9df13511
gladevcp -fix tool editor to update linuxcnc and edit diameter
2012-10-14 15:58:19 -07:00
Chris Morley
a6be1fe799
gladevcp -add a tool editor widget
2012-10-13 22:50:33 -07:00