Skip to content

Commit cccb41f

Browse files
committed
qtdragon/hd -add details of spindle belts embedded panel example
1 parent dc371d1 commit cccb41f

2 files changed

Lines changed: 17 additions & 3 deletions

File tree

247 KB
Loading

docs/src/gui/qtdragon.adoc

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,11 @@ The `EMBED_TAB_NAME` entry will used as the title for the new tab.(must be uniqu
176176
Tab `EMBED_TAB_LOCATION` options include: `tabWidget_utilities`, `tabWidget_setup` and `stackedWidget_mainTab`. +
177177
Tab `EMBED_TAB_COMMAND` specifies what embed-able program to run, including any of it's command line options.
178178

179+
If using the `tabWidget_utilities` or `tabWidget_setup` locations, an extra tab will appear with the panel. +
180+
If using `stackedWidget_mainTab`, a button labelled 'User' will appear. +
181+
Pressing this button will cycle through displaying all available panels (specified for this location) on the main tab area.
182+
183+
==== Embedding Vismach Mill
179184
.Sample adding a builtin panel to the utilities tab, i.e., a graphical animated machine using the vismach library.
180185
[source,{ini}]
181186
----
@@ -185,9 +190,18 @@ EMBED_TAB_COMMAND = qtvcp vismach_mill_xyz
185190
EMBED_TAB_LOCATION = tabWidget_utilities
186191
----
187192

188-
If using the `tabWidget_utilities` or `tabWidget_setup` locations, an extra tab will appear with the panel.
189-
If using `stackedWidget_mainTab`, a button labelled 'User' will appear.
190-
Pressing this button will cycle through displaying all available panels (specified for this location) on the main tab area.
193+
==== Embedding Spindle Belts Panel
194+
195+
This example panel is designed to display additional RS485 VFD data and also to configure a 4 sheave, 2 belt spindle drive via a series of buttons.
196+
197+
image::images/qtdragon_spindle_belts.png["QtDragon spindle_belts Panel - Spindle Belts VCP",align="center"]
198+
[source,{ini}]
199+
----
200+
[DISPLAY]
201+
EMBED_TAB_NAME = Spindle Belts
202+
EMBED_TAB_COMMAND = qtvcp spindle_belts
203+
EMBED_TAB_LOCATION = tabWidget_utilities
204+
----
191205

192206
=== Subroutine Paths
193207

0 commit comments

Comments
 (0)