styled dialogs for pa
Martin Gräßlin
mgraesslin at kde.org
Mon Jan 9 20:14:20 UTC 2012
On Monday 09 January 2012 20:49:48 Marco Martin wrote:
> On Monday 09 January 2012, Martin Gräßlin wrote:
> > this could be done quite simple in KWin using the sliding popups effect.
> > The only required change would be to darken the screen and closing the
> > window during the animation if there is a click on the background.
> > Everything rather easily doable :-) And yes from performance point of few
> > it should be much easier as at least the transparency comes for free and
> > is always using OpenGL.
> >
> > This reminds me to get the JavaScript bindings for effects in place as I
> > would prefer to have the form factor specifications in different
> > JavaScripts instead of C++ :-)
>
> want to see how the current one performs on the device, would be possible to
> be a bit more flexible in the behavior.
>
> that said, i think there is a 99% chance it won't just be enough and kwin
> has to be used.
>
> so what would e needed is:
> * is the current animation of slidingpopups ok? it would need to scroll from
> the edge of the screen rather that appear from a certain point and be
> clipped, not sure if it can already do that?
sure, used by e.g. Yakuake or auto-hidden panels
>
> * dimmed background: this would be another effect? atm it can do that for
> modal dialogs, not sure if this is what we need
dimming background is easy - we can do that in sliding popups (10 lines of
code or something like that)
>
> * click background to dismiss: could this be done by kwin as well when
> clicked in the darkened background?
sure, also something like 10 lines of code to be added to sliding popups
>
> anyways I think in the end i'll have to continue to use a crazy c++ wrapping
> of the dialog qml component like now, to not bind in a public api things
> that should really not be available to stuff like qml plasmoids ;)
>
> Cheers,
> Marco Martin
> _______________________________________________
> Active mailing list
> Active at kde.org
> https://mail.kde.org/mailman/listinfo/active
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/active/attachments/20120109/529a1a45/attachment-0001.sig>
More information about the Active
mailing list