Сustomization QTvcp

More
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.
Attachments:
The following user(s) said Thank You: hottabich

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

More
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 or Create an account to join the conversation.

More
6 years 6 months ago - 6 years 6 months ago #164774 by hottabich
Replied by hottabich on topic Сustomization QTvcp

cmorley 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')

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 added
(net btn_probesim motion.probe-input qtdragon.btn_probesim).
Attachments:
Last edit: 6 years 6 months ago by hottabich.

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

More
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
The following user(s) said Thank You: hottabich

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

More
6 years 6 months ago - 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?
Attachments:
Last edit: 6 years 6 months ago by hottabich.
The following user(s) said Thank You: tommylight

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

More
6 years 6 months ago #165040 by cmorley
Replied by cmorley on topic Сustomization QTvcp
Should be possible. I'm working out of town for a few days...so cant help at the moment.
The following user(s) said Thank You: tommylight, hottabich

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

Moderators: cmorley
Time to create page: 2.794 seconds
Powered by Kunena Forum