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

List:       kde-panel-devel
Subject:    Re: Why rotate widgets?
From:       Anton Kreuzkamp <akreuzkamp () web ! de>
Date:       2010-09-07 21:31:51
Message-ID: 201009072331.52282.akreuzkamp () web ! de
[Download RAW message or body]

The problem by that is that in perspective transformation you can't simply 
turn it, but you need a vanishing point. Currently QTransform has a method to 
rotate by the X- and Y-Axis but it sets the Y-coordinate automatically to 0 
(relative to the widgets top) and so the 3D-effect isn't really convincing...
So you see a GUI for that wouldn't be as simple as rotating...

At the moment my method has the arguments axis (I'm still wondering how to use 
something like Qt::Axis) and the x- and y-coordinates of the vanishing point.
The next step will be to retransform it on moving (I've still not found the 
right place the moving is done in plasma).
Would be great if someone could answer these questions :)
_______________________________________________
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