[Qt-interest] newbe alert - I am trying to convert plotting from C# to QT4
Doug Stewart
doug.dastew at gmail.com
Tue Apr 12 17:45:54 CEST 2011
I am just learning QT4 and want to do a plotting program in qt4 similar to
the one I have running in C#
In C# I have a Panel added to a Form and I do all the drawing on this panel.
In C# when I double click on the Panel it makes a function called
Panel_paint.. etc.
Panel_paint gets called whenever It needs refreshed (from the OS or from an
Invalidate call).
I then put inside Panel_paint all the code to read an array and use the
line_draw function to plot the graph.
Now in qt-creator I am trying to do the same steps
- I can't fined a Panel
- I did find graphicView but am not sure how to use it
-I also see slot and select a signal but nothing for painting!
Could some one help me get to the point where I can plot an array full of
numbers?
Once I get past this hurdle The rest of QT4 looks fairly smooth sailing!
Doug Stewart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110412/61c84e36/attachment.html
More information about the Qt-interest-old
mailing list