[vtkusers] Custom cursor shapes

Enzo Matsumiya enzo.matsumiya at gmail.com
Thu Jun 30 09:25:24 EDT 2016


David, I am using Qt.
Daniel, what type is your myVTKPanel?

I have my visualization stack as a separate dynamic library. When I set the cursor on the application's mainwindow,
it works fine, but the cursor will be the one I chose in every portion of the app.

I tried setting the cursor to my QVTKWidget (within my library) to create the "mouse over" feeling which, I think, should activate
such cursor only when within its bounds. But it didn't work.

Now I don't know if I should take it to Qt's side or if it's indeed within VTK.


Thanks!


> On Jun 30, 2016, at 04:16, -Daniel- <ich_daniel at habmalnefrage.de> wrote:
> 
> Hi Enzo,
> 
> I'm using Java, where I added my own cursor as follows:
> Cursor c = Toolkit.getDefaultToolkit().createCustomCursor(
>     CursorImageAsGIF, new Point(10,10), "Cursorname" );
> myVTKPanel.setCursor(c);
> 
> Maybe it helps you...
> 
> 
> 
> 
> --
> View this message in context: http://vtk.1045678.n5.nabble.com/Custom-cursor-shapes-tp5738967p5739006.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> Powered by www.kitware.com
> 
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
> 
> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> 
> Search the list archives at: http://markmail.org/search/?q=vtkusers
> 
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160630/d10b1281/attachment.html>


More information about the vtkusers mailing list