Сustomization QTvcp
25 Apr 2020 01:19 #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.
25 Apr 2020 06:08 - 25 Apr 2020 06:08 #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: 25 Apr 2020 06:08 by hottabich.
Please Log in or Create an account to join the conversation.
25 Apr 2020 08:00 #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.
26 Apr 2020 05:15 - 26 Apr 2020 05:35 #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: 26 Apr 2020 05:35 by hottabich.
Please Log in or Create an account to join the conversation.
26 Apr 2020 05:24 #165623
by cmorley
You reported that it did work. I'm confused.
Replied by cmorley on topic Сustomization QTvcp
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 addedGet a button to call this function when pressed and released.
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.
26 Apr 2020 05:49 #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.
26 Apr 2020 06:44 #165627
by cmorley
Replied by cmorley on topic Сustomization QTvcp
You have two button to simulate probing?
To connect two button to one probe pin requires either a AND component to allow the two button pins to drive the same probe input....
or use qtvcp to set the probe pin directly.
The function I posted sets the pin directly and can be called by many buttons.
This describes how to designer slots to call the function:
linuxcnc.org/docs/2.8/html/gui/qtvcp.htm...dgets_to_python_code
You could also use action button python command option to call the function.
I'll look at you mdi_touchy changes
To connect two button to one probe pin requires either a AND component to allow the two button pins to drive the same probe input....
or use qtvcp to set the probe pin directly.
The function I posted sets the pin directly and can be called by many buttons.
This describes how to designer slots to call the function:
linuxcnc.org/docs/2.8/html/gui/qtvcp.htm...dgets_to_python_code
You could also use action button python command option to call the function.
I'll look at you mdi_touchy changes
Please Log in or Create an account to join the conversation.
26 Apr 2020 09:17 - 26 Apr 2020 09:17 #165638
by hottabich
Replied by hottabich on topic Сustomization QTvcp
The issue was resolved in a radical way. Removed two buttons and added one working
the bottom panel is now accessible from all pages. Thanks for the science and
please excuse the concern.
the bottom panel is now accessible from all pages. Thanks for the science and
please excuse the concern.
Last edit: 26 Apr 2020 09:17 by hottabich.
Please Log in or Create an account to join the conversation.
27 Apr 2020 05:08 #165751
by hottabich
Replied by hottabich on topic Сustomization QTvcp
In order for QTTouchy to work, you need to register HALFILE = /usr/share/linuxcnc/hallib/check_xyz_constraints.hal in the INI file.
The following user(s) said Thank You: cmorley
Please Log in or Create an account to join the conversation.
28 Apr 2020 12:27 - 28 Apr 2020 12:28 #165970
by hottabich
Replied by hottabich on topic Сustomization QTvcp
According to the description of mditouchy.widgets I rule qttouchy.ini, in nc files I create
macros folder with increment.ngc. Starting qttouchy I click on the MACRO tab and nothing happens. What's wrong?
macros folder with increment.ngc. Starting qttouchy I click on the MACRO tab and nothing happens. What's wrong?
Last edit: 28 Apr 2020 12:28 by hottabich.
Please Log in or Create an account to join the conversation.
Moderators: cmorley
Time to create page: 0.128 seconds