Skip to content

Commit 6f1f667

Browse files
committed
qtdragon -docs: update or grids and customization
1 parent 5213166 commit 6f1f667

1 file changed

Lines changed: 31 additions & 10 deletions

File tree

docs/src/gui/qtdragon.adoc

Lines changed: 31 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,19 @@ INCREMENTS = Continuous, .001 mm, .01 mm, .1 mm, 1 mm, 1.0 inch, 0.1 inch, 0.01
146146
ANGULAR_INCREMENTS = 1, 5, 10, 30, 45, 90, 180, 360
147147
----
148148

149+
=== Grid Increments
150+
Set the available optional grid sizes for graphics display. +
151+
This will override the default sizes. +
152+
'mm' and 'in' are used to specify units. +
153+
The grid selection box is shown when clicking the 'OPTN' button
154+
on the graphics display.
155+
156+
[source,{ini}]
157+
----
158+
[DISPLAY]
159+
GRIDS = 0, .1 mm, 1 mm, 2 mm, 5 mm, 10 mm, .25 in, .5 in
160+
----
161+
149162
=== Jog speed
150163

151164
Set jog speed controls (in units per second)
@@ -954,6 +967,17 @@ Sequence after pressing the probe button: +
954967
. rapid back to starting corner (now calculated using the probed walls),
955968
. if auto zero button is enabled, set X and Y of the current user system to zero.
956969

970+
=== Customizing Probe Screen Widget
971+
It is possible to load a customized version of the probe widget. +
972+
973+
There should be a folder in the config folder; for screens: named <CONFIG FOLDER>/qtvcp/. +
974+
There may be (or can be added) a folder 'lib/' and 'widgets/' +
975+
In the widgets folder you can copy 'basic_probe.py' (or 'versa_probe.py') and 'probe_subprog.py' +
976+
In the lib folder copy 'touchoff_subprogram.py' +
977+
If these files are found they will be used instead of the originals. +
978+
You can modify the files to change behaviour. +
979+
980+
957981
[[sub:touch-plate]]
958982
== Touch plate
959983

@@ -1651,21 +1675,18 @@ To have the manual spindle buttons also incrementally increase/decrease speed:
16511675

16521676
=== Qt Designer and Python code
16531677

1654-
All aspects of the GUI are fully customization through Qt Designer and/or Python code.
1655-
This capability is included with the QtVCP development environment.
1656-
The extensive use of QtVCP widgets keeps the amount of required Python code to a minimum, allowing relatively easy modifications.
1657-
The LinuxCNC website has extensive documentation on the installation and use of QtVCP libraries.
1678+
All aspects of the GUI are fully customization through Qt Designer and/or Python code. +
1679+
This capability is included with the QtVCP development environment. +
1680+
The extensive use of QtVCP widgets keeps the amount of required Python code to a minimum, allowing relatively easy modifications. +
1681+
The LinuxCNC website has extensive documentation on the installation and use of QtVCP libraries. +
16581682
See <<cha:qtvcp,QtVCP>> for more information about QtVCP in general. +
1683+
Custom modifications can be added by 'subclassing' the handler file. This adds code on top of the original. +
16591684
QtDragon can also utilize QtVCP's rc file to do minor python code modifications without using a custom handler file.
16601685

1661-
[source,{ini}]
1662-
----
1663-
[DISPLAY]
1664-
USER_COMMAND_FILE = CONFIGFOLDER/qtdragonrc.py
1665-
----
1666-
16671686
See <<cha:qtvcp:modifying-screens,Modifying Screens>> for more information about customization.
16681687

1688+
Some widget customization is available for basic probe and versa probe.
1689+
16691690
.QtDragon - Customized QtDragon
16701691
image::images/silverdragon_custom.png["QtDragon customized",scale=25]
16711692

0 commit comments

Comments
 (0)