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

Drawing 2D Grid with scale



  • Hello everyone,

    i am writing an application with Qt for painting lines and rectangles, i am using QGraphicsScene/QGraphicsView for it. I need to add a 2 dimension grid wich a scale wich can change if i make a zoom on the scene.

    I downloaded Qwt and see their examples, pretty cool but i want to know if there is another way without Qwt.

    Thanks in Advance.



  • Hi.
    You can paint directly at QGraphicsScene. And zoom by reimplementing acceptable event handler at QGraphicsView.


Log in to reply