|
|
On Fri, 2005-02-11 at 09:39 -0800, Hendrik Greving wrote:
> Hi folks,
>
> i was asking that question a couple of days before, but haven't got an
> idea. Apologize that I try to ask that one more time. I like to create a
> widget which behaves simlar to e.g. vmware. If you click into it, the
> mouse should be captured within the widget. I do that by grabMouse() and
> set the mouse back to the widget border if the cursor is dragged
> outside the widget. That works, but unfortunately, you can see the
> cursor outside the widget before the new coordinates are being set. It
> looks grubby if the cursor bounces at the outside frame of the widget.
> Do you have an idea to make it more comfortable?
Hide the cursor and draw your own? I think that's what most such apps
do...
--
Craig Ringer
--
List archive and information: http://lists.trolltech.com/qt-interest/
|
|