def __init__(self, parent):
    super(StartDialog, self).__init__()
    uic.loadUi(_ST_DLG, self)
    self.hideText()
    self.index = 0
    self.labels = [self.label01, self.label02, self.label03, self.label04, self.label05, self.label06]
    self.timer = QTimer()
    self.timer.timeout.connect(self.serialText)
    self.timer.start(1060)
    self.setWindowModality(Qt.ApplicationModal)
    self.exec_()
def __init__(self, parent):
    super(StartDialog, self).__init__()
    uic.loadUi(_ST_DLG, self)
    self.hideText()
    self.index = 0
    self.labels = [self.label01, self.label02, self.label03, self.label04, self.label05, self.label06]
    self.timer = QTimer()
    self.timer.timeout.connect(self.serialText)
    self.timer.start(1060)
    self.setWindowModality(Qt.ApplicationModal)
    self.exec_()