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. How to generate a grid?
Forum Updated to NodeBB v4.3 + New Features

How to generate a grid?

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 487 Views
  • 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.
  • V Offline
    V Offline
    VBsFAN
    wrote on 9 Feb 2018, 00:50 last edited by VBsFAN 2 Sept 2018, 00:51
    #1

    Hi there,

    How would you generate a dot or line grid?
    You might have seen MS Paint or other graphics program which allows to to use grid. I was wondering how to generate such grid. Thanks

    Something like this link:
    https://halfapx.com/wp-content/uploads/2017/08/dotgrid_dark-1500x1500.jpg

    J 1 Reply Last reply 9 Feb 2018, 05:34
    0
    • V VBsFAN
      9 Feb 2018, 00:50

      Hi there,

      How would you generate a dot or line grid?
      You might have seen MS Paint or other graphics program which allows to to use grid. I was wondering how to generate such grid. Thanks

      Something like this link:
      https://halfapx.com/wp-content/uploads/2017/08/dotgrid_dark-1500x1500.jpg

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 9 Feb 2018, 05:34 last edited by
      #2

      @VBsFAN Well, draw the grid. Either create a picture containing this grid and draw the picture on the widget (you didn't actually say where you want to have this grid). Or override paintEvent and draw the grid manually.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      2

      1/2

      9 Feb 2018, 00:50

      • Login

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