When drawing a rounded rectangle then applying it as the windows shape using
Code:
def resizeEvent(self, event): pixmap.fill(QtCore.Qt.transparent) painter.setBrush(QtCore.Qt.black) painter.drawRoundedRect(pixmap.rect(), 8, 8) painter.end() self.setMask(pixmap.mask())
It comes out very poor quality, and it seems that I should be using OPENGl or is there is a way to have it set to HighQualityAntialiasing