def initComponents(self):
        self.__settingsWindow = SettingsWindow()
        self.__resultWindow = ResultWindow()
        self.__displayWindow = DisplayWindow()
        self.__reviseWindow = ReviseWindow()

        self.__layout = QGridLayout()
    def __init__(self):
        super().__init__()
        self.title = "Precorder Extractor"
        self.tray_icon_path = os.path.join(base_dir, 'views', 'static', 'circle.png')
        self.app_icon_path = os.path.join(base_dir, 'views', 'static', 'circle.png')
        self.width = config.windowWidth
        self.height = config.windowHeight
        self.currentWidth = self.width
        self.currentHeight = self.height
        self.currentCP = QPoint(0, 0)
        self.screenSize = QDesktopWidget().screenGeometry(-1)
        self.current_epg = {}
        self.current_epg_obj = None
        self.custom_epg = False
        self.child_epg = None
        self.child_position = None
        self.updateCurrentPosition = 0
        self.updateOldPosition = 0
        self.vlc_media_buffering_state = False
        self.updateStep = config.updateStep
        self.bufferValue = config.bufferValue
        self.waitingFramePath = config.lastFramePath
        self.timePostitonSecond = 0
        self.listExtractingPlayers = []
        self.listStoringPlayers = []
        self.updateWindowState = False
        self.media_state = False
        self.settingsWindow = SettingsWindow()
        self.logsWindow = LogsWindow()

        self.initLabels()
        self.initVLC()
        self.registerObj()
        self.initUI()
Exemple #3
0
 def show_settings(self, widget):
     settings = SettingsWindow(self._app)
     settings.show()