Generating a own Popup

More
9 months 1 week ago #341719 by DemonClaW
Replied by DemonClaW on topic Generating a own Popup
No idea how this happend i will post and check it this time

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

More
9 months 1 week ago #341720 by cmorley
Replied by cmorley on topic Generating a own Popup
please build your panel as a main window instead of a dialog
The following user(s) said Thank You: DemonClaW

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

More
9 months 1 week ago #341721 by DemonClaW
Replied by DemonClaW on topic Generating a own Popup
OK this worked and we got rid of the type error, if i start i now i get a attribute error: object has no attribute 'PREFS_' , i hope you dont get frustraded with me its all very new for me. I really appreciate your work with me. And it means a lot.

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

More
9 months 1 week ago #341723 by cmorley
Replied by cmorley on topic Generating a own Popup
Ok I edited your handler file - I should have explained how to combine the code.
I didn't remove your popup code but it's not used. 
I used your modified qtdragon_hd.ui file
I made a sample vacuum panel based as a mainwindow with just an LED in it.

I confirmed this works on my system

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

More
9 months 1 week ago #341724 by DemonClaW
Replied by DemonClaW on topic Generating a own Popup
This is interresting with your files i still get the error message:

AttributeError: 'MainPage' object has no attribute 'PREFS_'

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

More
9 months 1 week ago #341725 by cmorley
Replied by cmorley on topic Generating a own Popup
If you run linuxcnc from a terminal then there should be more information on that error.

it's not enough for me to track it down
The following user(s) said Thank You: DemonClaW

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

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