[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    [PATCH] icon support how to go further? 2nd try
From:       Holger Freyther <freyther () gmx ! net>(by way of Holger Freyther <freyther () gmx ! net>)
Date:       2001-11-11 0:01:00
[Download RAW message or body]


Hi core, all,
I started adding icon support for buttons kdialogbase and in kmessagebox. I
would consider KDialogBase kind of done. But currently I'm concerned with
KmessageBox. Currently I'm add to question*/warning* and question*Pix and
warning*Pix function. They share all code as they did before. I don't know if
adding thes Pix functions is good/welcome.
I thought of a different approach we could add the QPixmap parameters at the
end of every function they will be initialized with a zeroPixmap (QPixmap() )
and then there will be  a option in Kconfig if icons should be shown on
messageboxes or not. Then KMessageBox will choose the right icons and display
them on the buttons. If an application wants to use custom icons they can
specify them. Dependent on the config option we will show this icon or not.
I would like to hear comments and which way I/we should go. This item is on
the feature list.
	regards Holger

PS: There are no icons in kde for those options I took gnome icons and
resized them to 16x16 and copied them manually into the icon folder
--
Kwebsuite http://kwebsuite.sf.net Holger Freyther alias zecke(123)
freyther@yahoo.com
freyther@gmx.net



["icon_support.tar.gz" (application/x-gzip)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic