Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/t/u/Turpial-HEAD/turpial/ui/qt/imageview.py   Turpial(Download)
    def __clear(self):
        self.resize(350, 350)
        self.view.setPixmap(QPixmap())
 
    def closeEvent(self, event):
        self.view.setPixmap(pix)
        self.view.adjustSize()
        self.resize(pix.width() + 2, pix.height() + 2)
        self.show()