Is there another way to to it in the code (like setIcon() function ). I don't understand the way discribed in that document?! THX
Is there another way to to it in the code (like setIcon() function ). I don't understand the way discribed in that document?! THX
Last edited by cpepe; 1st March 2006 at 13:48.
What does QWidget::icon() return after you set the icon with QWidget::setIcon()? How do you create the pixmap that will be the icon?
First: If I use the same code on a QLabel it shows the right icon.
Second: setIcon( QPixmap( "/home/cpepe/Desktop/opencase-1.0/icons/32x32/blockdevice.png" ) );
The Icon of the Dialogs witch opens as childs from QMainWindow has the new (Application-) Icon, if I set it with setIcon().
Ok, I've done a little research and I think you should try KWin::setIcons().
Bookmarks