Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Zoom Cursor



  • Dear All:

    I am creating an application that plot some scientific data and I need to make zoom in the plots. I would like to be able to change the cursor to something that give the intended operation.

    The question I have is that somebody know how to create a Zoom In and Zoom out Cursor?

    All the best and thanks for any help
    Ernesto


  • Lifetime Qt Champion

    Hi and welcome to devnet,

    If you mean replace your current cursor with e.g. a magnifying glass then you'll be interested by QCursor

    Hope it helps



  • Hi:

    I went there but there is no magnifying glass predefine. How I can create one?

    Best and thanks very much
    Ernesto


  • Lifetime Qt Champion

    You can either buy or download an icon set that contains a magnifying glass to your liking and use that one (don't forget to acknowledge the author's work in your software)


Log in to reply