src/eric7/Plugins/VcsPlugins/vcsGit/GitNewProjectOptionsDialog.py

branch
eric7
changeset 10217
7888177e7463
parent 9653
e67609152c5e
child 10438
4cd7e5a8b3cf
equal deleted inserted replaced
10216:c07a1ef5c5d3 10217:7888177e7463
6 """ 6 """
7 Module implementing the Git Options Dialog for a new project from the 7 Module implementing the Git Options Dialog for a new project from the
8 repository. 8 repository.
9 """ 9 """
10 10
11 from PyQt6.QtCore import QUrl, pyqtSlot 11 from PyQt6.QtCore import Qt, QUrl, pyqtSlot
12 from PyQt6.QtWidgets import QDialog, QDialogButtonBox 12 from PyQt6.QtWidgets import QDialog, QDialogButtonBox
13 13
14 from eric7 import Preferences 14 from eric7 import Preferences
15 from eric7.EricGui import EricPixmapCache 15 from eric7.EricGui import EricPixmapCache
16 from eric7.EricWidgets import EricFileDialog 16 from eric7.EricWidgets import EricFileDialog
42 self.projectDirButton.setIcon(EricPixmapCache.getIcon("open")) 42 self.projectDirButton.setIcon(EricPixmapCache.getIcon("open"))
43 self.vcsUrlButton.setIcon(EricPixmapCache.getIcon("open")) 43 self.vcsUrlButton.setIcon(EricPixmapCache.getIcon("open"))
44 self.vcsUrlClearHistoryButton.setIcon(EricPixmapCache.getIcon("editDelete")) 44 self.vcsUrlClearHistoryButton.setIcon(EricPixmapCache.getIcon("editDelete"))
45 45
46 vcsUrlHistory = self.__vcs.getPlugin().getPreferences("RepositoryUrlHistory") 46 vcsUrlHistory = self.__vcs.getPlugin().getPreferences("RepositoryUrlHistory")
47 self.vcsUrlCombo.completer().setCaseSensitivity(
48 Qt.CaseSensitivity.CaseSensitive
49 )
47 self.vcsUrlCombo.addItems(vcsUrlHistory) 50 self.vcsUrlCombo.addItems(vcsUrlHistory)
48 self.vcsUrlCombo.setEditText("") 51 self.vcsUrlCombo.setEditText("")
49 52
50 self.vcsDirectoryCompleter = EricDirCompleter(self.vcsUrlCombo) 53 self.vcsDirectoryCompleter = EricDirCompleter(self.vcsUrlCombo)
51 self.vcsProjectDirCompleter = EricDirCompleter(self.vcsProjectDirEdit) 54 self.vcsProjectDirCompleter = EricDirCompleter(self.vcsProjectDirEdit)

eric ide

mercurial