11# -*- coding: utf-8 -*-
22
3- # Form implementation generated from reading ui file '/home/colin/pyqode/python/examples/pynotepad/forms/main_window.ui'
3+ # Form implementation generated from reading ui file '/home/colin/Documents/ pyqode/python/examples/pynotepad/forms/main_window.ui'
44#
5- # Created: Tue Feb 24 21:30:08 2015
5+ # Created: Thu Feb 26 08:16:23 2015
66# by: PyQt5 UI code generator 5.4
77#
88# WARNING! All changes made in this file will be lost!
@@ -27,10 +27,12 @@ def setupUi(self, MainWindow):
2727 self .gridLayout .addWidget (self .tabWidget , 1 , 0 , 1 , 1 )
2828 MainWindow .setCentralWidget (self .centralwidget )
2929 self .menubar = QtWidgets .QMenuBar (MainWindow )
30- self .menubar .setGeometry (QtCore .QRect (0 , 0 , 847 , 35 ))
30+ self .menubar .setGeometry (QtCore .QRect (0 , 0 , 847 , 27 ))
3131 self .menubar .setObjectName ("menubar" )
3232 self .menuFile = QtWidgets .QMenu (self .menubar )
3333 self .menuFile .setObjectName ("menuFile" )
34+ self .menuPython_interpreter = QtWidgets .QMenu (self .menuFile )
35+ self .menuPython_interpreter .setObjectName ("menuPython_interpreter" )
3436 self .menuEdit = QtWidgets .QMenu (self .menubar )
3537 self .menuEdit .setObjectName ("menuEdit" )
3638 self .menuModes = QtWidgets .QMenu (self .menubar )
@@ -116,6 +118,10 @@ def setupUi(self, MainWindow):
116118 self .actionConfigure_run .setIcon (icon8 )
117119 self .actionConfigure_run .setIconVisibleInMenu (True )
118120 self .actionConfigure_run .setObjectName ("actionConfigure_run" )
121+ self .actionPython_2 = QtWidgets .QAction (MainWindow )
122+ self .actionPython_2 .setObjectName ("actionPython_2" )
123+ self .actionPython_3 = QtWidgets .QAction (MainWindow )
124+ self .actionPython_3 .setObjectName ("actionPython_3" )
119125 self .menuFile .addAction (self .actionNew )
120126 self .menuFile .addAction (self .actionOpen )
121127 self .menuFile .addAction (self .actionSave )
@@ -124,6 +130,7 @@ def setupUi(self, MainWindow):
124130 self .menuFile .addAction (self .actionConfigure_run )
125131 self .menuFile .addAction (self .actionRun )
126132 self .menuFile .addSeparator ()
133+ self .menuFile .addAction (self .menuPython_interpreter .menuAction ())
127134 self .menuFile .addSeparator ()
128135 self .menuFile .addAction (self .actionQuit )
129136 self .menu .addAction (self .actionAbout )
@@ -148,6 +155,7 @@ def retranslateUi(self, MainWindow):
148155 _translate = QtCore .QCoreApplication .translate
149156 MainWindow .setWindowTitle (_translate ("MainWindow" , "pynotepad" ))
150157 self .menuFile .setTitle (_translate ("MainWindow" , "File" ))
158+ self .menuPython_interpreter .setTitle (_translate ("MainWindow" , "Python interpreter" ))
151159 self .menuEdit .setTitle (_translate ("MainWindow" , "Edit" ))
152160 self .menuModes .setTitle (_translate ("MainWindow" , "Modes" ))
153161 self .menuPanels .setTitle (_translate ("MainWindow" , "Panels" ))
@@ -171,8 +179,10 @@ def retranslateUi(self, MainWindow):
171179 self .actionRun .setText (_translate ("MainWindow" , "Run" ))
172180 self .actionRun .setToolTip (_translate ("MainWindow" , "Run current script" ))
173181 self .actionConfigure_run .setText (_translate ("MainWindow" , "Configure run" ))
182+ self .actionPython_2 .setText (_translate ("MainWindow" , "Python 2" ))
183+ self .actionPython_3 .setText (_translate ("MainWindow" , "Python 3" ))
174184
175- from pyqode .core .widgets .outline import OutlineTreeWidget
176185from pyqode .python .widgets import PyInteractiveConsole
186+ from pyqode .core .widgets .outline import OutlineTreeWidget
177187from pyqode .core .widgets import SplittableCodeEditTabWidget
178188from . import resources_rc
0 commit comments