[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-panel-devel
Subject: Re: Review Request: Adapt Device Notifier to PopupApplet
From: "Loic Marteau" <loic.marteau () gmail ! com>
Date: 2008-07-27 0:21:09
Message-ID: 20080727002109.32664.98515 () vidsolbach ! de
[Download RAW message or body]
> On 2008-07-26 09:17:45, Marco Martin wrote:
> > about putting plasma::Dialog into the desktop there would be only one problem:
> > this applet would be forced to have no background and reimplementations of \
> > popupapplet can not change its own background hints and on desktop the dialog svg \
> > would be displayed. what i would do is:
> > use this patch nearly as is, but add a method (private with popupapplet friend?) \
> > to Plasma::dialog to disable its own background, so would still be popupapplet to \
> > draw the background. would this cause other problems?
here is an update of the patch who try to *begin* to deal with QGraphicsWidget
the idea is to provide function like this :
void PopupApplet::setExclusivePopupWidget(QWidget *widget)
void PopupApplet::setExclusivePopupGraphicsWidget(QGraphicsWidget *widget)
so we can use one of them at our convenience.
This is only a draft and for the moment dont work well with calculator.
I have to know if it is interesting to continue on work on this.
Perhaps we have to provide a graphicsDialog in Plasma to deal more easily with the \
popup stuff with GraphicsWidget ?!
- Loic
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard.vidsolbach.de/r/109/#review86
-----------------------------------------------------------
On 2008-07-26 08:56:10, Loic Marteau wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://reviewboard.vidsolbach.de/r/109/
> -----------------------------------------------------------
>
> (Updated 2008-07-26 08:56:10)
>
>
> Review request for Plasma.
>
>
> Summary
> -------
>
> Here is a patch to adapt Device Notifier to use Plasma::PopupApplet.
>
> I have add some timer stuff in popupApplet so we can say how time we want popup the \
> applet in panel.
> I have change a little the way popupApplet work on Desktop mode by using the same \
> Plasma::dialog widget than we use in Panel Mode. Perhaps it is not a good idea ?!
>
> If we prefer not using Plasma:Dialog in Desktop mode i have to found a correct way \
> to use the plasma theme inside the proxyWidget, which is not the case in the actual \
> code.
>
> Diffs
> -----
>
> /trunk/KDE/kdebase/workspace/libs/plasma/popupapplet.h
> /trunk/KDE/kdebase/workspace/libs/plasma/popupapplet.cpp
> /trunk/KDE/kdebase/workspace/plasma/applets/devicenotifier/devicenotifier.h
> /trunk/KDE/kdebase/workspace/plasma/applets/devicenotifier/devicenotifier.cpp
>
> Diff: http://reviewboard.vidsolbach.de/r/109/diff
>
>
> Testing
> -------
>
>
> Thanks,
>
> Loic
>
>
_______________________________________________
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