Drag and drop hal widgets announcement for qt designer. Wtf is live-mode?

  • Grotius
  • Grotius's Avatar Topic Author
  • Away
  • Platinum Member
  • Platinum Member
More
13 Aug 2021 03:07 #217649 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.

 
Attachments:

Please Log in or Create an account to join the conversation.

More
13 Aug 2021 03:32 #217652 by cmorley
qtvcp has quite a few HAL widgets.
What is different with yours?

Please Log in or Create an account to join the conversation.

  • Grotius
  • Grotius's Avatar Topic Author
  • Away
  • Platinum Member
  • Platinum Member
More
13 Aug 2021 03:55 - 13 Aug 2021 04:04 #217654 by Grotius
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
  • Grotius's Avatar Topic Author
  • Away
  • Platinum Member
  • Platinum Member
More
14 Aug 2021 19:08 - 14 Aug 2021 19:29 #217763 by Grotius
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

File Attachment:






 
Last edit: 14 Aug 2021 19:29 by Grotius.

Please Log in or Create an account to join the conversation.

Time to create page: 0.073 seconds
Powered by Kunena Forum