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

List:       kde-panel-devel
Subject:    Re: applet browser window: the widgets
From:       Ana_Cecília_Martins_Barbosa <anaceciliamb () gmail ! com>
Date:       2009-06-29 14:45:25
Message-ID: df42ce2e0906290745t59a9bf29g9a4fc346949168d () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


:)

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.


Didn't know! My mistake.
Or did I know?!

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.


Yeah, I did that cause I wanted the button to have the same svg background
as everybody else - so I did this ManageWidgetsPushButton that subclasses
StandardCustomWidget and put a KPushButton in there. I tried to make the
button transparent, but didn't succeed... =/
Does the Plasma::PushButton uses the svg background or is it just going to
look a bit different from everyone else? That's ok! But we actually still
don't know where to put this tricky button, right?!

AppletsListSearch should just be a Plasma::LineEdit.


Should _be_ or should _have_? Cause now AppletsListSearch has a AppletsList
and a KLineEdit. Did you see that?! It comes all together: the search box
and the list...
I'll change the K for a Plasma:: on the KLineEdit then :)

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


Well, it isn't but it has one!  It subclasses StandardCustomWidget, to have
the svg background, and inside it, it has a Plasma::TreeView, taking the
model and everything (pretty useful, btw :).

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


I don't know why, actually. :P
I'll put that :)

[Attachment #5 (text/html)]

> )<br><div class="gmail_quote"><br><blockquote class="gmail_quote" \
> style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; \
> padding-left: 1ex;">i can see the point of that.<br>
however, we already have Plasma::SvgWidget that does exactly what that is.<br>
<br>
recommendation: drop StandardCustomWidget. use \
Plasma::SvgWidget.</blockquote><div><br>Didn&#39;t know! My mistake. <br>Or did I \
know?! <br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid \
rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

there is ManageWidgetsPushButton, which subclass StandardCustomWidget. just<br>
use Plasma::PushButton instead. it can do everything you need and will fit<br>
into the rest of plasma much better.</blockquote><div><br>Yeah, I did that cause I \
wanted the button to have the same svg background as everybody else - so I did this \
ManageWidgetsPushButton that subclasses StandardCustomWidget and put a KPushButton in \
there. I tried to make the button transparent, but didn&#39;t succeed... =/ <br> Does \
the Plasma::PushButton uses the svg background or is it just going to look a bit \
different from everyone else? That&#39;s ok! But we actually still don&#39;t know \
where to put this tricky button, right?!<br><br></div> <blockquote \
class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt \
0pt 0.8ex; padding-left: 1ex;"> AppletsListSearch should just be a \
Plasma::LineEdit.</blockquote><div><br>Should _be_ or should _have_? Cause now \
AppletsListSearch has a AppletsList and a KLineEdit. Did you see that?! It comes all \
together: the search box and the list... <br> I&#39;ll change the K for a Plasma:: on \
the KLineEdit then :) <br><br></div><blockquote class="gmail_quote" \
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; \
padding-left: 1ex;"> FilteringList should probably be a Plasma::TreeView. it takes a \
model, too :)</blockquote><div><br>Well, it isn&#39;t but it has one!  It subclasses \
StandardCustomWidget, to have the svg background, and inside it, it has a \
Plasma::TreeView, taking the model and everything (pretty useful, btw :).<br> \
<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, \
204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> AppletsList (no Widget at the \
end of that name? :)</blockquote><div><br>I don&#39;t know why, actually. :P \
<br>I&#39;ll put that :)<br><br><br></div></div><br>



_______________________________________________
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