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

List:       kde-panel-devel
Subject:    applet browser window: the widgets
From:       "Aaron J. Seigo" <aseigo () kde ! org>
Date:       2009-06-28 23:07:47
Message-ID: 200906281707.48227.aseigo () kde ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


hi ...

so, next topic: the actually icon that shows an applet. there currently is a 
QGraphicsWidget that represents an applet. this is great :)

however, the code has fallen into the "make it all generic with a hierarchy of 
classes!" trap :) there's StandardCustomWidget. i can see the point of that. 
however, we already have Plasma::SvgWidget that does exactly what that is. 

recommendation: drop StandardCustomWidget. use Plasma::SvgWidget.

there is ManageWidgetsPushButton, which subclass StandardCustomWidget. just 
use Plasma::PushButton instead. it can do everything you need and will fit 
into the rest of plasma much better.

AppletsListSearch should just be a Plasma::LineEdit.

FilteringList should probably be a Plasma::TreeView. it takes a model, too :)

this leaves us with:

AppletsList (no Widget at the end of that name? :)
AppletInfoWidget
AppletIconWidget

that should be the minimal set we need. thoughts?

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Qt Software


["signature.asc" (application/pgp-signature)]

_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


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

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