Hello there,
I' m using KDE 3.2.1 and Qt 3.1.1 and I would change the icon from the KMainWindow. I tried QWidget::setIcon but nothing happend??
Hello there,
I' m using KDE 3.2.1 and Qt 3.1.1 and I would change the icon from the KMainWindow. I tried QWidget::setIcon but nothing happend??
Hello,
how do I set the icon in a QMainWindow (QT 3.3.1). setIcon didn't work??
Try this: http://doc.trolltech.com/3.3/appicon.html and please, don't start multiple threads regarding the same problem.
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