--i have run the example gridview at http://www.ida.liu.se/~TDDB28/kursbi...ples/gridview/
-> it run ok. But it just run on widget.
How can i use class QGridView on canvasview?
--i have run the example gridview at http://www.ida.liu.se/~TDDB28/kursbi...ples/gridview/
-> it run ok. But it just run on widget.
How can i use class QGridView on canvasview?
You can, for example, implement an item that will draw the grid on the canvas.
how can i do? please say more detail . thank for your help!.
Would you please give me some examples about that. thanks so much!
You need to implement a subclass of QCanvasItem and draw the grid there the same way the "gridview" app does that on a widget. Please take a look at QCanvas docs for details and examples.
http://doc.trolltech.com/3.3/canvas.html
Bookmarks