标签: python pyqt5 pyqt4
我需要在PyQt4中使用Vector,但不幸的是,PyQt4不包含它:
rects = QVector(region.rects()) data = QVector(); for rect in rects.count(): r = QRect(rect) data << r.x() << r.y() << r.width() << r.height()