Problems with Open-Source Downloads read https://www.qt.io/blog/problem-with-open-source-downloads and https://forum.qt.io/post/638946

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