Displaying pictures on buttons

More
4 years 10 months ago #230467 by daiman444
Hello. I cannot figure out the problem of displaying pictures attached to ActionButtons. These pictures are displayed or not. how to do it correctly so that the pictures are guaranteed to be displayed?
 
This is what the interface looks like in QtDesigner:
 

This is what it looks like after loading the configuration
 

 

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

More
4 years 10 months ago #230481 by cmorley
is this
../../../Рабочий стол/test/img/zoomplus.png
really the path name?

<normaloff>../../../Рабочий стол/test/img/zoomplus.png</normaloff>../../../Рабочий стол/test/img/zoomplus.png</iconset>

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

More
4 years 10 months ago #230530 by daiman444
Greetings. relative path to image files: ./img. Full path to image files: /home/ddd/linuxcnc/configs/test/img/

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

More
4 years 10 months ago #230531 by cmorley
Well it looks like something went wrong as thats a pretty odd looking path.
Try editing the file to the right path and see what happens.
Make a back up though

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

More
4 years 9 months ago #230533 by daiman444
I attach an archive with a config. maybe someone will be able to suggest the right direction to find a solution to the problem

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

More
4 years 9 months ago #230544 by hottabich
Open any file with F12. qss or create your resource and style files. Take a close look at how this is done in qt_axis.

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

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