src/eric7/Project/SpellingPropertiesDialog.py

branch
eric7
changeset 9413
80c06d472826
parent 9221
bf71ee032bb4
child 9473
3f23dbf37dbe
equal deleted inserted replaced
9412:45e7bb09c120 9413:80c06d472826
7 Module implementing the Spelling Properties dialog. 7 Module implementing the Spelling Properties dialog.
8 """ 8 """
9 9
10 from PyQt6.QtWidgets import QDialog 10 from PyQt6.QtWidgets import QDialog
11 11
12 from EricWidgets.EricPathPicker import EricPathPickerModes 12 from eric7.EricWidgets.EricPathPicker import EricPathPickerModes
13 13
14 from .Ui_SpellingPropertiesDialog import Ui_SpellingPropertiesDialog 14 from .Ui_SpellingPropertiesDialog import Ui_SpellingPropertiesDialog
15 15
16 import Preferences 16 from eric7 import Preferences
17 17
18 18
19 class SpellingPropertiesDialog(QDialog, Ui_SpellingPropertiesDialog): 19 class SpellingPropertiesDialog(QDialog, Ui_SpellingPropertiesDialog):
20 """ 20 """
21 Class implementing the Spelling Properties dialog. 21 Class implementing the Spelling Properties dialog.
41 self.pelPicker.setFilters(self.tr("Dictionary File (*.dic);;All Files (*)")) 41 self.pelPicker.setFilters(self.tr("Dictionary File (*.dic);;All Files (*)"))
42 42
43 self.project = project 43 self.project = project
44 self.parent = parent 44 self.parent = parent
45 45
46 from QScintilla.SpellChecker import SpellChecker 46 from eric7.QScintilla.SpellChecker import SpellChecker
47 47
48 self.spellingComboBox.addItem(self.tr("<default>")) 48 self.spellingComboBox.addItem(self.tr("<default>"))
49 self.spellingComboBox.addItems(sorted(SpellChecker.getAvailableLanguages())) 49 self.spellingComboBox.addItems(sorted(SpellChecker.getAvailableLanguages()))
50 50
51 if not new: 51 if not new:

eric ide

mercurial