208 @pyqtSlot(int) |
208 @pyqtSlot(int) |
209 def on_ftpProxyTypeCombo_currentIndexChanged(self, index): |
209 def on_ftpProxyTypeCombo_currentIndexChanged(self, index): |
210 """ |
210 """ |
211 Private slot handling the selection of a proxy type. |
211 Private slot handling the selection of a proxy type. |
212 |
212 |
213 @param index index of the selected item (integer) |
213 @param index index of the selected item |
|
214 @type int |
214 """ |
215 """ |
215 proxyType = EricFtpProxyType(self.ftpProxyTypeCombo.itemData(index)) |
216 proxyType = EricFtpProxyType(self.ftpProxyTypeCombo.itemData(index)) |
216 self.ftpProxyHostEdit.setEnabled(proxyType != EricFtpProxyType.NO_PROXY) |
217 self.ftpProxyHostEdit.setEnabled(proxyType != EricFtpProxyType.NO_PROXY) |
217 self.ftpProxyPortSpin.setEnabled(proxyType != EricFtpProxyType.NO_PROXY) |
218 self.ftpProxyPortSpin.setEnabled(proxyType != EricFtpProxyType.NO_PROXY) |
218 self.ftpProxyUserEdit.setEnabled( |
219 self.ftpProxyUserEdit.setEnabled( |
232 def create(dlg): |
233 def create(dlg): |
233 """ |
234 """ |
234 Module function to create the configuration page. |
235 Module function to create the configuration page. |
235 |
236 |
236 @param dlg reference to the configuration dialog |
237 @param dlg reference to the configuration dialog |
237 @return reference to the instantiated page (ConfigurationPageBase) |
238 @type ConfigurationDialog |
|
239 @return reference to the instantiated page |
|
240 @rtype ConfigurationPageBase |
238 """ |
241 """ |
239 page = NetworkPage(dlg) |
242 page = NetworkPage(dlg) |
240 return page |
243 return page |