Сustomization QTvcp

More
08 Oct 2020 18:59 #185381 by hottabich
Replied by hottabich on topic Сustomization QTvcp
Hello! I am eager to integrate the sim panel into a full hd interface. Please tell me how to register
eto in the handler or where to read. Thanks!
Attachments:

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

More
08 Oct 2020 21:58 #185403 by cmorley
Replied by cmorley on topic Сustomization QTvcp
Currently you can't combine separate panels (even qtvcp ones) unless you use the X11 embedding process which has a few limitations and warts.

The best way to incorporate the panels is to use designer to copy and paste the panel into the original design. Then if the panel has a handler file to move the relevant code into the dragon handler file.

The intended way was to have the jog panel float as it's just for testing.
You can see the idea with TOUCHY sim (though it use GLADEvcp)

Chris

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

More
09 Oct 2020 05:10 #185424 by hottabich
Replied by hottabich on topic Сustomization QTvcp
Thanks! I copied and pasted the sim panel in the designer. But the panel has no handler. The sim panel initially worked in qt _lathe before the modification and beat as it is written in the handler. I will study.
I've already looked at Touchy. I will have fun for a long time.

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

More
09 Oct 2020 05:20 #185427 by cmorley
Replied by cmorley on topic Сustomization QTvcp
The HAL pins will have different pin prefix names after being incorporated.

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

More
09 Oct 2020 11:58 - 09 Oct 2020 19:01 #185454 by hottabich
Replied by hottabich on topic Сustomization QTvcp
I will connect the buttons in turn.
Last edit: 09 Oct 2020 19:01 by hottabich.

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

More
09 Oct 2020 16:56 - 09 Oct 2020 18:58 #185493 by hottabich
Replied by hottabich on topic Сustomization QTvcp
This is how the axes work in incremental mode. Why do I need the commented out line in postgui.hal I do not understand, this is probably for an external sim panel.
Attachments:
Last edit: 09 Oct 2020 18:58 by hottabich.

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

More
09 Oct 2020 19:49 #185501 by cmorley
Replied by cmorley on topic Сustomization QTvcp
I would nee to know the error message to try to guess the problem.
The following user(s) said Thank You: hottabich

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

More
09 Oct 2020 20:54 - 09 Oct 2020 20:58 #185506 by hottabich
Replied by hottabich on topic Сustomization QTvcp
Here's a mistake. External mpg is the same sim panel?
Attachments:
Last edit: 09 Oct 2020 20:58 by hottabich.

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

More
09 Oct 2020 21:04 #185507 by cmorley
Replied by cmorley on topic Сustomization QTvcp
In the handler file, you are missing the function:

def external_mpg(self, count):

QtTouchy uses this to decide what the MPG will control
The following user(s) said Thank You: hottabich

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

More
09 Oct 2020 21:49 - 09 Oct 2020 21:58 #185514 by hottabich
Replied by hottabich on topic Сustomization QTvcp
How to add it to the handler? Tell me please.
Attachments:
Last edit: 09 Oct 2020 21:58 by hottabich.

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

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