- Posts: 574
- Thank you received: 0
Сustomization QTvcp
6 years 6 months ago #164407
by hottabich
Replied by hottabich on topic Сustomization QTvcp
At the start of qtdragon. This is not a mistake; this is a warning, isn’t it.
Please Log in to join the conversation.
6 years 6 months ago #164409
by hottabich
qtdragon.
Replied by hottabich on topic Сustomization QTvcp
You mentioned the widget, I realized that this applies tocmorley wrote: ahh did you move or did it ask to move the QtTouchy config?
It can't find the file: ../check_constraints.hal file
It' s in the sim/qtvcp_screens folder by default
qtdragon.
Please Log in to join the conversation.
6 years 6 months ago #164410
by cmorley
Replied by cmorley on topic Сustomization QTvcp
It's a error because qtdragon tried to do something that it cannot do.
How did you cause it?
How did you cause it?
Please Log in to join the conversation.
6 years 6 months ago #164411
by hottabich
Replied by hottabich on topic Сustomization QTvcp
I registered self.w.mditouchy.run_command () in qtdragon_handler. Section init_widgets (self):
Please Log in to join the conversation.
6 years 6 months ago #164412
by cmorley
Replied by cmorley on topic Сustomization QTvcp
yes no good.
you must call self.w.mditouchy.run_command () only when the MDI command is to be run.
To make the cycle start button run MDI, Try this (I didn't test it):
you must call self.w.mditouchy.run_command () only when the MDI command is to be run.
To make the cycle start button run MDI, Try this (I didn't test it):
Code:
def btn_start_clicked(self):
if STATUS.is_mdi_mode():
self.w.mditouchy.run_command()
return
if self.w.main_tab_widget.currentIndex() != 0:
return
if not STATUS.is_auto_mode():
self.add_alarm("Must be in AUTO mode to run a program")
return
self.w.btn_start.setProperty('running', True)
self.w.btn_start.setStyle(self.w.btn_start.style())
start_line = int(self.w.lbl_start_line.text().encode('utf-8'))
self.add_alarm("Started program from line {}".format(start_line))
ACTION.RUN(start_line)
Please Log in to join the conversation.
6 years 6 months ago #164415
by hottabich
Replied by hottabich on topic Сustomization QTvcp
Thanks It works!! I’ll check in more detail later. Unsubscribe if something is wrong. Thanks again!!!
Please Log in to join the conversation.
6 years 6 months ago #164585
by hottabich
Replied by hottabich on topic Сustomization QTvcp
Hello! Checked the work of MDITouchy widgets. All is well. I can not only implement the Macro tab. How does it work, tell me please.
Thank you for your hard work.
Thank you for your hard work.
Please Log in to join the conversation.
6 years 6 months ago #164588
by cmorley
Replied by cmorley on topic Сustomization QTvcp
What is the problem with macro tabs - I thought that was working already.
Please Log in to join the conversation.
6 years 6 months ago #164592
by hottabich
Replied by hottabich on topic Сustomization QTvcp
The macro tab works perfectly. I cannot implement the Macro tab in MDI Touchy.
UTB is not necessary for me. I just check the operation of the widget.
UTB is not necessary for me. I just check the operation of the widget.
Please Log in to join the conversation.
Time to create page: 0.272 seconds
