[Panel-devel] Superkaramba theme dialog

Petri Damsten petri.damsten at iki.fi
Wed Jun 1 07:01:26 CEST 2005


On Tuesday 31 May 2005 23:37, Aaron J. Seigo wrote:
> looking great =)
>
> what do you think about getting rid of the divider lines and using
> alternating background colours as in the Add Applet dialog?

Yes, that's better. I was just lazy, I made that with qt designer and gimp and 
alternating background colors were harder to 'implement'...

> also, you may wish to use KStdGuiItem::add() for the Add to Desktop button.
> here's the code i used in Add Applet (appletInstall is the Add button =):
>
>     KGuiItem addGuiItem = KStdGuiItem::add();
>     addGuiItem.setText(m_mainWidget->appletInstall->text());
>     m_mainWidget->appletInstall->setGuiItem(addGuiItem);
>
> the "search" lineedit in Add Applet is pretty trivial too: it's all of a
> dozen or so LOC. feel free to steal that code if you want.. it's in "void
> AddAppletDialog::search(const QString &s)" in
> kdebase/kicker/ui/addapplet.cpp =)

Thanks, I'll try to use as much code as possible from there.

Petri
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/panel-devel/attachments/20050601/5927bd93/attachment.pgp


More information about the Panel-devel mailing list