[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Traverso-devel] Fixed cursor position during hold action
From: |
Nicola Doebelin |
Subject: |
Re: [Traverso-devel] Fixed cursor position during hold action |
Date: |
Tue, 17 Oct 2006 21:29:20 +0200 |
User-agent: |
KMail/1.9.3 |
Am Dienstag, 17. Oktober 2006 21:25 schrieb Remon Sijrier:
> > A simple, dirty, yet effective solution ;-) :
>
> Hehe, I thought I was the only one to come up with something like this :-)
>
> Though I'm not sure if you know a function to make it invisible?
QWidget::setCursor(Qt::BlankCursor);
and QWidget::unsetCursor() to restore it.
> I've created an empty transparent pixmap for this some 5 minutes ago, and
> that works lovely :-)
>
> But I do like the 'mouse gesture' cursor shapes, so what about extending
> this ugly hack by adding a 'FakeCursor' ViewItem which stays at the start
> point of the hold action?
> Shouldn't be to hard to add..., and we can add very lovely cursors, since
> we can use any program to make the png's ;-)
Yes, I thought about this as well, but I didn't want to make the solution even
dirtier... But I'm glad you like it.
Cheers
Nic