Skip to content

Commit f22c39a

Browse files
committed
qtvcp -docs: add info on new test_button panel
1 parent ff34393 commit f22c39a

2 files changed

Lines changed: 24 additions & 1 deletion

File tree

32.1 KB
Loading

docs/src/gui/qtvcp-vcp-panels.adoc

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,14 +52,37 @@ loadusr qtvcp test_dial
5252
.test dial - Test Dial VCP
5353
image::images/qtvcp_test_dial.png["Test Dial",align="left"]
5454

55+
=== test_button
56+
57+
- This panel has a button that will set a HAL pin. +
58+
- the button can be selected as a momentary or a toggle button +
59+
- The button's indicator color can be adjusted from a drop down menu. +
60+
- You can add more buttons from the drop down menu. +
61+
- You can load a HalMeter from the drop down menu. +
62+
- You can load a test LED from the drop down menu. +
63+
- The button can be detached from the main windows.
64+
65+
Here is how to load test_button from a HAL script. +
66+
The '-o' switch sets how many buttons the panel starts with. +
67+
(If loading directly from a terminal omit the 'loadusr')
68+
69+
[source,{hal}]
70+
----
71+
loadusr qtvcp test_button
72+
loadusr qtvcp -o 4 test_button
73+
----
74+
75+
.test dial - Test Dial VCP
76+
image::images/qtvcp_test_button.png["Test Button",align="left"]
77+
5578
=== test_led
5679

5780
- This panel has an LED that can selected to watch HAL bit pins/signals. +
5881
- The LED's color can be adjusted from a drop down menu. +
5982
- The text box and state can be output as speech if sound is selected. +
6083
- A combobox can be used to automatically select and connect to a pin/signal. +
6184
- You can add more LEDs from the drop down menu. +
62-
- The LED can be detached from the main windows.
85+
- The LED can be dtached from the main windows.
6386

6487
Here is how to load test_led from a HAL script. +
6588
The '-o' switch sets how many LEDs the panel starts with. +

0 commit comments

Comments
 (0)