TimeTracker/TimeTrackerEntryDialog.py

branch
eric7
changeset 115
859d59103f9f
parent 114
f58b64382e67
child 120
9ccde4517fca
equal deleted inserted replaced
114:f58b64382e67 115:859d59103f9f
72 self.buttonBox.button(QDialogButtonBox.StandardButton.Ok).setEnabled( 72 self.buttonBox.button(QDialogButtonBox.StandardButton.Ok).setEnabled(
73 dt.addSecs(self.durationSpinBox.value() * 60) <= self.__endDateTime 73 dt.addSecs(self.durationSpinBox.value() * 60) <= self.__endDateTime
74 ) 74 )
75 75
76 @pyqtSlot(QDateTime) 76 @pyqtSlot(QDateTime)
77 def on_startDateTimeEdit_dateTimeChanged(self, date): 77 def on_startDateTimeEdit_dateTimeChanged(self, date): # noqa: U100
78 """ 78 """
79 Private slot handling a change of the start date and time. 79 Private slot handling a change of the start date and time.
80 80
81 @param date start date and time 81 @param date start date and time
82 @type QDateTime 82 @type QDateTime
83 """ 83 """
84 self.__checkOk() 84 self.__checkOk()
85 85
86 @pyqtSlot(int) 86 @pyqtSlot(int)
87 def on_durationSpinBox_valueChanged(self, value): 87 def on_durationSpinBox_valueChanged(self, value): # noqa: U100
88 """ 88 """
89 Private slot handling a change of the duration. 89 Private slot handling a change of the duration.
90 90
91 @param value value of the duration spin box 91 @param value value of the duration spin box
92 @type int 92 @type int

eric ide

mercurial