SystemTray: pop-up window position

Aaron J. Seigo aseigo at kde.org
Sat Nov 17 11:19:07 UTC 2012


On Friday, November 16, 2012 18:57:17 Dmitry A. Ashkadov wrote:
> 2. At center:

this has been the standard alignment for several releases for popups. it looks 
nice, minimizes mouse movement, etc.

Corona::popupPosition calculates this for you, so if you use that function it 
should all be good.

what may be missing in the QML bindings is a way to access that function, and 
it is not great if one has to write C++ just to figure out where something 
should popup.

my proposal is to add a plasmoid.popupPosition(popupFromItem, itemToPopup, 
alignment) function .. thoughts?

-- 
Aaron J. Seigo
-------------- 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/plasma-devel/attachments/20121117/028be076/attachment.sig>


More information about the Plasma-devel mailing list