text: # -*- coding: utf-8 -*-
  
  # Form implementation generated from reading ui file 'timer.ui'
  #
  # Created by: PyQt5 UI code generator 5.13.2
  #
  # WARNING! All changes made in this file will be lost!
  
  
  from PyQt5 import QtCore, QtGui, QtWidgets, QtTest
  
  
  class Ui_time(object):
      def setupUi(self, time):
          time.setObjectName("time")
          time.resize(421, 197)
          time.setMinimumSize(QtCore.QSize(421, 197))
          time.setMaximumSize(QtCore.QSize(421, 197))
          palette = QtGui.QPalette()
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.WindowText, brush)
          brush = QtGui.QBrush(QtGui.QColor(254, 169, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Button, brush)
          brush = QtGui.QBrush(QtGui.QColor(255, 212, 126))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Light, brush)
          brush = QtGui.QBrush(QtGui.QColor(254, 190, 63))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Midlight, brush)
          brush = QtGui.QBrush(QtGui.QColor(127, 84, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Dark, brush)
          brush = QtGui.QBrush(QtGui.QColor(169, 113, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Mid, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Text, brush)
          brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.BrightText, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.ButtonText, brush)
          brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush)
          brush = QtGui.QBrush(QtGui.QColor(254, 169, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Window, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Shadow, brush)
          brush = QtGui.QBrush(QtGui.QColor(254, 212, 127))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.AlternateBase, brush)
          brush = QtGui.QBrush(QtGui.QColor(255, 255, 220))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.ToolTipBase, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.ToolTipText, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0, 128))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.PlaceholderText, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.WindowText, brush)
          brush = QtGui.QBrush(QtGui.QColor(254, 169, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Button, brush)
          brush = QtGui.QBrush(QtGui.QColor(255, 212, 126))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Light, brush)
          brush = QtGui.QBrush(QtGui.QColor(254, 190, 63))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Midlight, brush)
          brush = QtGui.QBrush(QtGui.QColor(127, 84, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Dark, brush)
          brush = QtGui.QBrush(QtGui.QColor(169, 113, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Mid, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Text, brush)
          brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.BrightText, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.ButtonText, brush)
          brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush)
          brush = QtGui.QBrush(QtGui.QColor(254, 169, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Window, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Shadow, brush)
          brush = QtGui.QBrush(QtGui.QColor(254, 212, 127))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.AlternateBase, brush)
          brush = QtGui.QBrush(QtGui.QColor(255, 255, 220))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.ToolTipBase, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.ToolTipText, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0, 128))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.PlaceholderText, brush)
          brush = QtGui.QBrush(QtGui.QColor(127, 84, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.WindowText, brush)
          brush = QtGui.QBrush(QtGui.QColor(254, 169, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Button, brush)
          brush = QtGui.QBrush(QtGui.QColor(255, 212, 126))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Light, brush)
          brush = QtGui.QBrush(QtGui.QColor(254, 190, 63))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Midlight, brush)
          brush = QtGui.QBrush(QtGui.QColor(127, 84, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Dark, brush)
          brush = QtGui.QBrush(QtGui.QColor(169, 113, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Mid, brush)
          brush = QtGui.QBrush(QtGui.QColor(127, 84, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Text, brush)
          brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.BrightText, brush)
          brush = QtGui.QBrush(QtGui.QColor(127, 84, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.ButtonText, brush)
          brush = QtGui.QBrush(QtGui.QColor(254, 169, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush)
          brush = QtGui.QBrush(QtGui.QColor(254, 169, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Window, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Shadow, brush)
          brush = QtGui.QBrush(QtGui.QColor(254, 169, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.AlternateBase, brush)
          brush = QtGui.QBrush(QtGui.QColor(255, 255, 220))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.ToolTipBase, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.ToolTipText, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0, 128))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.PlaceholderText, brush)
          time.setPalette(palette)
          icon = QtGui.QIcon()
          icon.addPixmap(QtGui.QPixmap("../../Farm-Widgets/Farm-Widgets/android-chrome-512x512.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
          time.setWindowIcon(icon)
          self.gridLayout = QtWidgets.QGridLayout(time)
          self.gridLayout.setObjectName("gridLayout")
          self.horizontalLayout = QtWidgets.QHBoxLayout()
          self.horizontalLayout.setObjectName("horizontalLayout")
          self.verticalLayout = QtWidgets.QVBoxLayout()
          self.verticalLayout.setObjectName("verticalLayout")
          self.label = QtWidgets.QLabel(time)
          palette = QtGui.QPalette()
          brush = QtGui.QBrush(QtGui.QColor(170, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.WindowText, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Button, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Light, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Midlight, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Dark, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Mid, brush)
          brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Text, brush)
          brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.BrightText, brush)
          brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.ButtonText, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Window, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Shadow, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.AlternateBase, brush)
          brush = QtGui.QBrush(QtGui.QColor(255, 255, 220))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.ToolTipBase, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.ToolTipText, brush)
          brush = QtGui.QBrush(QtGui.QColor(255, 255, 255, 128))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.PlaceholderText, brush)
          brush = QtGui.QBrush(QtGui.QColor(170, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.WindowText, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Button, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Light, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Midlight, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Dark, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Mid, brush)
          brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Text, brush)
          brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.BrightText, brush)
          brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.ButtonText, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Window, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Shadow, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.AlternateBase, brush)
          brush = QtGui.QBrush(QtGui.QColor(255, 255, 220))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.ToolTipBase, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.ToolTipText, brush)
          brush = QtGui.QBrush(QtGui.QColor(255, 255, 255, 128))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.PlaceholderText, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.WindowText, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Button, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Light, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Midlight, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Dark, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Mid, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Text, brush)
          brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.BrightText, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.ButtonText, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Window, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Shadow, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.AlternateBase, brush)
          brush = QtGui.QBrush(QtGui.QColor(255, 255, 220))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.ToolTipBase, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.ToolTipText, brush)
          brush = QtGui.QBrush(QtGui.QColor(255, 255, 255, 128))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.PlaceholderText, brush)
          self.label.setPalette(palette)
          font = QtGui.QFont()
          font.setFamily("Comic Sans MS")
          font.setPointSize(14)
          font.setBold(False)
          font.setWeight(50)
          self.label.setFont(font)
          self.label.setAlignment(QtCore.Qt.AlignCenter)
          self.label.setObjectName("label")
          self.verticalLayout.addWidget(self.label)
          self.t1 = QtWidgets.QLineEdit(time)
          palette = QtGui.QPalette()
          brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Text, brush)
          brush = QtGui.QBrush(QtGui.QColor(40, 51, 80))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush)
          brush = QtGui.QBrush(QtGui.QColor(255, 255, 255, 128))
          brush.setStyle(QtCore.Qt.NoBrush)
          palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.PlaceholderText, brush)
          brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Text, brush)
          brush = QtGui.QBrush(QtGui.QColor(40, 51, 80))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush)
          brush = QtGui.QBrush(QtGui.QColor(255, 255, 255, 128))
          brush.setStyle(QtCore.Qt.NoBrush)
          palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.PlaceholderText, brush)
          brush = QtGui.QBrush(QtGui.QColor(124, 28, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Text, brush)
          brush = QtGui.QBrush(QtGui.QColor(249, 56, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush)
          brush = QtGui.QBrush(QtGui.QColor(255, 255, 255, 128))
          brush.setStyle(QtCore.Qt.NoBrush)
          palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.PlaceholderText, brush)
          self.t1.setPalette(palette)
          font = QtGui.QFont()
          font.setFamily("Ink Free")
          font.setPointSize(28)
          self.t1.setFont(font)
          self.t1.setAlignment(QtCore.Qt.AlignCenter)
          self.t1.setObjectName("t1")
          self.verticalLayout.addWidget(self.t1)
          self.horizontalLayout.addLayout(self.verticalLayout)
          self.label_4 = QtWidgets.QLabel(time)
          font = QtGui.QFont()
          font.setPointSize(33)
          self.label_4.setFont(font)
          self.label_4.setAlignment(QtCore.Qt.AlignCenter)
          self.label_4.setObjectName("label_4")
          self.horizontalLayout.addWidget(self.label_4)
          self.verticalLayout_2 = QtWidgets.QVBoxLayout()
          self.verticalLayout_2.setObjectName("verticalLayout_2")
          self.label_2 = QtWidgets.QLabel(time)
          palette = QtGui.QPalette()
          brush = QtGui.QBrush(QtGui.QColor(170, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.WindowText, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Button, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Light, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Midlight, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Dark, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Mid, brush)
          brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Text, brush)
          brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.BrightText, brush)
          brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.ButtonText, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Window, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Shadow, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.AlternateBase, brush)
          brush = QtGui.QBrush(QtGui.QColor(255, 255, 220))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.ToolTipBase, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.ToolTipText, brush)
          brush = QtGui.QBrush(QtGui.QColor(255, 255, 255, 128))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.PlaceholderText, brush)
          brush = QtGui.QBrush(QtGui.QColor(170, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.WindowText, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Button, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Light, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Midlight, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Dark, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Mid, brush)
          brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Text, brush)
          brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.BrightText, brush)
          brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.ButtonText, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Window, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Shadow, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.AlternateBase, brush)
          brush = QtGui.QBrush(QtGui.QColor(255, 255, 220))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.ToolTipBase, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.ToolTipText, brush)
          brush = QtGui.QBrush(QtGui.QColor(255, 255, 255, 128))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.PlaceholderText, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.WindowText, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Button, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Light, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Midlight, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Dark, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Mid, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Text, brush)
          brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.BrightText, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.ButtonText, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Window, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Shadow, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.AlternateBase, brush)
          brush = QtGui.QBrush(QtGui.QColor(255, 255, 220))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.ToolTipBase, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.ToolTipText, brush)
          brush = QtGui.QBrush(QtGui.QColor(255, 255, 255, 128))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.PlaceholderText, brush)
          self.label_2.setPalette(palette)
          font = QtGui.QFont()
          font.setFamily("Comic Sans MS")
          font.setPointSize(14)
          font.setBold(False)
          font.setWeight(50)
          self.label_2.setFont(font)
          self.label_2.setAlignment(QtCore.Qt.AlignCenter)
          self.label_2.setObjectName("label_2")
          self.verticalLayout_2.addWidget(self.label_2)
          self.t2 = QtWidgets.QLineEdit(time)
          palette = QtGui.QPalette()
          brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Text, brush)
          brush = QtGui.QBrush(QtGui.QColor(40, 51, 80))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush)
          brush = QtGui.QBrush(QtGui.QColor(255, 255, 255, 128))
          brush.setStyle(QtCore.Qt.NoBrush)
          palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.PlaceholderText, brush)
          brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Text, brush)
          brush = QtGui.QBrush(QtGui.QColor(40, 51, 80))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush)
          brush = QtGui.QBrush(QtGui.QColor(255, 255, 255, 128))
          brush.setStyle(QtCore.Qt.NoBrush)
          palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.PlaceholderText, brush)
          brush = QtGui.QBrush(QtGui.QColor(124, 28, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Text, brush)
          brush = QtGui.QBrush(QtGui.QColor(249, 56, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush)
          brush = QtGui.QBrush(QtGui.QColor(255, 255, 255, 128))
          brush.setStyle(QtCore.Qt.NoBrush)
          palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.PlaceholderText, brush)
          self.t2.setPalette(palette)
          font = QtGui.QFont()
          font.setFamily("Ink Free")
          font.setPointSize(28)
          self.t2.setFont(font)
          self.t2.setAlignment(QtCore.Qt.AlignCenter)
          self.t2.setObjectName("t2")
          self.verticalLayout_2.addWidget(self.t2)
          self.horizontalLayout.addLayout(self.verticalLayout_2)
          self.label_5 = QtWidgets.QLabel(time)
          font = QtGui.QFont()
          font.setPointSize(33)
          self.label_5.setFont(font)
          self.label_5.setAlignment(QtCore.Qt.AlignCenter)
          self.label_5.setObjectName("label_5")
          self.horizontalLayout.addWidget(self.label_5)
          self.verticalLayout_3 = QtWidgets.QVBoxLayout()
          self.verticalLayout_3.setObjectName("verticalLayout_3")
          self.label_3 = QtWidgets.QLabel(time)
          palette = QtGui.QPalette()
          brush = QtGui.QBrush(QtGui.QColor(170, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.WindowText, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Button, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Light, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Midlight, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Dark, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Mid, brush)
          brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Text, brush)
          brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.BrightText, brush)
          brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.ButtonText, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Window, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Shadow, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.AlternateBase, brush)
          brush = QtGui.QBrush(QtGui.QColor(255, 255, 220))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.ToolTipBase, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.ToolTipText, brush)
          brush = QtGui.QBrush(QtGui.QColor(255, 255, 255, 128))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.PlaceholderText, brush)
          brush = QtGui.QBrush(QtGui.QColor(170, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.WindowText, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Button, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Light, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Midlight, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Dark, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Mid, brush)
          brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Text, brush)
          brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.BrightText, brush)
          brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.ButtonText, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Window, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Shadow, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.AlternateBase, brush)
          brush = QtGui.QBrush(QtGui.QColor(255, 255, 220))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.ToolTipBase, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.ToolTipText, brush)
          brush = QtGui.QBrush(QtGui.QColor(255, 255, 255, 128))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.PlaceholderText, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.WindowText, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Button, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Light, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Midlight, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Dark, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Mid, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Text, brush)
          brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.BrightText, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.ButtonText, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Window, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Shadow, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.AlternateBase, brush)
          brush = QtGui.QBrush(QtGui.QColor(255, 255, 220))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.ToolTipBase, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.ToolTipText, brush)
          brush = QtGui.QBrush(QtGui.QColor(255, 255, 255, 128))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.PlaceholderText, brush)
          self.label_3.setPalette(palette)
          font = QtGui.QFont()
          font.setFamily("Comic Sans MS")
          font.setPointSize(14)
          font.setBold(False)
          font.setWeight(50)
          self.label_3.setFont(font)
          self.label_3.setAlignment(QtCore.Qt.AlignCenter)
          self.label_3.setObjectName("label_3")
          self.verticalLayout_3.addWidget(self.label_3)
          self.t3 = QtWidgets.QLineEdit(time)
          palette = QtGui.QPalette()
          brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Text, brush)
          brush = QtGui.QBrush(QtGui.QColor(40, 51, 80))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush)
          brush = QtGui.QBrush(QtGui.QColor(255, 255, 255, 128))
          brush.setStyle(QtCore.Qt.NoBrush)
          palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.PlaceholderText, brush)
          brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Text, brush)
          brush = QtGui.QBrush(QtGui.QColor(40, 51, 80))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush)
          brush = QtGui.QBrush(QtGui.QColor(255, 255, 255, 128))
          brush.setStyle(QtCore.Qt.NoBrush)
          palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.PlaceholderText, brush)
          brush = QtGui.QBrush(QtGui.QColor(124, 28, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Text, brush)
          brush = QtGui.QBrush(QtGui.QColor(249, 56, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush)
          brush = QtGui.QBrush(QtGui.QColor(255, 255, 255, 128))
          brush.setStyle(QtCore.Qt.NoBrush)
          palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.PlaceholderText, brush)
          self.t3.setPalette(palette)
          font = QtGui.QFont()
          font.setFamily("Ink Free")
          font.setPointSize(28)
          self.t3.setFont(font)
          self.t3.setAlignment(QtCore.Qt.AlignCenter)
          self.t3.setObjectName("t3")
          self.verticalLayout_3.addWidget(self.t3)
          self.horizontalLayout.addLayout(self.verticalLayout_3)
          self.gridLayout.addLayout(self.horizontalLayout, 0, 0, 1, 1)
          self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
          self.horizontalLayout_2.setObjectName("horizontalLayout_2")
          self.b1 = QtWidgets.QPushButton(time)
          font = QtGui.QFont()
          font.setPointSize(13)
          self.b1.setFont(font)
          self.b1.setDefault(True)
          self.b1.setObjectName("b1")
          self.horizontalLayout_2.addWidget(self.b1)
          spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Minimum)
          self.horizontalLayout_2.addItem(spacerItem)
          self.b2 = QtWidgets.QPushButton(time)
          font = QtGui.QFont()
          font.setPointSize(13)
          self.b2.setFont(font)
          self.b2.setObjectName("b2")
          self.horizontalLayout_2.addWidget(self.b2)
          self.gridLayout.addLayout(self.horizontalLayout_2, 1, 0, 1, 1)
          self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
          self.horizontalLayout_3.setObjectName("horizontalLayout_3")
          self.t4 = QtWidgets.QLineEdit(time)
          sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Preferred)
          sizePolicy.setHorizontalStretch(0)
          sizePolicy.setVerticalStretch(0)
          sizePolicy.setHeightForWidth(self.t4.sizePolicy().hasHeightForWidth())
          self.t4.setSizePolicy(sizePolicy)
          palette = QtGui.QPalette()
          brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Text, brush)
          brush = QtGui.QBrush(QtGui.QColor(40, 51, 80))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush)
          brush = QtGui.QBrush(QtGui.QColor(255, 255, 255, 128))
          brush.setStyle(QtCore.Qt.NoBrush)
          palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.PlaceholderText, brush)
          brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Text, brush)
          brush = QtGui.QBrush(QtGui.QColor(40, 51, 80))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush)
          brush = QtGui.QBrush(QtGui.QColor(255, 255, 255, 128))
          brush.setStyle(QtCore.Qt.NoBrush)
          palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.PlaceholderText, brush)
          brush = QtGui.QBrush(QtGui.QColor(124, 28, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Text, brush)
          brush = QtGui.QBrush(QtGui.QColor(249, 56, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush)
          brush = QtGui.QBrush(QtGui.QColor(255, 255, 255, 128))
          brush.setStyle(QtCore.Qt.NoBrush)
          palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.PlaceholderText, brush)
          self.t4.setPalette(palette)
          font = QtGui.QFont()
          font.setFamily("Terminal")
          font.setPointSize(14)
          self.t4.setFont(font)
          self.t4.setAlignment(QtCore.Qt.AlignCenter)
          self.t4.setObjectName("t4")
          self.horizontalLayout_3.addWidget(self.t4)
          self.gridLayout.addLayout(self.horizontalLayout_3, 2, 0, 1, 1)
  
          self.b1.clicked.connect(self.start)
          self.b2.clicked.connect(self.reset)
  
          self.retranslateUi(time)
          QtCore.QMetaObject.connectSlotsByName(time)
  
      def reset(self):
          self.t1.setText('00')
          self.t2.setText('00')
          self.t3.setText('00')
          self.t4.setText('')
  
      def start(self):
          seconds = self.t3.text()
          minutes = self.t2.text()
          hours = self.t1.text()
          #
          s = int(seconds) - 1
          m = int(minutes)
          h = int(hours)
          #
          QtTest.QTest.qWait(800)
          # QtTest.QTest.qWait(1000) -> works same as time.sleep(1)
          #print(s)
          if m == 0 and h == 0:
              while s > 0:
                  self.t3.clear()
                  if (s == 1 or s == 2 or
                      s == 3 or s == 4 or
                      s == 5 or s == 6 or
                      s == 6 or s == 7 or
                      s == 7 or s == 8 or
                      s == 9):
                      self.t3.setText('0'+str(s))
                      QtTest.QTest.qWait(1000)
                  else:
                      self.t3.setText(str(s))
                      QtTest.QTest.qWait(1000)
                  if self.t3.text() == '00':
                      s = 0
                      self.reset()
                      return
                  s -= 1
              self.t3.clear()
              self.t3.setText('00')
          #
          elif h == 0 and m != 0:
              while m >= 0:
                  while s > 0:
                      self.t3.clear()
                      if (s == 1 or s == 2 or
                          s == 3 or s == 4 or
                          s == 5 or s == 6 or
                          s == 6 or s == 7 or
                          s == 7 or s == 8 or
                          s == 9):
                          self.t3.setText('0'+str(s))
                          QtTest.QTest.qWait(1000)
                      else:
                          self.t3.setText(str(s))
                          QtTest.QTest.qWait(1000)
                      if self.t3.text() == '00':
                          s = 0
                          m = 0
                          self.reset()
                          return
                      s -= 1
                  self.t3.clear()
                  self.t3.setText('00')
                  QtTest.QTest.qWait(1000)
                  if self.t3.text() == '00':
                      s = 59
                      m -= 1
                  if (m == 1 or m == 2 or
                      m == 3 or m == 4 or
                      m == 5 or m == 6 or
                      m == 6 or m == 7 or
                      m == 7 or m == 8 or
                      m == 9 or m == 0):
                      self.t2.setText('0'+str(m))
                  elif m == -1:
                      continue
                  else:
                      self.t2.setText(str(m))
          #
          elif h != 0:
              while h >= 0:
                  while m >= 0:
                      while s > 0:
                          self.t3.clear()
                          if (s == 1 or s == 2 or
                              s == 3 or s == 4 or
                              s == 5 or s == 6 or
                              s == 6 or s == 7 or
                              s == 7 or s == 8 or
                              s == 9):
                              self.t3.setText('0'+str(s))
                              QtTest.QTest.qWait(1000)
                          else:
                              self.t3.setText(str(s))
                              QtTest.QTest.qWait(1000)
                          if self.t3.text() == '00':
                              s = 0
                              m = 0
                              h = 0
                              self.reset()
                              return
                          s -= 1
                      self.t3.clear()
                      self.t3.setText('00')
                      QtTest.QTest.qWait(1000)
                      if self.t3.text() == '00':
                          s = 59
                          m -= 1
                      if (m == 1 or m == 2 or
                          m == 3 or m == 4 or
                          m == 5 or m == 6 or
                          m == 6 or m == 7 or
                          m == 7 or m == 8 or
                          m == 9 or m == 0):
                          self.t2.setText('0'+str(m))
                      elif m == -1:
                          continue
                      else:
                          self.t2.setText(str(m))
                  if self.t2.text() == '00':
                      m = 59
                      h -= 1 
                  if (h == 1 or h == 2 or
                      h == 3 or h == 4 or
                      h == 5 or h == 6 or
                      h == 6 or h == 7 or
                      h == 7 or h == 8 or
                      h == 9 or h == 0):
                      self.t1.setText('0'+str(h))
                      self.t2.setText(str(m))
                  elif h == -1:
                      continue
                  else:
                      self.t1.setText(str(h))
          self.end()
          
      def end(self):
          self.t4.setText('Time for Change!')
              
                      
      def retranslateUi(self, time):
          _translate = QtCore.QCoreApplication.translate
          time.setWindowTitle(_translate("time", "Timer"))
          self.label.setText(_translate("time", "Hours"))
          self.t1.setText(_translate("time", "00"))
          self.label_4.setText(_translate("time", ":"))
          self.label_2.setText(_translate("time", "Minutes"))
          self.t2.setText(_translate("time", "00"))
          self.label_5.setText(_translate("time", ":"))
          self.label_3.setText(_translate("time", "Seconds"))
          self.t3.setText(_translate("time", "00"))
          self.b1.setText(_translate("time", "Start"))
          self.b2.setText(_translate("time", "Reset"))
          self.t4.setText(_translate("time", ""))
  
  
  if __name__ == "__main__":
      import sys
      app = QtWidgets.QApplication(sys.argv)
      time = QtWidgets.QWidget()
      ui = Ui_time()
      ui.setupUi(time)
      time.show()
      sys.exit(app.exec_())
  