63 enabled = enabled and self.branch2Combo.currentText() != "" |
63 enabled = enabled and self.branch2Combo.currentText() != "" |
64 |
64 |
65 self.buttonBox.button(QDialogButtonBox.StandardButton.Ok).setEnabled(enabled) |
65 self.buttonBox.button(QDialogButtonBox.StandardButton.Ok).setEnabled(enabled) |
66 |
66 |
67 @pyqtSlot(bool) |
67 @pyqtSlot(bool) |
68 def on_rev1Button_toggled(self, checked): |
68 def on_rev1Button_toggled(self, _checked): |
69 """ |
69 """ |
70 Private slot to handle changes of the rev1 select button. |
70 Private slot to handle changes of the rev1 select button. |
71 |
71 |
72 @param checked state of the button |
72 @param _checked state of the button (unused) |
73 @type bool |
73 @type bool |
74 """ |
74 """ |
75 self.__updateOK() |
75 self.__updateOK() |
76 |
76 |
77 @pyqtSlot(bool) |
77 @pyqtSlot(bool) |
78 def on_rev2Button_toggled(self, checked): |
78 def on_rev2Button_toggled(self, _checked): |
79 """ |
79 """ |
80 Private slot to handle changes of the rev2 select button. |
80 Private slot to handle changes of the rev2 select button. |
81 |
81 |
82 @param checked state of the button |
82 @param _checked state of the button (unused) |
83 @type bool |
83 @type bool |
84 """ |
84 """ |
85 self.__updateOK() |
85 self.__updateOK() |
86 |
86 |
87 @pyqtSlot(bool) |
87 @pyqtSlot(bool) |
88 def on_tag1Button_toggled(self, checked): |
88 def on_tag1Button_toggled(self, _checked): |
89 """ |
89 """ |
90 Private slot to handle changes of the Tag1 select button. |
90 Private slot to handle changes of the Tag1 select button. |
91 |
91 |
92 @param checked state of the button |
92 @param _checked state of the button (unused) |
93 @type bool |
93 @type bool |
94 """ |
94 """ |
95 self.__updateOK() |
95 self.__updateOK() |
96 |
96 |
97 @pyqtSlot(bool) |
97 @pyqtSlot(bool) |
98 def on_tag2Button_toggled(self, checked): |
98 def on_tag2Button_toggled(self, _checked): |
99 """ |
99 """ |
100 Private slot to handle changes of the Tag2 select button. |
100 Private slot to handle changes of the Tag2 select button. |
101 |
101 |
102 @param checked state of the button |
102 @param _checked state of the button (unused) |
103 @type bool |
103 @type bool |
104 """ |
104 """ |
105 self.__updateOK() |
105 self.__updateOK() |
106 |
106 |
107 @pyqtSlot(bool) |
107 @pyqtSlot(bool) |
108 def on_branch1Button_toggled(self, checked): |
108 def on_branch1Button_toggled(self, _checked): |
109 """ |
109 """ |
110 Private slot to handle changes of the Branch1 select button. |
110 Private slot to handle changes of the Branch1 select button. |
111 |
111 |
112 @param checked state of the button |
112 @param _checked state of the button (unused) |
113 @type bool |
113 @type bool |
114 """ |
114 """ |
115 self.__updateOK() |
115 self.__updateOK() |
116 |
116 |
117 @pyqtSlot(bool) |
117 @pyqtSlot(bool) |
118 def on_branch2Button_toggled(self, checked): |
118 def on_branch2Button_toggled(self, _checked): |
119 """ |
119 """ |
120 Private slot to handle changes of the Branch2 select button. |
120 Private slot to handle changes of the Branch2 select button. |
121 |
121 |
122 @param checked state of the button |
122 @param _checked state of the button (unused) |
123 @type bool |
123 @type bool |
124 """ |
124 """ |
125 self.__updateOK() |
125 self.__updateOK() |
126 |
126 |
127 @pyqtSlot(str) |
127 @pyqtSlot(str) |
128 def on_rev1Edit_textChanged(self, txt): |
128 def on_rev1Edit_textChanged(self, _txt): |
129 """ |
129 """ |
130 Private slot to handle changes of the rev1 edit. |
130 Private slot to handle changes of the rev1 edit. |
131 |
131 |
132 @param txt text of the edit |
132 @param _txt text of the edit (unused) |
133 @type str |
133 @type str |
134 """ |
134 """ |
135 self.__updateOK() |
135 self.__updateOK() |
136 |
136 |
137 @pyqtSlot(str) |
137 @pyqtSlot(str) |
138 def on_rev2Edit_textChanged(self, txt): |
138 def on_rev2Edit_textChanged(self, _txt): |
139 """ |
139 """ |
140 Private slot to handle changes of the rev2 edit. |
140 Private slot to handle changes of the rev2 edit. |
141 |
141 |
142 @param txt text of the edit |
142 @param _txt text of the edit (unused) |
143 @type str |
143 @type str |
144 """ |
144 """ |
145 self.__updateOK() |
145 self.__updateOK() |
146 |
146 |
147 @pyqtSlot(str) |
147 @pyqtSlot(str) |
148 def on_tag1Combo_editTextChanged(self, txt): |
148 def on_tag1Combo_editTextChanged(self, _txt): |
149 """ |
149 """ |
150 Private slot to handle changes of the Tag1 combo. |
150 Private slot to handle changes of the Tag1 combo. |
151 |
151 |
152 @param txt text of the combo |
152 @param _txt text of the combo (unused) |
153 @type str |
153 @type str |
154 """ |
154 """ |
155 self.__updateOK() |
155 self.__updateOK() |
156 |
156 |
157 @pyqtSlot(str) |
157 @pyqtSlot(str) |
158 def on_tag2Combo_editTextChanged(self, txt): |
158 def on_tag2Combo_editTextChanged(self, _txt): |
159 """ |
159 """ |
160 Private slot to handle changes of the Tag2 combo. |
160 Private slot to handle changes of the Tag2 combo. |
161 |
161 |
162 @param txt text of the combo |
162 @param _txt text of the combo (unused) |
163 @type str |
163 @type str |
164 """ |
164 """ |
165 self.__updateOK() |
165 self.__updateOK() |
166 |
166 |
167 @pyqtSlot(str) |
167 @pyqtSlot(str) |
168 def on_branch1Combo_editTextChanged(self, txt): |
168 def on_branch1Combo_editTextChanged(self, _txt): |
169 """ |
169 """ |
170 Private slot to handle changes of the Branch1 combo. |
170 Private slot to handle changes of the Branch1 combo. |
171 |
171 |
172 @param txt text of the combo |
172 @param _txt text of the combo (unused) |
173 @type str |
173 @type str |
174 """ |
174 """ |
175 self.__updateOK() |
175 self.__updateOK() |
176 |
176 |
177 @pyqtSlot(str) |
177 @pyqtSlot(str) |
178 def on_branch2Combo_editTextChanged(self, txt): |
178 def on_branch2Combo_editTextChanged(self, _txt): |
179 """ |
179 """ |
180 Private slot to handle changes of the Branch2 combo. |
180 Private slot to handle changes of the Branch2 combo. |
181 |
181 |
182 @param txt text of the combo |
182 @param _txt text of the combo (unused) |
183 @type str |
183 @type str |
184 """ |
184 """ |
185 self.__updateOK() |
185 self.__updateOK() |
186 |
186 |
187 def __getRevision(self, no): |
187 def __getRevision(self, no): |