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 a circle on a QGraphicsview with opengl
Forum Update on Monday, May 27th 2025

Drawing a circle on a QGraphicsview with opengl

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 1.2k 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.
  • L Offline
    L Offline
    lucad93
    wrote on last edited by
    #1

    I think this topic could be found easily on google, and I found it, but I understood nothing. I just need a simple example in which i click on a button, and a rectangle appears on a graphicsscene. I'm just learning c++ on QT creator, but I can't find complete and fully explained code samples. Could you please help me? Thankyou

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Did you took a look at the summary of the module ?

      By the way something's not clear: in your title you talk about a circle and in your question you talk about a rectangle, which is it ?

      For the first one: addElipse and for the second addRect.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      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