Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct


    Qt World Summit: Early-Bird Tickets

    Drawing 2D Grid with scale

    General and Desktop
    2
    2
    1919
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      bingo87 last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • _
        _rmn last edited by

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

        1 Reply Last reply Reply Quote 0
        • First post
          Last post