34 from .Shell import Shell |
34 from .Shell import Shell |
35 from .APIsManager import APIsManager |
35 from .APIsManager import APIsManager |
36 |
36 |
37 from Debugger.DebugServer import DebugServer |
37 from Debugger.DebugServer import DebugServer |
38 from UI.SearchWidget import SearchWidget |
38 from UI.SearchWidget import SearchWidget |
|
39 from VirtualEnv.VirtualenvManager import VirtualenvManager |
39 |
40 |
40 from eric6config import getConfig |
41 from eric6config import getConfig |
41 |
42 |
42 |
43 |
43 class ShellWindow(E5MainWindow): |
44 class ShellWindow(E5MainWindow): |
91 self.__createStatusBar() |
92 self.__createStatusBar() |
92 |
93 |
93 self.__readSettings() |
94 self.__readSettings() |
94 |
95 |
95 self.__shell.historyStyleChanged.connect(self.__historyStyleChanged) |
96 self.__shell.historyStyleChanged.connect(self.__historyStyleChanged) |
|
97 |
|
98 # Generate the virtual environment manager and register it |
|
99 self.virtualenvManager = VirtualenvManager(self) |
|
100 e5App().registerObject("VirtualEnvManager", self.virtualenvManager) |
96 |
101 |
97 # now start the debug client |
102 # now start the debug client |
98 self.__debugServer.startClient(False) |
103 self.__debugServer.startClient(False) |
99 |
104 |
100 # set the keyboard input interval |
105 # set the keyboard input interval |