- LinuxCNC
- General LinuxCNC Questions
- Drag and drop hal widgets announcement for qt designer. Wtf is live-mode?
Drag and drop hal widgets announcement for qt designer. Wtf is live-mode?
- Grotius
- Topic Author
- Away
- Platinum Member
Less
More
- Posts: 2245
- Thank you received: 1984
13 Aug 2021 03:07 #217649
by Grotius
Drag and drop hal widgets announcement for qt designer. Wtf is live-mode? was created by Grotius
Hi,
Currently developing hal widgets for the qt-designer in a new way.
User can drag and drop the hal-widgets into the screen layout, as normal.
The funny thing is, the widget's don't have to be coded with signal and slots, allocate hal memory, setup a hal pin etc.
They are already pre-coded by skynet.
On top of the pre-coded solution, the widget's can actually work inside the qt-designer while building the app.
When the live-mode is selected. The hal output is working.
I plan to make a few basic "ready to go" widgets.
A study how to generate hal files and converse the user-app to a kernel-app has my attention.
Currently developing hal widgets for the qt-designer in a new way.
User can drag and drop the hal-widgets into the screen layout, as normal.
The funny thing is, the widget's don't have to be coded with signal and slots, allocate hal memory, setup a hal pin etc.
They are already pre-coded by skynet.
On top of the pre-coded solution, the widget's can actually work inside the qt-designer while building the app.
When the live-mode is selected. The hal output is working.
I plan to make a few basic "ready to go" widgets.
A study how to generate hal files and converse the user-app to a kernel-app has my attention.
Attachments:
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
Less
More
- Posts: 7778
- Thank you received: 2075
13 Aug 2021 03:32 #217652
by cmorley
Replied by cmorley on topic Drag and drop hal widgets announcement for qt designer. Wtf is live-mode?
qtvcp has quite a few HAL widgets.
What is different with yours?
What is different with yours?
Please Log in or Create an account to join the conversation.
- Grotius
- Topic Author
- Away
- Platinum Member
Less
More
- Posts: 2245
- Thank you received: 1984
13 Aug 2021 03:55 - 13 Aug 2021 04:04 #217654
by Grotius
Replied by Grotius on topic Drag and drop hal widgets announcement for qt designer. Wtf is live-mode?
It's a c++ implemention for hal widgets. Just a tryout, nothing special.
Last edit: 13 Aug 2021 04:04 by Grotius.
Please Log in or Create an account to join the conversation.
- Grotius
- Topic Author
- Away
- Platinum Member
Less
More
- Posts: 2245
- Thank you received: 1984
14 Aug 2021 19:08 - 14 Aug 2021 19:29 #217763
by Grotius
Replied by Grotius on topic Drag and drop hal widgets announcement for qt designer. Wtf is live-mode?
Hi,
Today i coded the "hal widgets" for the "PushButton" some more. The github is updated.
Users don't have to code a single line so far. This saves time and is awesome !
When the button is configured in the "green area", the hal is working when gui starts.
The button's can be of almost of any haltype : bit, float, s32, u32, Hal_in or Hal_out or Hal_rw (parameters) etc.
The button may have a "pressed value" and "release value".
Type float:
For example button pressed = 1500
Button released = -1500
Type bit:
pressed : 1 or 0
released : 1 or 0
Can be of type normal, toggle. May have picture's or colors for pressed and released.
source code
Watch the video
Today i coded the "hal widgets" for the "PushButton" some more. The github is updated.
Users don't have to code a single line so far. This saves time and is awesome !
When the button is configured in the "green area", the hal is working when gui starts.
The button's can be of almost of any haltype : bit, float, s32, u32, Hal_in or Hal_out or Hal_rw (parameters) etc.
The button may have a "pressed value" and "release value".
Type float:
For example button pressed = 1500
Button released = -1500
Type bit:
pressed : 1 or 0
released : 1 or 0
Can be of type normal, toggle. May have picture's or colors for pressed and released.
source code
Watch the video
Last edit: 14 Aug 2021 19:29 by Grotius.
Please Log in or Create an account to join the conversation.
- LinuxCNC
- General LinuxCNC Questions
- Drag and drop hal widgets announcement for qt designer. Wtf is live-mode?
Time to create page: 0.073 seconds