Skip to content

Commit 9b0a166

Browse files
Merge pull request #2003 from smoe/docs_weblate_petter
docs: fixed two weblate warnings
2 parents 1d92f1f + 7945f51 commit 9b0a166

2 files changed

Lines changed: 18 additions & 35 deletions

File tree

docs/src/gcode/tool-compensation.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ The io program provides HAL output pins to facilitate toolchanger management:
210210

211211
. Tool number _n_==0 indicates no tool
212212
. The pocket number for a tool is set when tooldata is loaded/reloaded
213-
from its data source ([EMCIO]TOOL_TABLE or [EMCIO]DB_PROGRAM).
213+
from its data source ([EMCIO]TOOL_TABLE or [EMCIO]DB_PROGRAM).
214214
. At G-code *T__n__* (_n_ != 0) command:
215215
.. *iocontrol.0.tool-prep-index* = idx (index based on tooldata load sequence)
216216
.. *iocontrol.0.tool-prep-number* = _n_

docs/src/gui/qtvcp-widgets.adoc

Lines changed: 17 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -2473,12 +2473,11 @@ Currently these status options can be used to auto style buttons:
24732473
* 'is_estopped_status' will toggle the property 'isEstop'
24742474
* 'is_on_status' will toggle the property 'isStateOn'
24752475
* 'is_manual_status,is_mdi_status,is_auto_status' will toggle the
2476-
'isManual, isMDI, isAuto' properties.
2476+
'isManual, isMDI, isAuto' properties.
24772477
* 'is_homed_status' will toggle the 'isAllHomed' property
24782478

24792479
Here is a sample stylesheet entry.
2480-
It sets the background of mode button widgets when LinuxCNC is in that
2481-
mode.
2480+
It sets the background of mode button widgets when LinuxCNC is in that mode.
24822481

24832482
----
24842483
ActionButton[isManual=true] {
@@ -2537,51 +2536,35 @@ ActionButton #action_aux{
25372536
==== Call Python commands on state
25382537

25392538
The python_command_option allow small snippets of Python code to be run
2540-
from the push of a button, with out having to edit the handler file.
2541-
(though it can call functions in the handler file)
2539+
from the push of a button, with out having to edit the handler file
2540+
(though it can call functions in the handler file).
25422541
When using the command_string properties.
25432542

25442543
* 'true_python_cmd_string' - a python command that will be called when
25452544
the button is toggled true
25462545
* 'false_python_cmd_string' - a python command that will be called when
25472546
the button is toggled false
25482547

2549-
The capitalized word 'INSTANCE' will give access to the widgets instances
2550-
and handler functions. eg. 'INSTANCE.my_handler_function_call(True)'. +
2551-
The capitalized word 'ACTION' will give access to qtvcp's ACTION library.
2552-
eg. 'ACTION.TOGGLE_FLOOD()'. +
2553-
The capitalized word 'PROGRAM_LOADER' will give access to qtvcp's
2554-
PROGRAM_LOADER library. eg. 'PROGRAM_LOADER.load_halshow()'. +
2555-
The capitalized word 'HAL' will give access to HAL's python module,
2556-
e.g., 'HAL.set_p('motion.probe-input','1')'.
2548+
The capitalized words
25572549

2550+
INSTANCE:: will give access to the widgets instances and handler functions, e.g.. 'INSTANCE.my_handler_function_call(True)'.
2551+
ACTION:: will give access to qtvcp's ACTION library, e.g., 'ACTION.TOGGLE_FLOOD()'.
2552+
PROGRAM_LOADER:: will give access to QtVCP's PROGRAM_LOADER library, e.g., 'PROGRAM_LOADER.load_halshow()'.
2553+
HAL:: will give access to HAL's python module, e.g., 'HAL.set_p('motion.probe-input','1')'.
25582554

25592555
== Import only Widgets
25602556
These widgets are usually the base class widget for other QtVCP widgets.
25612557
They are not available directly from the Designer editor but could be
25622558
imported and manually inserted in the handler file.
25632559
They could also be subclassed to make a similar widget with new features.
25642560

2565-
=== Auto Height
2566-
Widget for measuring two heights with a probe. For setup
2561+
Auto Height:: Widget for measuring two heights with a probe. For setup
2562+
Gcode Utility:: Widgets for preforming common machining processes.
2563+
Facing::Slab or face a definable area with different strategies
2564+
Hole Cicle:: Drill multiple holes on a bolt hole circle
2565+
Qt NGCGUI:: QtVcp's version of NGC subroutine selector.
2566+
Qt PDF:: Allows adding loadable PDFs to a screen
2567+
Qt Vismach:: Use this to build/add OpenGl simulated machines
25672568

2568-
=== Gcode Utility
2569-
Widgets for preforming common machining processes.
25702569

2571-
=== Facing
2572-
Slab or face a definable area with different strategies
2573-
2574-
=== Hole Cicle
2575-
Drill multiple holes on a bolt hole circle
2576-
2577-
=== Qt NGCGUI
2578-
QtVcp's version of NGC subroutine selector.
2579-
2580-
=== Qt PDF
2581-
Allows adding loadable PDFs to a screen
2582-
2583-
=== Qt Vismach
2584-
Use this to build/add OpenGl simulated machines
2585-
2586-
2587-
// vim: set syntax=asciidoc:
2570+
// vim: set syntax=asciidoc:

0 commit comments

Comments
 (0)