ビューのアイテムを消す
2017/01/14
Python2.7.10, PyQt4.11.3
class MyScene(QtGui.QGraphicsScene):
def clear(self):
for item in self.items():
self.removeItem(item)
2017/01/14
Python2.7.10, PyQt4.11.3
class MyScene(QtGui.QGraphicsScene):
def clear(self):
for item in self.items():
self.removeItem(item)