[mythtv] Mouse events in MyThemedDialog

thor mythtv at lamedomainname.com
Fri May 7 03:46:45 EDT 2004


On Thu, 2004-05-06 at 07:53, Martin van Es wrote:
> Hi,
> 
> I'm fidling with mouse support in MythTV since I want to use MythTV on a
> Touchscreen eventually.
> I found some patches and remarks in the archives and decided to dive into to
> code myself, knowing this might be a little far fetched for a Qt newbie :)
> 
> Anyway, using Mikael's (October 30, 2003) patch and Thor's advice I found in
> the dev-archives I was able to code mouse support on the ThemedMenu
> level/object (Yay!)
> 
> The MythThemedDialog object gives me headaches however.

	There's almost no notion of focus in MythThemedDialog (and myth UI*Type
"widgets"), so doing this well would require some work.

	You should be able to inherit mousePressEvents in MythThemedDialog, and
at least get the event. If that doesn't work, there's something a bit
odd going on.

- thor




More information about the mythtv-dev mailing list