示例#1
0
 def fullscreen(self):
     self.hide()
     self.__restore()
     desktop = QtGui.QDesktopWidget()
     self.record_config = rconfig(r(0, 0, desktop.width(), desktop.height()))
     file_name = str(self.lineEdit.text())
     if file_name != "":
         self.record_config.saveto = file_name
         self.__folder = os.path.dirname(file_name)
     self._record_control.set_config(self.record_config)
     self._record_control.exec_()
     self.__save()
     self.show()
示例#2
0
 def get_range(self):
     self.exec_()
     g = self.geometry()
     return rconfig(r(g.x(), g.y(), g.width(), g.height()))