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

List:       kde-panel-devel
Subject:    Re: Please review: Virtual keyboard plasmoid - Plasmaboard
From:       "Aaron J. Seigo" <aseigo () kde ! org>
Date:       2009-08-04 3:35:46
Message-ID: 200908032135.46762.aseigo () kde ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Monday 03 August 2009, Björn Ruberg wrote:
> popupPosition() does return a good position indeed. My problem was, that I
> did not get the Widget in front of the buttons. 

setZOrder

> And I couldn't draw it
> outside of the keyboard, 

negative coordinates to go above or left, positive to go further than. don't 
add it to a layout or anything.

> top rows. One more (hard) wish: It must not "block" the press on the key
> behind it. Say I press "g" and a tooltip appears with "g" inside. That
> tooltip would be drawn in front of "t" and "y". But it MUST still be
> possible to hit "t" and "y" even if the tooltip is shown. (I think on a 7"
> screen you can type with ten fingers on plasmaboard. That's much faster
> than you can on iPhone)

that's fine; what you want is a plain QGraphicsItem then with some custom 
painting and just don't impement any of the mouse events. then the mouse 
events will go right through them.

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Qt Software

["signature.asc" (application/pgp-signature)]

_______________________________________________
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