eric6/UI/UserInterface.py

branch
micropython
changeset 7134
21d23ca51680
parent 7119
5f609e77de99
child 7149
6a9d4a241962
equal deleted inserted replaced
7133:7aa4832b3730 7134:21d23ca51680
908 self.tr("IRC")) 908 self.tr("IRC"))
909 909
910 if Preferences.getUI("ShowMicroPython"): 910 if Preferences.getUI("ShowMicroPython"):
911 # Create the MicroPython part of the user interface 911 # Create the MicroPython part of the user interface
912 logging.debug("Creating MicroPython Widget...") 912 logging.debug("Creating MicroPython Widget...")
913 from MicroPython.MicroPythonReplWidget import MicroPythonReplWidget 913 from MicroPython.MicroPythonWidget import MicroPythonWidget
914 self.microPythonRepl = MicroPythonReplWidget(self) 914 self.microPythonWidget = MicroPythonWidget(self)
915 self.rToolbox.addItem(self.microPythonRepl, 915 self.rToolbox.addItem(self.microPythonWidget,
916 UI.PixmapCache.getIcon("micropython"), 916 UI.PixmapCache.getIcon("micropython"),
917 self.tr("MicroPython")) 917 self.tr("MicroPython"))
918 918
919 #################################################### 919 ####################################################
920 ## Populate the bottom toolbox 920 ## Populate the bottom toolbox
1105 self.tr("IRC")) 1105 self.tr("IRC"))
1106 1106
1107 if Preferences.getUI("ShowMicroPython"): 1107 if Preferences.getUI("ShowMicroPython"):
1108 # Create the MicroPython part of the user interface 1108 # Create the MicroPython part of the user interface
1109 logging.debug("Creating MicroPython Widget...") 1109 logging.debug("Creating MicroPython Widget...")
1110 from MicroPython.MicroPythonReplWidget import MicroPythonReplWidget 1110 from MicroPython.MicroPythonWidget import MicroPythonWidget
1111 self.microPythonRepl = MicroPythonReplWidget(self) 1111 self.microPythonWidget = MicroPythonWidget(self)
1112 self.rightSidebar.addTab( 1112 self.rightSidebar.addTab(
1113 self.microPythonRepl, UI.PixmapCache.getIcon("micropython"), 1113 self.microPythonWidget, UI.PixmapCache.getIcon("micropython"),
1114 self.tr("MicroPython")) 1114 self.tr("MicroPython"))
1115 1115
1116 #################################################### 1116 ####################################################
1117 ## Populate the bottom side bar 1117 ## Populate the bottom side bar
1118 #################################################### 1118 ####################################################

eric ide

mercurial