@@ -120,7 +120,7 | |||||
120 | """ |
|
120 | """ | |
121 | Slot documentation goes here. |
|
121 | Slot documentation goes here. | |
122 | """ |
|
122 | """ | |
123 | self.txtInfo.setText(str(index)) |
|
123 | #self.txtInfo.setText(str(index)) | |
124 | var_StopDay_index=self.lstStopDay.count() - self.lstStopDay.currentIndex() |
|
124 | var_StopDay_index=self.lstStopDay.count() - self.lstStopDay.currentIndex() | |
125 |
|
125 | |||
126 | self.lstStopDay.clear() |
|
126 | self.lstStopDay.clear() | |
@@ -129,8 +129,8 | |||||
129 | self.lstStopDay.addItem(i) |
|
129 | self.lstStopDay.addItem(i) | |
130 |
|
130 | |||
131 | self.lstStopDay.setCurrentIndex(self.lstStopDay.count() - var_StopDay_index) |
|
131 | self.lstStopDay.setCurrentIndex(self.lstStopDay.count() - var_StopDay_index) | |
132 | self.txtInfo.append(str(var_StopDay_index)) |
|
132 | #self.txtInfo.append(str(var_StopDay_index)) | |
133 | self.txtInfo.append(str(self.lstStopDay.count())) |
|
133 | #self.txtInfo.append(str(self.lstStopDay.count())) | |
134 |
|
134 | |||
135 |
|
135 | |||
136 | @pyqtSignature("int") |
|
136 | @pyqtSignature("int") | |
@@ -138,7 +138,7 | |||||
138 | """ |
|
138 | """ | |
139 | Slot documentation goes here. |
|
139 | Slot documentation goes here. | |
140 | """ |
|
140 | """ | |
141 | self.txtInfo.setText(str(index)) |
|
141 | #self.txtInfo.setText(str(index)) | |
142 | var_StartDay_index=self.lstStartDay.currentIndex() |
|
142 | var_StartDay_index=self.lstStartDay.currentIndex() | |
143 |
|
143 | |||
144 | var_end_index = self.lstStopDay.count() - index |
|
144 | var_end_index = self.lstStopDay.count() - index | |
@@ -149,5 +149,5 | |||||
149 | self.lstStartDay.addItem(i) |
|
149 | self.lstStartDay.addItem(i) | |
150 |
|
150 | |||
151 | self.lstStartDay.setCurrentIndex(var_StartDay_index) |
|
151 | self.lstStartDay.setCurrentIndex(var_StartDay_index) | |
152 | self.txtInfo.append(str(var_StartDay_index)) |
|
152 | #self.txtInfo.append(str(var_StartDay_index)) | |
153 | self.txtInfo.append(str(self.lstStartDay.count())) |
|
153 | #self.txtInfo.append(str(self.lstStartDay.count())) |
General Comments 0
You need to be logged in to leave comments.
Login now