- Posts: 7368
- Thank you received: 2181
Сustomization QTvcp
- cmorley
- Offline
- Moderator
-
Less
More
6 years 6 months ago #165465
by cmorley
Replied by cmorley on topic Сustomization QTvcp
Try this:
I edited the handler and .ui files
Chris
I edited the handler and .ui files
Chris
Please Log in or Create an account to join the conversation.
- hottabich
- Offline
- Platinum Member
-
Less
More
- Posts: 574
- Thank you received: 96
6 years 6 months ago - 6 years 6 months ago #165495
by hottabich
Replied by hottabich on topic Сustomization QTvcp
Thank you so much!!! Everything is working. I removed the blank page, it might work for someone. And why does the designer not add the widget to the UI file? The QTDragon interface is almost ready to go. Thank you and Jim for the great interface.
and your hard work.
and your hard work.
Last edit: 6 years 6 months ago by hottabich.
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
-
Less
More
- Posts: 7368
- Thank you received: 2181
6 years 6 months ago #165500
by cmorley
Replied by cmorley on topic Сustomization QTvcp
i just pushed work so that mdi_touchy supports INI base macros.
The sample Qttouchy config should demonstrate use.
Chris
The sample Qttouchy config should demonstrate use.
Chris
The following user(s) said Thank You: hottabich
Please Log in or Create an account to join the conversation.
- hottabich
- Offline
- Platinum Member
-
Less
More
- Posts: 574
- Thank you received: 96
6 years 6 months ago - 6 years 6 months ago #165622
by hottabich
Replied by hottabich on topic Сustomization QTvcp
Qttouchy does not start. What is wrong with me? And I’m very embarrassed, but I can’t implement SimProbeButton from your post, please explain how to do this. Thank.I also changed a little mdi_touchy.widgets it seems to me that for a touch monitor it will be better than you think.
Last edit: 6 years 6 months ago by hottabich.
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
-
Less
More
- Posts: 7368
- Thank you received: 2181
6 years 6 months ago #165623
by cmorley
You reported that it did work. I'm confused.
Replied by cmorley on topic Сustomization QTvcp
hottabich wrote:
Created the btn_probesim button in qtdragon_postgui.hal added (net qtdragon.btn.0.probesim => motion.probe-input). Motion.probe-input does not work, qtdragon.btn_probesim works. Please tell me what's wrong? Excuse for troubling. The question is closed. Everything is working. In qtdragon_postgui.hal addedcmorley wrote: Get a button to call this function when pressed and released.
Code:def SimProbeButton(self, state): if state: hal.set_P('motion.probe-input','1') else: hal.set_P('motion.probe-input','o')
(net btn_probesim motion.probe-input qtdragon.btn_probesim).
You reported that it did work. I'm confused.
Please Log in or Create an account to join the conversation.
- hottabich
- Offline
- Platinum Member
-
Less
More
- Posts: 574
- Thank you received: 96
6 years 6 months ago #165625
by hottabich
Replied by hottabich on topic Сustomization QTvcp
It works correctly, but I can’t get the second probe sim button on the status page. I write probesim_button_2-clicked-probesim_button-click in the designer. But the probesim_button_2 button does not work. A simple question but the brain is boiling and nothing happens.
Please Log in or Create an account to join the conversation.
Moderators: cmorley
Time to create page: 0.628 seconds