Screen shots of gui designs

More
3 years 2 months ago #278730 by MarkoPolo
I modified the file, try if it works for you. This is not the latest support file, this is a modified file from page 20 of this thread, but if you add these few lines to the latest qtdragon support file, it will work too.

        self.path_images = os.path.join(PATH.CONFIGPATH, "images/")

                command1 = "[{}]".format(self.reload_tool)
                self.w.lbl_tool_image.setPixmap(QtGui.QPixmap(self.path_images + str(command1) + ".png"))

               self.w.lbl_tool_image.setPixmap(QtGui.QPixmap(self.path_images + str(checked) + ".png"))

You will easily find where to insert these lines.

There is also a change of file location.
The tool image files should now be located in the root of the machine under the images directory.
So create an images directory and copy the png files there
e.g. /home/marko/linuxcnc/configs/sim.qtvcp_screens.qtdragon-5/images




 

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

More
3 years 2 months ago #278731 by chrisfairbrother
Yes that is correct

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

More
3 years 2 months ago #278759 by chrisfairbrothern
Thank you for your prompt response. It works as intended. I now have to create all my tool images:)
 

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

More
3 years 2 months ago #278818 by MarkoPolo
A bit of modification to the tool_offsetview.py file and you can also get the images in the tool table, but for now you need a separate set of horizontal files 
The following user(s) said Thank You: chrisfairbrother, besriworld

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

More
3 years 2 months ago #278902 by chrisfairbrother
Excellent. I will try this next week when I am back home,

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

More
3 years 2 months ago #279462 by chrisfairbrothern
I do not appear to have a tool_offsetview.py file? Can I please ask you to upload it with your tooltable image mod please
Chris

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

Time to create page: 0.330 seconds
Powered by Kunena Forum