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

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

src/p/y/pyqt5-HEAD/examples/mainwindows/sdi/sdi.py   pyqt5(Download)
    def readSettings(self):
        settings = QSettings('Trolltech', 'SDI Example')
        pos = settings.value('pos', QPoint(200, 200))
        size = settings.value('size', QSize(400, 400))
        self.move(pos)

src/p/y/pyqt5-HEAD/examples/mainwindows/application/application.py   pyqt5(Download)
        size = settings.value("size", QSize(400, 400))
        self.resize(size)
        self.move(pos)
 
    def writeSettings(self):

src/p/y/pyqt5-HEAD/examples/mainwindows/mdi/mdi.py   pyqt5(Download)
    def readSettings(self):
        settings = QSettings('Trolltech', 'MDI Example')
        pos = settings.value('pos', QPoint(200, 200))
        size = settings.value('size', QSize(400, 400))
        self.move(pos)