[maemo-developers] Qt/hildon input integration ?

From: Attila Csipa maemo at csipa.in.rs
Date: Thu May 21 14:56:56 EEST 2009
On Thursday 21 May 2009 12:35:09 David Greaves wrote:
> > I have a qgview that
> > contains HTML formatted *non-editable* items (QGraphicsTextItem), but
> > when people select/focus them, the bar pops up which is somewhat
> > unexpected/annoying.
>
> Tell me about it :)
>
> It is triggered by a mouse-release event; I am thinking about how to fix
> that.
>
> My thoughts are that it should really be triggered by some kind of
> focus/cursor-set event (is there one?)

Well, I'm using QGraphicsItem::ItemSelectedChange and that's what brings it 
in... IMO The logical target for poking (in the case of graphicsitems) seems 
to be

Qt::TextInteractionFlags QGraphicsTextItem::textInteractionFlags () const

as that is what really determines how the text items (should) behave...

PS moving to qt4-devel only after this one.


More information about the maemo-developers mailing list