0

Can any one help me in drawing simple 2D sin wave plot in Qt using QGraphicsView? after some googling i found some info here Using Qt To Draw the Graph of Sin(x). but i am restricted to use only QGraphicsView without Qpainter.Thanks

Community
  • 1
  • 1
vishnu
  • 363
  • 3
  • 20
  • Why not using mature plotting tools like QCustomPLot? – Nejat May 06 '14 at 16:57
  • yeah you are right but my task is to restricted to QGraphicsview – vishnu May 06 '14 at 18:26
  • You should really add more information on why you are restricted to only using QGraphicsView. You can use OpenGL for drawing. You could plot points using other QGraphicsItems. It's unclear what you really need and why. Aside from explaining the requirements better, the rest is basic trigonometry. – redteam316 May 07 '14 at 06:54
  • "only QGraphicsView without Qpainter" : Why can't you use QPainter? QGraphicsView, QGraphicsItems and QWidgets all use QPainter to render. What do you mean you can't use QPainter? – TheDarkKnight May 07 '14 at 12:48

0 Answers0