Generating a own Popup

More
21 Jan 2026 15:53 #341649 by DemonClaW
Replied by DemonClaW on topic Generating a own Popup
First thing is that my data path isnt /usr/share anymore, instead some documentations told me to get the file seperated copyed into the machine folder, for me i got the base ui and handler there : /home/.../linuxcnc/configs/.../qtvcp/screens/qtdragon_hd/. The second thing is your talking about taking your file name it "qtdragon_hd_handler.py", if i go like that i would override the current base handler, that doesnt make sence to me. What i exactly did know is

-Rename ur .py data to vacuum_popup.py (using it as a second handler)
-Implement your 3 lines to .ini like that:
EMBED_TAB_NAME=vacuum_popup
EMBED_TAB_COMMAND=qtvcp vacuum_popup
EMBED_TAB_LOCATION=DIALOG
-/home/.../linuxcnc/configs/.../qtvcp/panels/vacuum_popup/ is the path where the ui would be

If i start then it seems like it load but it cant cant work with the class: Like you will see in the error code i attached as .txt

I feel kind of sorry but i really want to learn the things, even if the start is currently kind of hard. But your help is getting me confident i can make it.
Thanks for your help

 
Attachments:

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

More
21 Jan 2026 17:14 #341658 by cmorley
Replied by cmorley on topic Generating a own Popup
DId you modify the qtdragon ui and handler fikes is that why you copied
the original files? I don't think you told me that.
The qtdragon_handler file that I posted creates an addition to the original. But you can't do both, either you copy the whole file and modify them or you set the file to extend the original.

Let me know what you want to do.
The following user(s) said Thank You: tommylight, DemonClaW

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

More
21 Jan 2026 18:16 #341662 by DemonClaW
Replied by DemonClaW on topic Generating a own Popup
Im soooo sorry i did miss to Tell you, yeah the original .ui is already touched a bit. The handler is untouched. Ive got trough a Lot of Tutorials and almost everyone copied the Files into their Main Maschine, it Made sence for me to have them all together in one folder so i got with that, too.

In my opinion it would be the easist way to extend the current handler Data so the Rest could stay Like i already got it

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

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