Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Drawing 2D Grid with scale
Forum Updated to NodeBB v4.3 + New Features

Drawing 2D Grid with scale

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 2.1k Views 1 Watching
  • 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 Offline
    B Offline
    bingo87
    wrote on last edited by
    #1

    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
    0
    • _ Offline
      _ Offline
      _rmn
      wrote on last edited by
      #2

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

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved