title: How to display Hour, Minute values from QTimeEdit to corresponding LCD's?
body: <p>I used QTimeEdit to edit time. But when I clicked "ok" the output is HOUR: 16 MINUTE: 8, no matter what number I put in QTimeEdit. Thus, I want to know what function I must add to correct the set time in QTimeEdit.</p>
  
  <pre class="lang-py prettyprint-override"><code>from PyQt5 import QtCore, QtGui, QtWidgets
  
  class Ui_EditTime(object):
      def setupUi(self, EditTime):
          EditTime.setObjectName("EditTime")
          EditTime.resize(392, 293)
          EditTime.setAutoFillBackground(False)
          self.timeEdit = QtWidgets.QTimeEdit(EditTime)
          self.timeEdit.setGeometry(QtCore.QRect(140, 160, 118, 22))
          self.timeEdit.setMaximumDateTime(QtCore.QDateTime(QtCore.QDate(1999, 12, 31), QtCore.QTime(23, 59, 59)))
          self.timeEdit.setMaximumDate(QtCore.QDate(1999, 12, 31))
          self.timeEdit.setMinimumDate(QtCore.QDate(1999, 12, 31))
          self.timeEdit.setMaximumTime(QtCore.QTime(23, 59, 59))
          self.timeEdit.setMinimumTime(QtCore.QTime(00, 00, 00))
          self.timeEdit.setCurrentSection(QtWidgets.QDateTimeEdit.HourSection)
          self.timeEdit.setTimeSpec(QtCore.Qt.OffsetFromUTC)
          self.timeEdit.setTime(QtCore.QTime(24,0,0))
          self.timeEdit.setObjectName("timeEdit")
          self.HourLCD = QtWidgets.QLCDNumber(EditTime)
          self.HourLCD.setGeometry(QtCore.QRect(60, 70, 111, 51))
          self.HourLCD.setObjectName("HourLCD")
          self.MinuteLCD = QtWidgets.QLCDNumber(EditTime)
          self.MinuteLCD.setGeometry(QtCore.QRect(200, 70, 111, 51))
          self.MinuteLCD.setObjectName("MinuteLCD")
          self.OK = QtWidgets.QPushButton(EditTime)
          self.OK.setGeometry(QtCore.QRect(160, 230, 75, 23))
          self.OK.setObjectName("OK")
          self.label = QtWidgets.QLabel(EditTime)
          self.label.setGeometry(QtCore.QRect(90, 46, 31, 20))
          self.label.setObjectName("label")
          self.label_2 = QtWidgets.QLabel(EditTime)
          self.label_2.setGeometry(QtCore.QRect(230, 50, 47, 13))
          self.label_2.setObjectName("label_2")
  
          self.retranslateUi(EditTime)
          QtCore.QMetaObject.connectSlotsByName(EditTime)
          self.OK.clicked.connect(self.connect)
  
      def connect(self):
          self.HourLCD.display(self.timeEdit.HourSection)
          self.MinuteLCD.display(self.timeEdit.MinuteSection)
  
  </code></pre>
  
  <p>I expect the output base on the QTimeEdit</p>