[Qt-interest] toolbar buttons and their icon

techsgin techsgin at gmail.com
Tue Feb 17 23:12:27 CET 2009


Hi there

 

1) Verify that you have added your icon to the resource file.

2) Verify that you have selected the icon from the resource and not from the
disk (file system).

 

Hope that helps

TechSgin

 

 

  _____  

From: qt-interest-bounces at trolltech.com
[mailto:qt-interest-bounces at trolltech.com] On Behalf Of Giancarlo Amati
Sent: Thursday, February 12, 2009 13:15 PM
To: qt-interest at trolltech.com
Subject: [Qt-interest] toolbar buttons and their icon

 

Hello Everybody,

i'm designing my main window with QTDesigner and i have created a toolbar
with just one button, in this way:

1) an Action has been created with its relative ICON
2) I drag that action over the toolbar space to make the button on it.

now. I save everthing and compile with UIC producing the .h header file to
in clude in my software.
Now, the problem is that when I build it up and execute, the icon image
doesn't appear at all but only the written part of the button.

how comes?

Kind regards.
Giancarlo

  _____  

Scopri le novità di Spaces! Blog,
<http://home.spaces.live.com/?showUnauth=1&lc=1040>  foto, amici
 e molto
altro!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090218/a59630d5/attachment.html 


More information about the Qt-interest-old mailing list