- Posts: 574
- Thank you received: 0
Сustomization QTvcp
6 years 6 months ago #164594
by hottabich
Replied by hottabich on topic Сustomization QTvcp
There is an interesting question. I added Plot to the Probe page. Why are two GcodeGraphics conflicting? And is there a possibility to add a button in Qtvcp
ProbeSim?
ProbeSim?
Please Log in to join the conversation.
6 years 6 months ago #164595
by cmorley
Replied by cmorley on topic Сustomization QTvcp
plotting uses a fair amount of process power. There is a special widget to move other widgets from place to place. QtDefault demonstrates this with the 'big view' button. it cycles the display by moving widgets around.
This might be better way to do it - its a little complicated. I'll have to refresh my memory on the widget.
I have not tried two plotters so I don't know what the problem is.
add a button for what?
This might be better way to do it - its a little complicated. I'll have to refresh my memory on the widget.
I have not tried two plotters so I don't know what the problem is.
add a button for what?
Please Log in to join the conversation.
6 years 6 months ago #164597
by hottabich
Replied by hottabich on topic Сustomization QTvcp
Launch my interface and switch the visualization p, x, y, z and also move
picture in the window. Everything is necessary for checking Probe in simulator. ProbeSim mimics
(probe in). (QtDefault demonstrates this with the 'big view' button. it cycles the display by moving widgets around.)
If so make it super!
picture in the window. Everything is necessary for checking Probe in simulator. ProbeSim mimics
(probe in). (QtDefault demonstrates this with the 'big view' button. it cycles the display by moving widgets around.)
If so make it super!
Please Log in to join the conversation.
6 years 6 months ago #164602
by cmorley
Replied by cmorley on topic Сustomization QTvcp
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')
Please Log in to join the conversation.
6 years 6 months ago #164606
by cmorley
Replied by cmorley on topic Сustomization QTvcp
Here is proof of concept.
I modified qtdragon.ui and qtdragon_handler.py
When you switch tabs it automatically moves the plotter to the right spot by calling the function switch()
The special widget is called widgetswitcher.
I modified qtdragon.ui and qtdragon_handler.py
When you switch tabs it automatically moves the plotter to the right spot by calling the function switch()
The special widget is called widgetswitcher.
Please Log in to join the conversation.
6 years 6 months ago #164608
by hottabich
Replied by hottabich on topic Сustomization QTvcp
Thank you very much!!! You are the best !!
Please Log in to join the conversation.
6 years 6 months ago #164774
by hottabich
(net btn_probesim motion.probe-input qtdragon.btn_probesim).
Replied by hottabich 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 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).
Please Log in to join the conversation.
6 years 6 months ago #164874
by cmorley
Replied by cmorley on topic Сustomization QTvcp
Ok if you use your solution then you don't need the'SimProbeButton' function I posted
Your probe tab looks good!
Chris
Your probe tab looks good!
Chris
Please Log in to join the conversation.
6 years 6 months ago #164950
by hottabich
Replied by hottabich on topic Сustomization QTvcp
Hello Chris! I resized qtdragon to 1900x1000, which turned out to be an interesting option for
fullHD monitor owner. I want to add widgetswitcher to the Status page, but it will be the second in the interface. I could not get. Is it real or impossible?
fullHD monitor owner. I want to add widgetswitcher to the Status page, but it will be the second in the interface. I could not get. Is it real or impossible?
Please Log in to join the conversation.
Time to create page: 0.174 seconds
