216 @pyqtSlot() |
216 @pyqtSlot() |
217 def on_spellPropertiesButton_clicked(self): |
217 def on_spellPropertiesButton_clicked(self): |
218 """ |
218 """ |
219 Private slot to display the spelling properties dialog. |
219 Private slot to display the spelling properties dialog. |
220 """ |
220 """ |
|
221 from .SpellingPropertiesDialog import SpellingPropertiesDialog |
|
222 |
221 if self.spellPropertiesDlg is None: |
223 if self.spellPropertiesDlg is None: |
222 from .SpellingPropertiesDialog import SpellingPropertiesDialog |
|
223 |
|
224 self.spellPropertiesDlg = SpellingPropertiesDialog( |
224 self.spellPropertiesDlg = SpellingPropertiesDialog( |
225 self.project, self.newProject, self |
225 self.project, self.newProject, self |
226 ) |
226 ) |
227 res = self.spellPropertiesDlg.exec() |
227 res = self.spellPropertiesDlg.exec() |
228 if res == QDialog.DialogCode.Rejected: |
228 if res == QDialog.DialogCode.Rejected: |
231 @pyqtSlot() |
231 @pyqtSlot() |
232 def on_transPropertiesButton_clicked(self): |
232 def on_transPropertiesButton_clicked(self): |
233 """ |
233 """ |
234 Private slot to display the translations properties dialog. |
234 Private slot to display the translations properties dialog. |
235 """ |
235 """ |
|
236 from .TranslationPropertiesDialog import TranslationPropertiesDialog |
|
237 |
236 if self.transPropertiesDlg is None: |
238 if self.transPropertiesDlg is None: |
237 from .TranslationPropertiesDialog import TranslationPropertiesDialog |
|
238 |
|
239 self.transPropertiesDlg = TranslationPropertiesDialog( |
239 self.transPropertiesDlg = TranslationPropertiesDialog( |
240 self.project, self.newProject, self |
240 self.project, self.newProject, self |
241 ) |
241 ) |
242 else: |
242 else: |
243 self.transPropertiesDlg.initFilters() |
243 self.transPropertiesDlg.initFilters() |
248 @pyqtSlot() |
248 @pyqtSlot() |
249 def on_makeButton_clicked(self): |
249 def on_makeButton_clicked(self): |
250 """ |
250 """ |
251 Private slot to display the make properties dialog. |
251 Private slot to display the make properties dialog. |
252 """ |
252 """ |
|
253 from .MakePropertiesDialog import MakePropertiesDialog |
|
254 |
253 if self.makePropertiesDlg is None: |
255 if self.makePropertiesDlg is None: |
254 from .MakePropertiesDialog import MakePropertiesDialog |
|
255 |
|
256 self.makePropertiesDlg = MakePropertiesDialog( |
256 self.makePropertiesDlg = MakePropertiesDialog( |
257 self.project, self.newProject, self |
257 self.project, self.newProject, self |
258 ) |
258 ) |
259 res = self.makePropertiesDlg.exec() |
259 res = self.makePropertiesDlg.exec() |
260 if res == QDialog.DialogCode.Rejected: |
260 if res == QDialog.DialogCode.Rejected: |
289 @pyqtSlot() |
289 @pyqtSlot() |
290 def on_vcsInfoButton_clicked(self): |
290 def on_vcsInfoButton_clicked(self): |
291 """ |
291 """ |
292 Private slot to display a vcs information dialog. |
292 Private slot to display a vcs information dialog. |
293 """ |
293 """ |
|
294 from eric7.VCS.RepositoryInfoDialog import VcsRepositoryInfoDialog |
|
295 |
294 if self.project.vcs is None: |
296 if self.project.vcs is None: |
295 return |
297 return |
296 |
|
297 from eric7.VCS.RepositoryInfoDialog import VcsRepositoryInfoDialog |
|
298 |
298 |
299 info = self.project.vcs.vcsRepositoryInfos(self.project.ppath) |
299 info = self.project.vcs.vcsRepositoryInfos(self.project.ppath) |
300 dlg = VcsRepositoryInfoDialog(self, info) |
300 dlg = VcsRepositoryInfoDialog(self, info) |
301 dlg.exec() |
301 dlg.exec() |
302 |
302 |