Plugins/WizardPlugins/E5MessageBoxWizard/E5MessageBoxWizardDialog.py

branch
Py2 comp.
changeset 3057
10516539f238
parent 3056
9986ec0e559a
parent 2964
84b65fb9e780
child 3058
0a02c433f52d
equal deleted inserted replaced
3056:9986ec0e559a 3057:10516539f238
132 self.bTest.setEnabled(not self.rStandard.isChecked()) 132 self.bTest.setEnabled(not self.rStandard.isChecked())
133 133
134 self.eMessage.setEnabled(not self.rAboutQt.isChecked()) 134 self.eMessage.setEnabled(not self.rAboutQt.isChecked())
135 135
136 @pyqtSlot(bool) 136 @pyqtSlot(bool)
137 def on_rInformation_toggled(self, checked): 137 def on_rInformation_toggled(self, on):
138 """ 138 """
139 Private slot to handle the toggled signal of the rInformation 139 Private slot to handle the toggled signal of the rInformation
140 radio button. 140 radio button.
141 141
142 @param on toggle state (boolean) (ignored) 142 @param on toggle state (boolean) (ignored)
143 """ 143 """
144 self.__enabledGroups() 144 self.__enabledGroups()
145 145
146 @pyqtSlot(bool) 146 @pyqtSlot(bool)
147 def on_rQuestion_toggled(self, checked): 147 def on_rQuestion_toggled(self, on):
148 """ 148 """
149 Private slot to handle the toggled signal of the rQuestion 149 Private slot to handle the toggled signal of the rQuestion
150 radio button. 150 radio button.
151 151
152 @param on toggle state (boolean) (ignored) 152 @param on toggle state (boolean) (ignored)
153 """ 153 """
154 self.__enabledGroups() 154 self.__enabledGroups()
155 155
156 @pyqtSlot(bool) 156 @pyqtSlot(bool)
157 def on_rWarning_toggled(self, checked): 157 def on_rWarning_toggled(self, on):
158 """ 158 """
159 Private slot to handle the toggled signal of the rWarning 159 Private slot to handle the toggled signal of the rWarning
160 radio button. 160 radio button.
161 161
162 @param on toggle state (boolean) (ignored) 162 @param on toggle state (boolean) (ignored)
163 """ 163 """
164 self.__enabledGroups() 164 self.__enabledGroups()
165 165
166 @pyqtSlot(bool) 166 @pyqtSlot(bool)
167 def on_rCritical_toggled(self, checked): 167 def on_rCritical_toggled(self, on):
168 """ 168 """
169 Private slot to handle the toggled signal of the rCritical 169 Private slot to handle the toggled signal of the rCritical
170 radio button. 170 radio button.
171 171
172 @param on toggle state (boolean) (ignored) 172 @param on toggle state (boolean) (ignored)
173 """ 173 """
174 self.__enabledGroups() 174 self.__enabledGroups()
175 175
176 @pyqtSlot(bool) 176 @pyqtSlot(bool)
177 def on_rYesNo_toggled(self, checked): 177 def on_rYesNo_toggled(self, on):
178 """ 178 """
179 Private slot to handle the toggled signal of the rYesNo 179 Private slot to handle the toggled signal of the rYesNo
180 radio button. 180 radio button.
181 181
182 @param on toggle state (boolean) (ignored) 182 @param on toggle state (boolean) (ignored)
183 """ 183 """
184 self.__enabledGroups() 184 self.__enabledGroups()
185 185
186 @pyqtSlot(bool) 186 @pyqtSlot(bool)
187 def on_rRetryAbort_toggled(self, checked): 187 def on_rRetryAbort_toggled(self, on):
188 """ 188 """
189 Private slot to handle the toggled signal of the rRetryAbort 189 Private slot to handle the toggled signal of the rRetryAbort
190 radio button. 190 radio button.
191 191
192 @param on toggle state (boolean) (ignored) 192 @param on toggle state (boolean) (ignored)
193 """ 193 """
194 self.__enabledGroups() 194 self.__enabledGroups()
195 195
196 @pyqtSlot(bool) 196 @pyqtSlot(bool)
197 def on_rOkToClearData_toggled(self, checked): 197 def on_rOkToClearData_toggled(self, on):
198 """ 198 """
199 Private slot to handle the toggled signal of the rOkToClearData 199 Private slot to handle the toggled signal of the rOkToClearData
200 radio button. 200 radio button.
201 201
202 @param on toggle state (boolean) (ignored) 202 @param on toggle state (boolean) (ignored)
203 """ 203 """
204 self.__enabledGroups() 204 self.__enabledGroups()
205 205
206 @pyqtSlot(bool) 206 @pyqtSlot(bool)
207 def on_rAbout_toggled(self, checked): 207 def on_rAbout_toggled(self, on):
208 """ 208 """
209 Private slot to handle the toggled signal of the rAbout 209 Private slot to handle the toggled signal of the rAbout
210 radio button. 210 radio button.
211 211
212 @param on toggle state (boolean) (ignored) 212 @param on toggle state (boolean) (ignored)
213 """ 213 """
214 self.__enabledGroups() 214 self.__enabledGroups()
215 215
216 @pyqtSlot(bool) 216 @pyqtSlot(bool)
217 def on_rAboutQt_toggled(self, checked): 217 def on_rAboutQt_toggled(self, on):
218 """ 218 """
219 Private slot to handle the toggled signal of the rAboutQt 219 Private slot to handle the toggled signal of the rAboutQt
220 radio button. 220 radio button.
221 221
222 @param on toggle state (boolean) (ignored) 222 @param on toggle state (boolean) (ignored)
223 """ 223 """
224 self.__enabledGroups() 224 self.__enabledGroups()
225 225
226 @pyqtSlot(bool) 226 @pyqtSlot(bool)
227 def on_rStandard_toggled(self, checked): 227 def on_rStandard_toggled(self, on):
228 """ 228 """
229 Private slot to handle the toggled signal of the rStandard 229 Private slot to handle the toggled signal of the rStandard
230 radio button. 230 radio button.
231 231
232 @param on toggle state (boolean) (ignored) 232 @param on toggle state (boolean) (ignored)
429 def __getDefaultButtonCode(self, istring): 429 def __getDefaultButtonCode(self, istring):
430 """ 430 """
431 Private method to generate the button code for the default button. 431 Private method to generate the button code for the default button.
432 432
433 @param istring indentation string (string) 433 @param istring indentation string (string)
434 @param indString string used for indentation (space or tab) (string)
435 @return the button code (string) 434 @return the button code (string)
436 """ 435 """
437 btnCode = "" 436 btnCode = ""
438 defaultIndex = self.defaultCombo.currentIndex() 437 defaultIndex = self.defaultCombo.currentIndex()
439 if defaultIndex: 438 if defaultIndex:

eric ide

mercurial