hey guys, im using PyQt4 and i have created a grid of rectangles using the QPainter:
painter = QtGui.QPainter(self)
painter.drawRect(Ypos, Xpos, square_width, square_height)
its nothing fancy, it just does the job for now.
my question is simply is it possible to store a different string (im going to use it to store names for now) in each painted square, right click and print the string for example?
im very new to PyQt4 and any examples would be much appreciated. thanks
matty
Bookmarks