def test_append_obeys_max_blocks(self):
     browser = CustomQTextBrowser(None)
     self.assertEqual(browser.document().blockCount(), 1)
     browser.max_blocks = 5
     for _ in range(5):
         browser.append('test text')
     self.assertEqual(browser.document().blockCount(), 5)
     for _ in range(5):
         browser.append('new text')
     self.assertEqual(browser.document().blockCount(), 5)
 def test_extra_blocks_removed_from_start(self):
     browser = CustomQTextBrowser(None)
     self.assertEqual(browser.document().blockCount(), 1)
     browser.max_blocks = 3
     texts = ['1', '2', '3', '4', '5']
     for t in texts:
         browser.append(t)
     self.assertEqual(browser.document().blockCount(), 3)
     text_block = browser.document().begin()
     for t in texts[2:]:
         self.assertEqual(text_block.text(), t)
         text_block = text_block.next()
Ejemplo n.º 3
0
    def setupUi(self, MainWindow):
        if not MainWindow.objectName():
            MainWindow.setObjectName(u"MainWindow")
        MainWindow.resize(1326, 700)
        self.actionQuit = QAction(MainWindow)
        self.actionQuit.setObjectName(u"actionQuit")
        icon = QIcon()
        icon.addFile(u":/icons/menu_icons/window-close.svg", QSize(),
                     QIcon.Normal, QIcon.Off)
        self.actionQuit.setIcon(icon)
        self.actionDocumentation = QAction(MainWindow)
        self.actionDocumentation.setObjectName(u"actionDocumentation")
        self.actionAbout = QAction(MainWindow)
        self.actionAbout.setObjectName(u"actionAbout")
        icon1 = QIcon()
        icon1.addFile(u":/icons/menu_icons/info-circle.svg", QSize(),
                      QIcon.Normal, QIcon.Off)
        self.actionAbout.setIcon(icon1)
        self.actionSave = QAction(MainWindow)
        self.actionSave.setObjectName(u"actionSave")
        icon2 = QIcon()
        icon2.addFile(u":/icons/menu_icons/save_solid.svg", QSize(),
                      QIcon.Normal, QIcon.Off)
        self.actionSave.setIcon(icon2)
        self.actionSave_As = QAction(MainWindow)
        self.actionSave_As.setObjectName(u"actionSave_As")
        icon3 = QIcon()
        icon3.addFile(u":/icons/menu_icons/save_regular.svg", QSize(),
                      QIcon.Normal, QIcon.Off)
        self.actionSave_As.setIcon(icon3)
        self.actionOpen = QAction(MainWindow)
        self.actionOpen.setObjectName(u"actionOpen")
        icon4 = QIcon()
        icon4.addFile(u":/icons/menu_icons/folder-open-solid.svg", QSize(),
                      QIcon.Normal, QIcon.Off)
        self.actionOpen.setIcon(icon4)
        self.actionNew = QAction(MainWindow)
        self.actionNew.setObjectName(u"actionNew")
        icon5 = QIcon()
        icon5.addFile(u":/icons/menu_icons/file.svg", QSize(), QIcon.Normal,
                      QIcon.Off)
        self.actionNew.setIcon(icon5)
        self.actionSettings = QAction(MainWindow)
        self.actionSettings.setObjectName(u"actionSettings")
        icon6 = QIcon()
        icon6.addFile(u":/icons/menu_icons/cog.svg", QSize(), QIcon.Normal,
                      QIcon.Off)
        self.actionSettings.setIcon(icon6)
        self.actionItem_Toolbar = QAction(MainWindow)
        self.actionItem_Toolbar.setObjectName(u"actionItem_Toolbar")
        self.actionAdd_Item_Toolbar = QAction(MainWindow)
        self.actionAdd_Item_Toolbar.setObjectName(u"actionAdd_Item_Toolbar")
        self.actionEvent_Log = QAction(MainWindow)
        self.actionEvent_Log.setObjectName(u"actionEvent_Log")
        self.actionEvent_Log.setCheckable(False)
        self.actionEvent_Log.setChecked(False)
        self.actionSubprocess_Output = QAction(MainWindow)
        self.actionSubprocess_Output.setObjectName(u"actionSubprocess_Output")
        self.actionSelected_Item = QAction(MainWindow)
        self.actionSelected_Item.setObjectName(u"actionSelected_Item")
        self.actionJulia_REPL = QAction(MainWindow)
        self.actionJulia_REPL.setObjectName(u"actionJulia_REPL")
        self.actionUser_Guide = QAction(MainWindow)
        self.actionUser_Guide.setObjectName(u"actionUser_Guide")
        icon7 = QIcon()
        icon7.addFile(u":/icons/menu_icons/question-circle.svg", QSize(),
                      QIcon.Normal, QIcon.Off)
        self.actionUser_Guide.setIcon(icon7)
        self.actionRestore_Dock_Widgets = QAction(MainWindow)
        self.actionRestore_Dock_Widgets.setObjectName(
            u"actionRestore_Dock_Widgets")
        self.actionAbout_Qt = QAction(MainWindow)
        self.actionAbout_Qt.setObjectName(u"actionAbout_Qt")
        icon8 = QIcon()
        icon8.addFile(u":/icons/qt_extended_48x48.png", QSize(), QIcon.Normal,
                      QIcon.Off)
        self.actionAbout_Qt.setIcon(icon8)
        self.actionRemove_all = QAction(MainWindow)
        self.actionRemove_all.setObjectName(u"actionRemove_all")
        icon9 = QIcon()
        icon9.addFile(u":/icons/menu_icons/trash-alt.svg", QSize(),
                      QIcon.Normal, QIcon.Off)
        self.actionRemove_all.setIcon(icon9)
        self.actionExport_project_to_GraphML = QAction(MainWindow)
        self.actionExport_project_to_GraphML.setObjectName(
            u"actionExport_project_to_GraphML")
        icon10 = QIcon()
        icon10.addFile(u":/icons/menu_icons/file-export.svg", QSize(),
                       QIcon.Normal, QIcon.Off)
        self.actionExport_project_to_GraphML.setIcon(icon10)
        self.actionGetting_started = QAction(MainWindow)
        self.actionGetting_started.setObjectName(u"actionGetting_started")
        self.actionGetting_started.setIcon(icon7)
        self.actionOpen_recent = QAction(MainWindow)
        self.actionOpen_recent.setObjectName(u"actionOpen_recent")
        icon11 = QIcon()
        icon11.addFile(u":/icons/menu_icons/history.svg", QSize(),
                       QIcon.Normal, QIcon.Off)
        self.actionOpen_recent.setIcon(icon11)
        self.actionCopy = QAction(MainWindow)
        self.actionCopy.setObjectName(u"actionCopy")
        self.actionPaste = QAction(MainWindow)
        self.actionPaste.setObjectName(u"actionPaste")
        self.actionDuplicate = QAction(MainWindow)
        self.actionDuplicate.setObjectName(u"actionDuplicate")
        self.actionLive_tutorial = QAction(MainWindow)
        self.actionLive_tutorial.setObjectName(u"actionLive_tutorial")
        self.actionLive_tutorial.setIcon(icon7)
        self.actionUpgrade_project = QAction(MainWindow)
        self.actionUpgrade_project.setObjectName(u"actionUpgrade_project")
        self.actionRemove = QAction(MainWindow)
        self.actionRemove.setObjectName(u"actionRemove")
        self.actionOpen_project_directory = QAction(MainWindow)
        self.actionOpen_project_directory.setObjectName(
            u"actionOpen_project_directory")
        self.actionOpen_item_directory = QAction(MainWindow)
        self.actionOpen_item_directory.setObjectName(
            u"actionOpen_item_directory")
        self.actionRename_item = QAction(MainWindow)
        self.actionRename_item.setObjectName(u"actionRename_item")
        self.actionNew_DB_editor = QAction(MainWindow)
        self.actionNew_DB_editor.setObjectName(u"actionNew_DB_editor")
        icon12 = QIcon()
        icon12.addFile(u":/icons/database-edit.svg", QSize(), QIcon.Normal,
                       QIcon.Off)
        self.actionNew_DB_editor.setIcon(icon12)
        self.actionPasteAndDuplicateFiles = QAction(MainWindow)
        self.actionPasteAndDuplicateFiles.setObjectName(
            u"actionPasteAndDuplicateFiles")
        self.actionDuplicateAndDuplicateFiles = QAction(MainWindow)
        self.actionDuplicateAndDuplicateFiles.setObjectName(
            u"actionDuplicateAndDuplicateFiles")
        self.actionInstall_plugin = QAction(MainWindow)
        self.actionInstall_plugin.setObjectName(u"actionInstall_plugin")
        self.actionManage_plugins = QAction(MainWindow)
        self.actionManage_plugins.setObjectName(u"actionManage_plugins")
        self.actionCreate_plugin = QAction(MainWindow)
        self.actionCreate_plugin.setObjectName(u"actionCreate_plugin")
        self.actionCreate_plugin.setEnabled(False)
        self.actionCreate_plugin.setVisible(False)
        self.centralwidget = QWidget(MainWindow)
        self.centralwidget.setObjectName(u"centralwidget")
        self.verticalLayout_10 = QVBoxLayout(self.centralwidget)
        self.verticalLayout_10.setSpacing(0)
        self.verticalLayout_10.setObjectName(u"verticalLayout_10")
        self.verticalLayout_10.setContentsMargins(0, 0, 0, 0)
        self.label = QLabel(self.centralwidget)
        self.label.setObjectName(u"label")
        sizePolicy = QSizePolicy(QSizePolicy.Preferred, QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.label.sizePolicy().hasHeightForWidth())
        self.label.setSizePolicy(sizePolicy)
        self.label.setMinimumSize(QSize(0, 20))
        self.label.setMaximumSize(QSize(16777215, 20))
        self.label.setAutoFillBackground(False)
        self.label.setFrameShape(QFrame.NoFrame)
        self.label.setFrameShadow(QFrame.Plain)
        self.label.setLineWidth(1)
        self.label.setMargin(0)
        self.label.setIndent(5)

        self.verticalLayout_10.addWidget(self.label)

        self.graphicsView = DesignQGraphicsView(self.centralwidget)
        self.graphicsView.setObjectName(u"graphicsView")
        sizePolicy1 = QSizePolicy(QSizePolicy.Expanding, QSizePolicy.Expanding)
        sizePolicy1.setHorizontalStretch(0)
        sizePolicy1.setVerticalStretch(0)
        sizePolicy1.setHeightForWidth(
            self.graphicsView.sizePolicy().hasHeightForWidth())
        self.graphicsView.setSizePolicy(sizePolicy1)
        self.graphicsView.setContextMenuPolicy(Qt.DefaultContextMenu)
        self.graphicsView.setFrameShape(QFrame.NoFrame)
        self.graphicsView.setFrameShadow(QFrame.Raised)
        self.graphicsView.setMidLineWidth(0)
        self.graphicsView.setAlignment(Qt.AlignCenter)
        self.graphicsView.setRenderHints(QPainter.Antialiasing
                                         | QPainter.TextAntialiasing)
        self.graphicsView.setDragMode(QGraphicsView.ScrollHandDrag)
        self.graphicsView.setResizeAnchor(QGraphicsView.AnchorUnderMouse)
        self.graphicsView.setViewportUpdateMode(
            QGraphicsView.FullViewportUpdate)
        self.graphicsView.setRubberBandSelectionMode(
            Qt.ContainsItemBoundingRect)

        self.verticalLayout_10.addWidget(self.graphicsView)

        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QMenuBar(MainWindow)
        self.menubar.setObjectName(u"menubar")
        self.menubar.setGeometry(QRect(0, 0, 1326, 27))
        self.menubar.setNativeMenuBar(False)
        self.menuFile = QMenu(self.menubar)
        self.menuFile.setObjectName(u"menuFile")
        self.menuFile.setToolTipsVisible(True)
        self.menuHelp = QMenu(self.menubar)
        self.menuHelp.setObjectName(u"menuHelp")
        self.menuEdit = QMenu(self.menubar)
        self.menuEdit.setObjectName(u"menuEdit")
        self.menuView = QMenu(self.menubar)
        self.menuView.setObjectName(u"menuView")
        self.menuToolbars = QMenu(self.menuView)
        self.menuToolbars.setObjectName(u"menuToolbars")
        self.menuDock_Widgets = QMenu(self.menuView)
        self.menuDock_Widgets.setObjectName(u"menuDock_Widgets")
        self.menuPlugins = QMenu(self.menubar)
        self.menuPlugins.setObjectName(u"menuPlugins")
        MainWindow.setMenuBar(self.menubar)
        self.statusbar = QStatusBar(MainWindow)
        self.statusbar.setObjectName(u"statusbar")
        MainWindow.setStatusBar(self.statusbar)
        self.dockWidget_eventlog = QDockWidget(MainWindow)
        self.dockWidget_eventlog.setObjectName(u"dockWidget_eventlog")
        sizePolicy2 = QSizePolicy(QSizePolicy.Preferred, QSizePolicy.Preferred)
        sizePolicy2.setHorizontalStretch(0)
        sizePolicy2.setVerticalStretch(0)
        sizePolicy2.setHeightForWidth(
            self.dockWidget_eventlog.sizePolicy().hasHeightForWidth())
        self.dockWidget_eventlog.setSizePolicy(sizePolicy2)
        self.dockWidget_eventlog.setMinimumSize(QSize(174, 184))
        self.dockWidget_eventlog.setFeatures(QDockWidget.AllDockWidgetFeatures)
        self.dockWidgetContents = QWidget()
        self.dockWidgetContents.setObjectName(u"dockWidgetContents")
        sizePolicy1.setHeightForWidth(
            self.dockWidgetContents.sizePolicy().hasHeightForWidth())
        self.dockWidgetContents.setSizePolicy(sizePolicy1)
        self.verticalLayout_5 = QVBoxLayout(self.dockWidgetContents)
        self.verticalLayout_5.setSpacing(0)
        self.verticalLayout_5.setObjectName(u"verticalLayout_5")
        self.verticalLayout_5.setContentsMargins(0, 0, 0, 0)
        self.textBrowser_eventlog = CustomQTextBrowser(self.dockWidgetContents)
        self.textBrowser_eventlog.setObjectName(u"textBrowser_eventlog")
        sizePolicy2.setHeightForWidth(
            self.textBrowser_eventlog.sizePolicy().hasHeightForWidth())
        self.textBrowser_eventlog.setSizePolicy(sizePolicy2)
        self.textBrowser_eventlog.setContextMenuPolicy(Qt.DefaultContextMenu)
        self.textBrowser_eventlog.setOpenLinks(False)

        self.verticalLayout_5.addWidget(self.textBrowser_eventlog)

        self.dockWidget_eventlog.setWidget(self.dockWidgetContents)
        MainWindow.addDockWidget(Qt.BottomDockWidgetArea,
                                 self.dockWidget_eventlog)
        self.dockWidget_itemlog = QDockWidget(MainWindow)
        self.dockWidget_itemlog.setObjectName(u"dockWidget_itemlog")
        sizePolicy2.setHeightForWidth(
            self.dockWidget_itemlog.sizePolicy().hasHeightForWidth())
        self.dockWidget_itemlog.setSizePolicy(sizePolicy2)
        self.dockWidget_itemlog.setMinimumSize(QSize(382, 178))
        self.dockWidgetContents_2 = QWidget()
        self.dockWidgetContents_2.setObjectName(u"dockWidgetContents_2")
        sizePolicy1.setHeightForWidth(
            self.dockWidgetContents_2.sizePolicy().hasHeightForWidth())
        self.dockWidgetContents_2.setSizePolicy(sizePolicy1)
        self.verticalLayout_3 = QVBoxLayout(self.dockWidgetContents_2)
        self.verticalLayout_3.setSpacing(0)
        self.verticalLayout_3.setObjectName(u"verticalLayout_3")
        self.verticalLayout_3.setContentsMargins(0, 0, 0, 0)
        self.label_no_itemlog = QLabel(self.dockWidgetContents_2)
        self.label_no_itemlog.setObjectName(u"label_no_itemlog")
        self.label_no_itemlog.setAlignment(Qt.AlignCenter)

        self.verticalLayout_3.addWidget(self.label_no_itemlog)

        self.textBrowser_itemlog = CustomQTextBrowser(
            self.dockWidgetContents_2)
        self.textBrowser_itemlog.setObjectName(u"textBrowser_itemlog")
        sizePolicy2.setHeightForWidth(
            self.textBrowser_itemlog.sizePolicy().hasHeightForWidth())
        self.textBrowser_itemlog.setSizePolicy(sizePolicy2)
        font = QFont()
        font.setFamily(u"Segoe UI")
        self.textBrowser_itemlog.setFont(font)
        self.textBrowser_itemlog.setContextMenuPolicy(Qt.DefaultContextMenu)
        self.textBrowser_itemlog.setOpenLinks(False)

        self.verticalLayout_3.addWidget(self.textBrowser_itemlog)

        self.dockWidget_itemlog.setWidget(self.dockWidgetContents_2)
        MainWindow.addDockWidget(Qt.BottomDockWidgetArea,
                                 self.dockWidget_itemlog)
        self.dockWidget_item = QDockWidget(MainWindow)
        self.dockWidget_item.setObjectName(u"dockWidget_item")
        self.dockWidget_item.setMinimumSize(QSize(356, 293))
        self.dockWidgetContents_3 = QWidget()
        self.dockWidgetContents_3.setObjectName(u"dockWidgetContents_3")
        self.verticalLayout = QVBoxLayout(self.dockWidgetContents_3)
        self.verticalLayout.setSpacing(6)
        self.verticalLayout.setObjectName(u"verticalLayout")
        self.verticalLayout.setContentsMargins(0, 0, 0, 0)
        self.tabWidget_item_properties = QTabWidget(self.dockWidgetContents_3)
        self.tabWidget_item_properties.setObjectName(
            u"tabWidget_item_properties")
        self.tabWidget_item_properties.setStyleSheet(u"")
        self.tab_no_selection = QWidget()
        self.tab_no_selection.setObjectName(u"tab_no_selection")
        self.verticalLayout_14 = QVBoxLayout(self.tab_no_selection)
        self.verticalLayout_14.setObjectName(u"verticalLayout_14")
        self.verticalLayout_14.setContentsMargins(6, 6, 6, 6)
        self.label_no_selection = QLabel(self.tab_no_selection)
        self.label_no_selection.setObjectName(u"label_no_selection")
        self.label_no_selection.setAlignment(Qt.AlignCenter)

        self.verticalLayout_14.addWidget(self.label_no_selection)

        self.tabWidget_item_properties.addTab(self.tab_no_selection, "")

        self.verticalLayout.addWidget(self.tabWidget_item_properties)

        self.dockWidget_item.setWidget(self.dockWidgetContents_3)
        MainWindow.addDockWidget(Qt.RightDockWidgetArea, self.dockWidget_item)
        self.dockWidget_julia_console = QDockWidget(MainWindow)
        self.dockWidget_julia_console.setObjectName(
            u"dockWidget_julia_console")
        self.dockWidget_julia_console.setMinimumSize(QSize(324, 80))
        self.dockWidgetContents_julia_console = QWidget()
        self.dockWidgetContents_julia_console.setObjectName(
            u"dockWidgetContents_julia_console")
        self.verticalLayout_9 = QVBoxLayout(
            self.dockWidgetContents_julia_console)
        self.verticalLayout_9.setSpacing(0)
        self.verticalLayout_9.setObjectName(u"verticalLayout_9")
        self.verticalLayout_9.setContentsMargins(0, 0, 0, 0)
        self.label_no_julia_console = QLabel(
            self.dockWidgetContents_julia_console)
        self.label_no_julia_console.setObjectName(u"label_no_julia_console")
        self.label_no_julia_console.setAlignment(Qt.AlignCenter)

        self.verticalLayout_9.addWidget(self.label_no_julia_console)

        self.dockWidget_julia_console.setWidget(
            self.dockWidgetContents_julia_console)
        MainWindow.addDockWidget(Qt.BottomDockWidgetArea,
                                 self.dockWidget_julia_console)
        self.dockWidget_project = QDockWidget(MainWindow)
        self.dockWidget_project.setObjectName(u"dockWidget_project")
        self.dockWidget_project.setMinimumSize(QSize(136, 344))
        self.dockWidget_project.setAllowedAreas(Qt.AllDockWidgetAreas)
        self.dockWidgetContents_4 = QWidget()
        self.dockWidgetContents_4.setObjectName(u"dockWidgetContents_4")
        self.verticalLayout_4 = QVBoxLayout(self.dockWidgetContents_4)
        self.verticalLayout_4.setSpacing(1)
        self.verticalLayout_4.setObjectName(u"verticalLayout_4")
        self.verticalLayout_4.setContentsMargins(0, 0, 0, 0)
        self.treeView_project = QTreeView(self.dockWidgetContents_4)
        self.treeView_project.setObjectName(u"treeView_project")
        sizePolicy1.setHeightForWidth(
            self.treeView_project.sizePolicy().hasHeightForWidth())
        self.treeView_project.setSizePolicy(sizePolicy1)
        self.treeView_project.setMaximumSize(QSize(16777215, 16777215))
        self.treeView_project.setContextMenuPolicy(Qt.CustomContextMenu)
        self.treeView_project.setEditTriggers(QAbstractItemView.NoEditTriggers)
        self.treeView_project.setSelectionMode(
            QAbstractItemView.ExtendedSelection)
        self.treeView_project.setUniformRowHeights(True)
        self.treeView_project.setAnimated(True)

        self.verticalLayout_4.addWidget(self.treeView_project)

        self.dockWidget_project.setWidget(self.dockWidgetContents_4)
        MainWindow.addDockWidget(Qt.LeftDockWidgetArea,
                                 self.dockWidget_project)
        self.dockWidget_python_console = QDockWidget(MainWindow)
        self.dockWidget_python_console.setObjectName(
            u"dockWidget_python_console")
        self.dockWidget_python_console.setFloating(False)
        self.dockWidget_python_console.setFeatures(
            QDockWidget.AllDockWidgetFeatures)
        self.dockWidgetContents_python_console = QWidget()
        self.dockWidgetContents_python_console.setObjectName(
            u"dockWidgetContents_python_console")
        self.verticalLayout_20 = QVBoxLayout(
            self.dockWidgetContents_python_console)
        self.verticalLayout_20.setSpacing(0)
        self.verticalLayout_20.setObjectName(u"verticalLayout_20")
        self.verticalLayout_20.setContentsMargins(0, 0, 0, 0)
        self.label_no_python_console = QLabel(
            self.dockWidgetContents_python_console)
        self.label_no_python_console.setObjectName(u"label_no_python_console")
        self.label_no_python_console.setAlignment(Qt.AlignCenter)

        self.verticalLayout_20.addWidget(self.label_no_python_console)

        self.dockWidget_python_console.setWidget(
            self.dockWidgetContents_python_console)
        MainWindow.addDockWidget(Qt.BottomDockWidgetArea,
                                 self.dockWidget_python_console)
        self.dockWidget_executions = QDockWidget(MainWindow)
        self.dockWidget_executions.setObjectName(u"dockWidget_executions")
        self.dockWidgetContents_executions = QWidget()
        self.dockWidgetContents_executions.setObjectName(
            u"dockWidgetContents_executions")
        self.verticalLayout_6 = QVBoxLayout(self.dockWidgetContents_executions)
        self.verticalLayout_6.setSpacing(0)
        self.verticalLayout_6.setObjectName(u"verticalLayout_6")
        self.verticalLayout_6.setContentsMargins(0, 0, 0, 0)
        self.listView_executions = QListView(
            self.dockWidgetContents_executions)
        self.listView_executions.setObjectName(u"listView_executions")
        sizePolicy1.setHeightForWidth(
            self.listView_executions.sizePolicy().hasHeightForWidth())
        self.listView_executions.setSizePolicy(sizePolicy1)

        self.verticalLayout_6.addWidget(self.listView_executions)

        self.dockWidget_executions.setWidget(
            self.dockWidgetContents_executions)
        MainWindow.addDockWidget(Qt.BottomDockWidgetArea,
                                 self.dockWidget_executions)
        QWidget.setTabOrder(self.graphicsView, self.textBrowser_eventlog)
        QWidget.setTabOrder(self.textBrowser_eventlog,
                            self.textBrowser_itemlog)
        QWidget.setTabOrder(self.textBrowser_itemlog,
                            self.tabWidget_item_properties)

        self.menubar.addAction(self.menuFile.menuAction())
        self.menubar.addAction(self.menuEdit.menuAction())
        self.menubar.addAction(self.menuView.menuAction())
        self.menubar.addAction(self.menuPlugins.menuAction())
        self.menubar.addAction(self.menuHelp.menuAction())
        self.menuFile.addAction(self.actionNew)
        self.menuFile.addAction(self.actionOpen)
        self.menuFile.addAction(self.actionOpen_recent)
        self.menuFile.addAction(self.actionSave)
        self.menuFile.addAction(self.actionSave_As)
        self.menuFile.addSeparator()
        self.menuFile.addAction(self.actionExport_project_to_GraphML)
        self.menuFile.addSeparator()
        self.menuFile.addAction(self.actionNew_DB_editor)
        self.menuFile.addSeparator()
        self.menuFile.addAction(self.actionSettings)
        self.menuFile.addSeparator()
        self.menuFile.addAction(self.actionQuit)
        self.menuHelp.addAction(self.actionUser_Guide)
        self.menuHelp.addAction(self.actionGetting_started)
        self.menuHelp.addSeparator()
        self.menuHelp.addAction(self.actionAbout_Qt)
        self.menuHelp.addAction(self.actionAbout)
        self.menuEdit.addAction(self.actionCopy)
        self.menuEdit.addAction(self.actionPaste)
        self.menuEdit.addAction(self.actionPasteAndDuplicateFiles)
        self.menuEdit.addAction(self.actionDuplicate)
        self.menuEdit.addAction(self.actionDuplicateAndDuplicateFiles)
        self.menuEdit.addSeparator()
        self.menuEdit.addAction(self.actionRemove)
        self.menuEdit.addAction(self.actionRemove_all)
        self.menuView.addAction(self.menuToolbars.menuAction())
        self.menuView.addAction(self.menuDock_Widgets.menuAction())
        self.menuDock_Widgets.addAction(self.actionRestore_Dock_Widgets)
        self.menuDock_Widgets.addSeparator()
        self.menuPlugins.addAction(self.actionInstall_plugin)
        self.menuPlugins.addAction(self.actionManage_plugins)
        self.menuPlugins.addSeparator()
        self.menuPlugins.addAction(self.actionCreate_plugin)

        self.retranslateUi(MainWindow)

        self.tabWidget_item_properties.setCurrentIndex(0)

        QMetaObject.connectSlotsByName(MainWindow)
Ejemplo n.º 4
0
class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        if not MainWindow.objectName():
            MainWindow.setObjectName(u"MainWindow")
        MainWindow.resize(1326, 700)
        self.actionQuit = QAction(MainWindow)
        self.actionQuit.setObjectName(u"actionQuit")
        icon = QIcon()
        icon.addFile(u":/icons/menu_icons/window-close.svg", QSize(),
                     QIcon.Normal, QIcon.Off)
        self.actionQuit.setIcon(icon)
        self.actionDocumentation = QAction(MainWindow)
        self.actionDocumentation.setObjectName(u"actionDocumentation")
        self.actionAbout = QAction(MainWindow)
        self.actionAbout.setObjectName(u"actionAbout")
        icon1 = QIcon()
        icon1.addFile(u":/icons/menu_icons/info-circle.svg", QSize(),
                      QIcon.Normal, QIcon.Off)
        self.actionAbout.setIcon(icon1)
        self.actionSave = QAction(MainWindow)
        self.actionSave.setObjectName(u"actionSave")
        icon2 = QIcon()
        icon2.addFile(u":/icons/menu_icons/save_solid.svg", QSize(),
                      QIcon.Normal, QIcon.Off)
        self.actionSave.setIcon(icon2)
        self.actionSave_As = QAction(MainWindow)
        self.actionSave_As.setObjectName(u"actionSave_As")
        icon3 = QIcon()
        icon3.addFile(u":/icons/menu_icons/save_regular.svg", QSize(),
                      QIcon.Normal, QIcon.Off)
        self.actionSave_As.setIcon(icon3)
        self.actionOpen = QAction(MainWindow)
        self.actionOpen.setObjectName(u"actionOpen")
        icon4 = QIcon()
        icon4.addFile(u":/icons/menu_icons/folder-open-solid.svg", QSize(),
                      QIcon.Normal, QIcon.Off)
        self.actionOpen.setIcon(icon4)
        self.actionNew = QAction(MainWindow)
        self.actionNew.setObjectName(u"actionNew")
        icon5 = QIcon()
        icon5.addFile(u":/icons/menu_icons/file.svg", QSize(), QIcon.Normal,
                      QIcon.Off)
        self.actionNew.setIcon(icon5)
        self.actionSettings = QAction(MainWindow)
        self.actionSettings.setObjectName(u"actionSettings")
        icon6 = QIcon()
        icon6.addFile(u":/icons/menu_icons/cog.svg", QSize(), QIcon.Normal,
                      QIcon.Off)
        self.actionSettings.setIcon(icon6)
        self.actionItem_Toolbar = QAction(MainWindow)
        self.actionItem_Toolbar.setObjectName(u"actionItem_Toolbar")
        self.actionAdd_Item_Toolbar = QAction(MainWindow)
        self.actionAdd_Item_Toolbar.setObjectName(u"actionAdd_Item_Toolbar")
        self.actionEvent_Log = QAction(MainWindow)
        self.actionEvent_Log.setObjectName(u"actionEvent_Log")
        self.actionEvent_Log.setCheckable(False)
        self.actionEvent_Log.setChecked(False)
        self.actionSubprocess_Output = QAction(MainWindow)
        self.actionSubprocess_Output.setObjectName(u"actionSubprocess_Output")
        self.actionSelected_Item = QAction(MainWindow)
        self.actionSelected_Item.setObjectName(u"actionSelected_Item")
        self.actionJulia_REPL = QAction(MainWindow)
        self.actionJulia_REPL.setObjectName(u"actionJulia_REPL")
        self.actionUser_Guide = QAction(MainWindow)
        self.actionUser_Guide.setObjectName(u"actionUser_Guide")
        icon7 = QIcon()
        icon7.addFile(u":/icons/menu_icons/question-circle.svg", QSize(),
                      QIcon.Normal, QIcon.Off)
        self.actionUser_Guide.setIcon(icon7)
        self.actionRestore_Dock_Widgets = QAction(MainWindow)
        self.actionRestore_Dock_Widgets.setObjectName(
            u"actionRestore_Dock_Widgets")
        self.actionAbout_Qt = QAction(MainWindow)
        self.actionAbout_Qt.setObjectName(u"actionAbout_Qt")
        icon8 = QIcon()
        icon8.addFile(u":/icons/qt_extended_48x48.png", QSize(), QIcon.Normal,
                      QIcon.Off)
        self.actionAbout_Qt.setIcon(icon8)
        self.actionRemove_all = QAction(MainWindow)
        self.actionRemove_all.setObjectName(u"actionRemove_all")
        icon9 = QIcon()
        icon9.addFile(u":/icons/menu_icons/trash-alt.svg", QSize(),
                      QIcon.Normal, QIcon.Off)
        self.actionRemove_all.setIcon(icon9)
        self.actionExport_project_to_GraphML = QAction(MainWindow)
        self.actionExport_project_to_GraphML.setObjectName(
            u"actionExport_project_to_GraphML")
        icon10 = QIcon()
        icon10.addFile(u":/icons/menu_icons/file-export.svg", QSize(),
                       QIcon.Normal, QIcon.Off)
        self.actionExport_project_to_GraphML.setIcon(icon10)
        self.actionGetting_started = QAction(MainWindow)
        self.actionGetting_started.setObjectName(u"actionGetting_started")
        self.actionGetting_started.setIcon(icon7)
        self.actionOpen_recent = QAction(MainWindow)
        self.actionOpen_recent.setObjectName(u"actionOpen_recent")
        icon11 = QIcon()
        icon11.addFile(u":/icons/menu_icons/history.svg", QSize(),
                       QIcon.Normal, QIcon.Off)
        self.actionOpen_recent.setIcon(icon11)
        self.actionCopy = QAction(MainWindow)
        self.actionCopy.setObjectName(u"actionCopy")
        self.actionPaste = QAction(MainWindow)
        self.actionPaste.setObjectName(u"actionPaste")
        self.actionDuplicate = QAction(MainWindow)
        self.actionDuplicate.setObjectName(u"actionDuplicate")
        self.actionLive_tutorial = QAction(MainWindow)
        self.actionLive_tutorial.setObjectName(u"actionLive_tutorial")
        self.actionLive_tutorial.setIcon(icon7)
        self.actionUpgrade_project = QAction(MainWindow)
        self.actionUpgrade_project.setObjectName(u"actionUpgrade_project")
        self.actionRemove = QAction(MainWindow)
        self.actionRemove.setObjectName(u"actionRemove")
        self.actionOpen_project_directory = QAction(MainWindow)
        self.actionOpen_project_directory.setObjectName(
            u"actionOpen_project_directory")
        self.actionOpen_item_directory = QAction(MainWindow)
        self.actionOpen_item_directory.setObjectName(
            u"actionOpen_item_directory")
        self.actionRename_item = QAction(MainWindow)
        self.actionRename_item.setObjectName(u"actionRename_item")
        self.actionNew_DB_editor = QAction(MainWindow)
        self.actionNew_DB_editor.setObjectName(u"actionNew_DB_editor")
        icon12 = QIcon()
        icon12.addFile(u":/icons/database-edit.svg", QSize(), QIcon.Normal,
                       QIcon.Off)
        self.actionNew_DB_editor.setIcon(icon12)
        self.actionPasteAndDuplicateFiles = QAction(MainWindow)
        self.actionPasteAndDuplicateFiles.setObjectName(
            u"actionPasteAndDuplicateFiles")
        self.actionDuplicateAndDuplicateFiles = QAction(MainWindow)
        self.actionDuplicateAndDuplicateFiles.setObjectName(
            u"actionDuplicateAndDuplicateFiles")
        self.actionInstall_plugin = QAction(MainWindow)
        self.actionInstall_plugin.setObjectName(u"actionInstall_plugin")
        self.actionManage_plugins = QAction(MainWindow)
        self.actionManage_plugins.setObjectName(u"actionManage_plugins")
        self.actionCreate_plugin = QAction(MainWindow)
        self.actionCreate_plugin.setObjectName(u"actionCreate_plugin")
        self.actionCreate_plugin.setEnabled(False)
        self.actionCreate_plugin.setVisible(False)
        self.centralwidget = QWidget(MainWindow)
        self.centralwidget.setObjectName(u"centralwidget")
        self.verticalLayout_10 = QVBoxLayout(self.centralwidget)
        self.verticalLayout_10.setSpacing(0)
        self.verticalLayout_10.setObjectName(u"verticalLayout_10")
        self.verticalLayout_10.setContentsMargins(0, 0, 0, 0)
        self.label = QLabel(self.centralwidget)
        self.label.setObjectName(u"label")
        sizePolicy = QSizePolicy(QSizePolicy.Preferred, QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.label.sizePolicy().hasHeightForWidth())
        self.label.setSizePolicy(sizePolicy)
        self.label.setMinimumSize(QSize(0, 20))
        self.label.setMaximumSize(QSize(16777215, 20))
        self.label.setAutoFillBackground(False)
        self.label.setFrameShape(QFrame.NoFrame)
        self.label.setFrameShadow(QFrame.Plain)
        self.label.setLineWidth(1)
        self.label.setMargin(0)
        self.label.setIndent(5)

        self.verticalLayout_10.addWidget(self.label)

        self.graphicsView = DesignQGraphicsView(self.centralwidget)
        self.graphicsView.setObjectName(u"graphicsView")
        sizePolicy1 = QSizePolicy(QSizePolicy.Expanding, QSizePolicy.Expanding)
        sizePolicy1.setHorizontalStretch(0)
        sizePolicy1.setVerticalStretch(0)
        sizePolicy1.setHeightForWidth(
            self.graphicsView.sizePolicy().hasHeightForWidth())
        self.graphicsView.setSizePolicy(sizePolicy1)
        self.graphicsView.setContextMenuPolicy(Qt.DefaultContextMenu)
        self.graphicsView.setFrameShape(QFrame.NoFrame)
        self.graphicsView.setFrameShadow(QFrame.Raised)
        self.graphicsView.setMidLineWidth(0)
        self.graphicsView.setAlignment(Qt.AlignCenter)
        self.graphicsView.setRenderHints(QPainter.Antialiasing
                                         | QPainter.TextAntialiasing)
        self.graphicsView.setDragMode(QGraphicsView.ScrollHandDrag)
        self.graphicsView.setResizeAnchor(QGraphicsView.AnchorUnderMouse)
        self.graphicsView.setViewportUpdateMode(
            QGraphicsView.FullViewportUpdate)
        self.graphicsView.setRubberBandSelectionMode(
            Qt.ContainsItemBoundingRect)

        self.verticalLayout_10.addWidget(self.graphicsView)

        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QMenuBar(MainWindow)
        self.menubar.setObjectName(u"menubar")
        self.menubar.setGeometry(QRect(0, 0, 1326, 27))
        self.menubar.setNativeMenuBar(False)
        self.menuFile = QMenu(self.menubar)
        self.menuFile.setObjectName(u"menuFile")
        self.menuFile.setToolTipsVisible(True)
        self.menuHelp = QMenu(self.menubar)
        self.menuHelp.setObjectName(u"menuHelp")
        self.menuEdit = QMenu(self.menubar)
        self.menuEdit.setObjectName(u"menuEdit")
        self.menuView = QMenu(self.menubar)
        self.menuView.setObjectName(u"menuView")
        self.menuToolbars = QMenu(self.menuView)
        self.menuToolbars.setObjectName(u"menuToolbars")
        self.menuDock_Widgets = QMenu(self.menuView)
        self.menuDock_Widgets.setObjectName(u"menuDock_Widgets")
        self.menuPlugins = QMenu(self.menubar)
        self.menuPlugins.setObjectName(u"menuPlugins")
        MainWindow.setMenuBar(self.menubar)
        self.statusbar = QStatusBar(MainWindow)
        self.statusbar.setObjectName(u"statusbar")
        MainWindow.setStatusBar(self.statusbar)
        self.dockWidget_eventlog = QDockWidget(MainWindow)
        self.dockWidget_eventlog.setObjectName(u"dockWidget_eventlog")
        sizePolicy2 = QSizePolicy(QSizePolicy.Preferred, QSizePolicy.Preferred)
        sizePolicy2.setHorizontalStretch(0)
        sizePolicy2.setVerticalStretch(0)
        sizePolicy2.setHeightForWidth(
            self.dockWidget_eventlog.sizePolicy().hasHeightForWidth())
        self.dockWidget_eventlog.setSizePolicy(sizePolicy2)
        self.dockWidget_eventlog.setMinimumSize(QSize(174, 184))
        self.dockWidget_eventlog.setFeatures(QDockWidget.AllDockWidgetFeatures)
        self.dockWidgetContents = QWidget()
        self.dockWidgetContents.setObjectName(u"dockWidgetContents")
        sizePolicy1.setHeightForWidth(
            self.dockWidgetContents.sizePolicy().hasHeightForWidth())
        self.dockWidgetContents.setSizePolicy(sizePolicy1)
        self.verticalLayout_5 = QVBoxLayout(self.dockWidgetContents)
        self.verticalLayout_5.setSpacing(0)
        self.verticalLayout_5.setObjectName(u"verticalLayout_5")
        self.verticalLayout_5.setContentsMargins(0, 0, 0, 0)
        self.textBrowser_eventlog = CustomQTextBrowser(self.dockWidgetContents)
        self.textBrowser_eventlog.setObjectName(u"textBrowser_eventlog")
        sizePolicy2.setHeightForWidth(
            self.textBrowser_eventlog.sizePolicy().hasHeightForWidth())
        self.textBrowser_eventlog.setSizePolicy(sizePolicy2)
        self.textBrowser_eventlog.setContextMenuPolicy(Qt.DefaultContextMenu)
        self.textBrowser_eventlog.setOpenLinks(False)

        self.verticalLayout_5.addWidget(self.textBrowser_eventlog)

        self.dockWidget_eventlog.setWidget(self.dockWidgetContents)
        MainWindow.addDockWidget(Qt.BottomDockWidgetArea,
                                 self.dockWidget_eventlog)
        self.dockWidget_itemlog = QDockWidget(MainWindow)
        self.dockWidget_itemlog.setObjectName(u"dockWidget_itemlog")
        sizePolicy2.setHeightForWidth(
            self.dockWidget_itemlog.sizePolicy().hasHeightForWidth())
        self.dockWidget_itemlog.setSizePolicy(sizePolicy2)
        self.dockWidget_itemlog.setMinimumSize(QSize(382, 178))
        self.dockWidgetContents_2 = QWidget()
        self.dockWidgetContents_2.setObjectName(u"dockWidgetContents_2")
        sizePolicy1.setHeightForWidth(
            self.dockWidgetContents_2.sizePolicy().hasHeightForWidth())
        self.dockWidgetContents_2.setSizePolicy(sizePolicy1)
        self.verticalLayout_3 = QVBoxLayout(self.dockWidgetContents_2)
        self.verticalLayout_3.setSpacing(0)
        self.verticalLayout_3.setObjectName(u"verticalLayout_3")
        self.verticalLayout_3.setContentsMargins(0, 0, 0, 0)
        self.label_no_itemlog = QLabel(self.dockWidgetContents_2)
        self.label_no_itemlog.setObjectName(u"label_no_itemlog")
        self.label_no_itemlog.setAlignment(Qt.AlignCenter)

        self.verticalLayout_3.addWidget(self.label_no_itemlog)

        self.textBrowser_itemlog = CustomQTextBrowser(
            self.dockWidgetContents_2)
        self.textBrowser_itemlog.setObjectName(u"textBrowser_itemlog")
        sizePolicy2.setHeightForWidth(
            self.textBrowser_itemlog.sizePolicy().hasHeightForWidth())
        self.textBrowser_itemlog.setSizePolicy(sizePolicy2)
        font = QFont()
        font.setFamily(u"Segoe UI")
        self.textBrowser_itemlog.setFont(font)
        self.textBrowser_itemlog.setContextMenuPolicy(Qt.DefaultContextMenu)
        self.textBrowser_itemlog.setOpenLinks(False)

        self.verticalLayout_3.addWidget(self.textBrowser_itemlog)

        self.dockWidget_itemlog.setWidget(self.dockWidgetContents_2)
        MainWindow.addDockWidget(Qt.BottomDockWidgetArea,
                                 self.dockWidget_itemlog)
        self.dockWidget_item = QDockWidget(MainWindow)
        self.dockWidget_item.setObjectName(u"dockWidget_item")
        self.dockWidget_item.setMinimumSize(QSize(356, 293))
        self.dockWidgetContents_3 = QWidget()
        self.dockWidgetContents_3.setObjectName(u"dockWidgetContents_3")
        self.verticalLayout = QVBoxLayout(self.dockWidgetContents_3)
        self.verticalLayout.setSpacing(6)
        self.verticalLayout.setObjectName(u"verticalLayout")
        self.verticalLayout.setContentsMargins(0, 0, 0, 0)
        self.tabWidget_item_properties = QTabWidget(self.dockWidgetContents_3)
        self.tabWidget_item_properties.setObjectName(
            u"tabWidget_item_properties")
        self.tabWidget_item_properties.setStyleSheet(u"")
        self.tab_no_selection = QWidget()
        self.tab_no_selection.setObjectName(u"tab_no_selection")
        self.verticalLayout_14 = QVBoxLayout(self.tab_no_selection)
        self.verticalLayout_14.setObjectName(u"verticalLayout_14")
        self.verticalLayout_14.setContentsMargins(6, 6, 6, 6)
        self.label_no_selection = QLabel(self.tab_no_selection)
        self.label_no_selection.setObjectName(u"label_no_selection")
        self.label_no_selection.setAlignment(Qt.AlignCenter)

        self.verticalLayout_14.addWidget(self.label_no_selection)

        self.tabWidget_item_properties.addTab(self.tab_no_selection, "")

        self.verticalLayout.addWidget(self.tabWidget_item_properties)

        self.dockWidget_item.setWidget(self.dockWidgetContents_3)
        MainWindow.addDockWidget(Qt.RightDockWidgetArea, self.dockWidget_item)
        self.dockWidget_julia_console = QDockWidget(MainWindow)
        self.dockWidget_julia_console.setObjectName(
            u"dockWidget_julia_console")
        self.dockWidget_julia_console.setMinimumSize(QSize(324, 80))
        self.dockWidgetContents_julia_console = QWidget()
        self.dockWidgetContents_julia_console.setObjectName(
            u"dockWidgetContents_julia_console")
        self.verticalLayout_9 = QVBoxLayout(
            self.dockWidgetContents_julia_console)
        self.verticalLayout_9.setSpacing(0)
        self.verticalLayout_9.setObjectName(u"verticalLayout_9")
        self.verticalLayout_9.setContentsMargins(0, 0, 0, 0)
        self.label_no_julia_console = QLabel(
            self.dockWidgetContents_julia_console)
        self.label_no_julia_console.setObjectName(u"label_no_julia_console")
        self.label_no_julia_console.setAlignment(Qt.AlignCenter)

        self.verticalLayout_9.addWidget(self.label_no_julia_console)

        self.dockWidget_julia_console.setWidget(
            self.dockWidgetContents_julia_console)
        MainWindow.addDockWidget(Qt.BottomDockWidgetArea,
                                 self.dockWidget_julia_console)
        self.dockWidget_project = QDockWidget(MainWindow)
        self.dockWidget_project.setObjectName(u"dockWidget_project")
        self.dockWidget_project.setMinimumSize(QSize(136, 344))
        self.dockWidget_project.setAllowedAreas(Qt.AllDockWidgetAreas)
        self.dockWidgetContents_4 = QWidget()
        self.dockWidgetContents_4.setObjectName(u"dockWidgetContents_4")
        self.verticalLayout_4 = QVBoxLayout(self.dockWidgetContents_4)
        self.verticalLayout_4.setSpacing(1)
        self.verticalLayout_4.setObjectName(u"verticalLayout_4")
        self.verticalLayout_4.setContentsMargins(0, 0, 0, 0)
        self.treeView_project = QTreeView(self.dockWidgetContents_4)
        self.treeView_project.setObjectName(u"treeView_project")
        sizePolicy1.setHeightForWidth(
            self.treeView_project.sizePolicy().hasHeightForWidth())
        self.treeView_project.setSizePolicy(sizePolicy1)
        self.treeView_project.setMaximumSize(QSize(16777215, 16777215))
        self.treeView_project.setContextMenuPolicy(Qt.CustomContextMenu)
        self.treeView_project.setEditTriggers(QAbstractItemView.NoEditTriggers)
        self.treeView_project.setSelectionMode(
            QAbstractItemView.ExtendedSelection)
        self.treeView_project.setUniformRowHeights(True)
        self.treeView_project.setAnimated(True)

        self.verticalLayout_4.addWidget(self.treeView_project)

        self.dockWidget_project.setWidget(self.dockWidgetContents_4)
        MainWindow.addDockWidget(Qt.LeftDockWidgetArea,
                                 self.dockWidget_project)
        self.dockWidget_python_console = QDockWidget(MainWindow)
        self.dockWidget_python_console.setObjectName(
            u"dockWidget_python_console")
        self.dockWidget_python_console.setFloating(False)
        self.dockWidget_python_console.setFeatures(
            QDockWidget.AllDockWidgetFeatures)
        self.dockWidgetContents_python_console = QWidget()
        self.dockWidgetContents_python_console.setObjectName(
            u"dockWidgetContents_python_console")
        self.verticalLayout_20 = QVBoxLayout(
            self.dockWidgetContents_python_console)
        self.verticalLayout_20.setSpacing(0)
        self.verticalLayout_20.setObjectName(u"verticalLayout_20")
        self.verticalLayout_20.setContentsMargins(0, 0, 0, 0)
        self.label_no_python_console = QLabel(
            self.dockWidgetContents_python_console)
        self.label_no_python_console.setObjectName(u"label_no_python_console")
        self.label_no_python_console.setAlignment(Qt.AlignCenter)

        self.verticalLayout_20.addWidget(self.label_no_python_console)

        self.dockWidget_python_console.setWidget(
            self.dockWidgetContents_python_console)
        MainWindow.addDockWidget(Qt.BottomDockWidgetArea,
                                 self.dockWidget_python_console)
        self.dockWidget_executions = QDockWidget(MainWindow)
        self.dockWidget_executions.setObjectName(u"dockWidget_executions")
        self.dockWidgetContents_executions = QWidget()
        self.dockWidgetContents_executions.setObjectName(
            u"dockWidgetContents_executions")
        self.verticalLayout_6 = QVBoxLayout(self.dockWidgetContents_executions)
        self.verticalLayout_6.setSpacing(0)
        self.verticalLayout_6.setObjectName(u"verticalLayout_6")
        self.verticalLayout_6.setContentsMargins(0, 0, 0, 0)
        self.listView_executions = QListView(
            self.dockWidgetContents_executions)
        self.listView_executions.setObjectName(u"listView_executions")
        sizePolicy1.setHeightForWidth(
            self.listView_executions.sizePolicy().hasHeightForWidth())
        self.listView_executions.setSizePolicy(sizePolicy1)

        self.verticalLayout_6.addWidget(self.listView_executions)

        self.dockWidget_executions.setWidget(
            self.dockWidgetContents_executions)
        MainWindow.addDockWidget(Qt.BottomDockWidgetArea,
                                 self.dockWidget_executions)
        QWidget.setTabOrder(self.graphicsView, self.textBrowser_eventlog)
        QWidget.setTabOrder(self.textBrowser_eventlog,
                            self.textBrowser_itemlog)
        QWidget.setTabOrder(self.textBrowser_itemlog,
                            self.tabWidget_item_properties)

        self.menubar.addAction(self.menuFile.menuAction())
        self.menubar.addAction(self.menuEdit.menuAction())
        self.menubar.addAction(self.menuView.menuAction())
        self.menubar.addAction(self.menuPlugins.menuAction())
        self.menubar.addAction(self.menuHelp.menuAction())
        self.menuFile.addAction(self.actionNew)
        self.menuFile.addAction(self.actionOpen)
        self.menuFile.addAction(self.actionOpen_recent)
        self.menuFile.addAction(self.actionSave)
        self.menuFile.addAction(self.actionSave_As)
        self.menuFile.addSeparator()
        self.menuFile.addAction(self.actionExport_project_to_GraphML)
        self.menuFile.addSeparator()
        self.menuFile.addAction(self.actionNew_DB_editor)
        self.menuFile.addSeparator()
        self.menuFile.addAction(self.actionSettings)
        self.menuFile.addSeparator()
        self.menuFile.addAction(self.actionQuit)
        self.menuHelp.addAction(self.actionUser_Guide)
        self.menuHelp.addAction(self.actionGetting_started)
        self.menuHelp.addSeparator()
        self.menuHelp.addAction(self.actionAbout_Qt)
        self.menuHelp.addAction(self.actionAbout)
        self.menuEdit.addAction(self.actionCopy)
        self.menuEdit.addAction(self.actionPaste)
        self.menuEdit.addAction(self.actionPasteAndDuplicateFiles)
        self.menuEdit.addAction(self.actionDuplicate)
        self.menuEdit.addAction(self.actionDuplicateAndDuplicateFiles)
        self.menuEdit.addSeparator()
        self.menuEdit.addAction(self.actionRemove)
        self.menuEdit.addAction(self.actionRemove_all)
        self.menuView.addAction(self.menuToolbars.menuAction())
        self.menuView.addAction(self.menuDock_Widgets.menuAction())
        self.menuDock_Widgets.addAction(self.actionRestore_Dock_Widgets)
        self.menuDock_Widgets.addSeparator()
        self.menuPlugins.addAction(self.actionInstall_plugin)
        self.menuPlugins.addAction(self.actionManage_plugins)
        self.menuPlugins.addSeparator()
        self.menuPlugins.addAction(self.actionCreate_plugin)

        self.retranslateUi(MainWindow)

        self.tabWidget_item_properties.setCurrentIndex(0)

        QMetaObject.connectSlotsByName(MainWindow)

    # setupUi

    def retranslateUi(self, MainWindow):
        MainWindow.setWindowTitle(
            QCoreApplication.translate("MainWindow", u"Spine Toolbox", None))
        self.actionQuit.setText(
            QCoreApplication.translate("MainWindow", u"Quit", None))
        #if QT_CONFIG(tooltip)
        self.actionQuit.setToolTip(
            QCoreApplication.translate(
                "MainWindow", u"<html><head/><body><p>Quit</p></body></html>",
                None))
        #endif // QT_CONFIG(tooltip)
        #if QT_CONFIG(shortcut)
        self.actionQuit.setShortcut(
            QCoreApplication.translate("MainWindow", u"Ctrl+Q", None))
        #endif // QT_CONFIG(shortcut)
        self.actionDocumentation.setText(
            QCoreApplication.translate("MainWindow", u"Documentation", None))
        self.actionAbout.setText(
            QCoreApplication.translate("MainWindow", u"About...", None))
        #if QT_CONFIG(shortcut)
        self.actionAbout.setShortcut(
            QCoreApplication.translate("MainWindow", u"F12", None))
        #endif // QT_CONFIG(shortcut)
        self.actionSave.setText(
            QCoreApplication.translate("MainWindow", u"Save project", None))
        #if QT_CONFIG(tooltip)
        self.actionSave.setToolTip(
            QCoreApplication.translate(
                "MainWindow",
                u"<html><head/><body><p>Save project</p></body></html>", None))
        #endif // QT_CONFIG(tooltip)
        #if QT_CONFIG(shortcut)
        self.actionSave.setShortcut(
            QCoreApplication.translate("MainWindow", u"Ctrl+S", None))
        #endif // QT_CONFIG(shortcut)
        self.actionSave_As.setText(
            QCoreApplication.translate("MainWindow", u"Save project as...",
                                       None))
        #if QT_CONFIG(tooltip)
        self.actionSave_As.setToolTip(
            QCoreApplication.translate(
                "MainWindow",
                u"<html><head/><body><p>Save project in another directory</p></body></html>",
                None))
        #endif // QT_CONFIG(tooltip)
        #if QT_CONFIG(shortcut)
        self.actionSave_As.setShortcut(
            QCoreApplication.translate("MainWindow", u"Ctrl+Shift+S", None))
        #endif // QT_CONFIG(shortcut)
        self.actionOpen.setText(
            QCoreApplication.translate("MainWindow", u"Open project...", None))
        #if QT_CONFIG(tooltip)
        self.actionOpen.setToolTip(
            QCoreApplication.translate(
                "MainWindow",
                u"<html><head/><body><p>Open existing project</p></body></html>",
                None))
        #endif // QT_CONFIG(tooltip)
        #if QT_CONFIG(shortcut)
        self.actionOpen.setShortcut(
            QCoreApplication.translate("MainWindow", u"Ctrl+O", None))
        #endif // QT_CONFIG(shortcut)
        self.actionNew.setText(
            QCoreApplication.translate("MainWindow", u"New project...", None))
        #if QT_CONFIG(tooltip)
        self.actionNew.setToolTip(
            QCoreApplication.translate(
                "MainWindow",
                u"<html><head/><body><p>Create new project</p></body></html>",
                None))
        #endif // QT_CONFIG(tooltip)
        #if QT_CONFIG(shortcut)
        self.actionNew.setShortcut(
            QCoreApplication.translate("MainWindow", u"Ctrl+N", None))
        #endif // QT_CONFIG(shortcut)
        self.actionSettings.setText(
            QCoreApplication.translate("MainWindow", u"Settings...", None))
        #if QT_CONFIG(tooltip)
        self.actionSettings.setToolTip(
            QCoreApplication.translate(
                "MainWindow",
                u"<html><head/><body><p>Open application and project settings</p></body></html>",
                None))
        #endif // QT_CONFIG(tooltip)
        #if QT_CONFIG(shortcut)
        self.actionSettings.setShortcut(
            QCoreApplication.translate("MainWindow", u"Ctrl+,", None))
        #endif // QT_CONFIG(shortcut)
        self.actionItem_Toolbar.setText(
            QCoreApplication.translate("MainWindow", u"Item Toolbar", None))
        self.actionAdd_Item_Toolbar.setText(
            QCoreApplication.translate("MainWindow", u"Add Item Toolbar",
                                       None))
        #if QT_CONFIG(tooltip)
        self.actionAdd_Item_Toolbar.setToolTip(
            QCoreApplication.translate(
                "MainWindow",
                u"<html><head/><body><p>Make Add Item Toolbar visible</p></body></html>",
                None))
        #endif // QT_CONFIG(tooltip)
        self.actionEvent_Log.setText(
            QCoreApplication.translate("MainWindow", u"Event Log", None))
        #if QT_CONFIG(tooltip)
        self.actionEvent_Log.setToolTip(
            QCoreApplication.translate(
                "MainWindow",
                u"<html><head/><body><p>Make Event Log widget visible</p></body></html>",
                None))
        #endif // QT_CONFIG(tooltip)
        self.actionSubprocess_Output.setText(
            QCoreApplication.translate("MainWindow", u"Subprocess Output",
                                       None))
        #if QT_CONFIG(tooltip)
        self.actionSubprocess_Output.setToolTip(
            QCoreApplication.translate(
                "MainWindow",
                u"<html><head/><body><p>Make Subprocess Output widget visible</p></body></html>",
                None))
        #endif // QT_CONFIG(tooltip)
        self.actionSelected_Item.setText(
            QCoreApplication.translate("MainWindow", u"Selected Item", None))
        #if QT_CONFIG(tooltip)
        self.actionSelected_Item.setToolTip(
            QCoreApplication.translate(
                "MainWindow",
                u"<html><head/><body><p>Make Selected Item widget visible</p></body></html>",
                None))
        #endif // QT_CONFIG(tooltip)
        self.actionJulia_REPL.setText(
            QCoreApplication.translate("MainWindow", u"Julia REPL", None))
        #if QT_CONFIG(tooltip)
        self.actionJulia_REPL.setToolTip(
            QCoreApplication.translate(
                "MainWindow",
                u"<html><head/><body><p>Make Julia REPL widget visible</p></body></html>",
                None))
        #endif // QT_CONFIG(tooltip)
        self.actionUser_Guide.setText(
            QCoreApplication.translate("MainWindow", u"User guide", None))
        #if QT_CONFIG(shortcut)
        self.actionUser_Guide.setShortcut(
            QCoreApplication.translate("MainWindow", u"F1", None))
        #endif // QT_CONFIG(shortcut)
        self.actionRestore_Dock_Widgets.setText(
            QCoreApplication.translate("MainWindow", u"Restore Dock Widgets",
                                       None))
        #if QT_CONFIG(tooltip)
        self.actionRestore_Dock_Widgets.setToolTip(
            QCoreApplication.translate(
                "MainWindow",
                u"<html><head/><body><p>Dock all floating and/or hidden dock widgets back to main window.</p></body></html>",
                None))
        #endif // QT_CONFIG(tooltip)
        self.actionAbout_Qt.setText(
            QCoreApplication.translate("MainWindow", u"About Qt...", None))
        #if QT_CONFIG(shortcut)
        self.actionAbout_Qt.setShortcut(
            QCoreApplication.translate("MainWindow", u"F11", None))
        #endif // QT_CONFIG(shortcut)
        self.actionRemove_all.setText(
            QCoreApplication.translate("MainWindow", u"Remove all", None))
        #if QT_CONFIG(tooltip)
        self.actionRemove_all.setToolTip(
            QCoreApplication.translate(
                "MainWindow",
                u"<html><head/><body><p>Remove all project items</p></body></html>",
                None))
        #endif // QT_CONFIG(tooltip)
        self.actionExport_project_to_GraphML.setText(
            QCoreApplication.translate("MainWindow",
                                       u"Export project to GraphML", None))
        #if QT_CONFIG(tooltip)
        self.actionExport_project_to_GraphML.setToolTip(
            QCoreApplication.translate(
                "MainWindow",
                u"<html><head/><body><p>Export project to GraphML</p></body></html>",
                None))
        #endif // QT_CONFIG(tooltip)
        self.actionGetting_started.setText(
            QCoreApplication.translate("MainWindow", u"Getting started", None))
        #if QT_CONFIG(shortcut)
        self.actionGetting_started.setShortcut(
            QCoreApplication.translate("MainWindow", u"F3", None))
        #endif // QT_CONFIG(shortcut)
        self.actionOpen_recent.setText(
            QCoreApplication.translate("MainWindow", u"Open recent", None))
        #if QT_CONFIG(tooltip)
        self.actionOpen_recent.setToolTip(
            QCoreApplication.translate(
                "MainWindow",
                u"<html><head/><body><p>Open recent project</p></body></html>",
                None))
        #endif // QT_CONFIG(tooltip)
        self.actionCopy.setText(
            QCoreApplication.translate("MainWindow", u"Copy", None))
        #if QT_CONFIG(tooltip)
        self.actionCopy.setToolTip(
            QCoreApplication.translate(
                "MainWindow",
                u"<html><head/><body><p>Copy project item(s)</p></body></html>",
                None))
        #endif // QT_CONFIG(tooltip)
        #if QT_CONFIG(shortcut)
        self.actionCopy.setShortcut(
            QCoreApplication.translate("MainWindow", u"Ctrl+C", None))
        #endif // QT_CONFIG(shortcut)
        self.actionPaste.setText(
            QCoreApplication.translate("MainWindow", u"Paste", None))
        #if QT_CONFIG(tooltip)
        self.actionPaste.setToolTip(
            QCoreApplication.translate(
                "MainWindow",
                u"<html><head/><body><p>Paste project item(s)</p></body></html>",
                None))
        #endif // QT_CONFIG(tooltip)
        #if QT_CONFIG(shortcut)
        self.actionPaste.setShortcut(
            QCoreApplication.translate("MainWindow", u"Ctrl+V", None))
        #endif // QT_CONFIG(shortcut)
        self.actionDuplicate.setText(
            QCoreApplication.translate("MainWindow", u"Duplicate", None))
        #if QT_CONFIG(tooltip)
        self.actionDuplicate.setToolTip(
            QCoreApplication.translate(
                "MainWindow",
                u"<html><head/><body><p>Duplicate project item(s)</p></body></html>",
                None))
        #endif // QT_CONFIG(tooltip)
        #if QT_CONFIG(shortcut)
        self.actionDuplicate.setShortcut(
            QCoreApplication.translate("MainWindow", u"Ctrl+D", None))
        #endif // QT_CONFIG(shortcut)
        self.actionLive_tutorial.setText(
            QCoreApplication.translate("MainWindow", u"Live tutorial", None))
        #if QT_CONFIG(shortcut)
        self.actionLive_tutorial.setShortcut(
            QCoreApplication.translate("MainWindow", u"Shift+F2", None))
        #endif // QT_CONFIG(shortcut)
        self.actionUpgrade_project.setText(
            QCoreApplication.translate("MainWindow", u"Upgrade project", None))
        #if QT_CONFIG(tooltip)
        self.actionUpgrade_project.setToolTip(
            QCoreApplication.translate(
                "MainWindow",
                u"<html><head/><body><p>Upgrade old (.proj) Spine Toolbox project into a new style directory based project</p></body></html>",
                None))
        #endif // QT_CONFIG(tooltip)
        self.actionRemove.setText(
            QCoreApplication.translate("MainWindow", u"Remove", None))
        #if QT_CONFIG(tooltip)
        self.actionRemove.setToolTip(
            QCoreApplication.translate(
                "MainWindow",
                u"<html><head/><body><p>Remove project item(s)</p></body></html>",
                None))
        #endif // QT_CONFIG(tooltip)
        #if QT_CONFIG(shortcut)
        self.actionRemove.setShortcut(
            QCoreApplication.translate("MainWindow", u"Del", None))
        #endif // QT_CONFIG(shortcut)
        self.actionOpen_project_directory.setText(
            QCoreApplication.translate("MainWindow",
                                       u"Open project directory...", None))
        #if QT_CONFIG(tooltip)
        self.actionOpen_project_directory.setToolTip(
            QCoreApplication.translate(
                "MainWindow",
                u"<html><head/><body><p>Open project directory in file browser</p></body></html>",
                None))
        #endif // QT_CONFIG(tooltip)
        self.actionOpen_item_directory.setText(
            QCoreApplication.translate("MainWindow", u"Open item directory...",
                                       None))
        #if QT_CONFIG(tooltip)
        self.actionOpen_item_directory.setToolTip(
            QCoreApplication.translate(
                "MainWindow",
                u"<html><head/><body><p>Open item directory in file browser</p></body></html>",
                None))
        #endif // QT_CONFIG(tooltip)
        self.actionRename_item.setText(
            QCoreApplication.translate("MainWindow", u"Rename...", None))
        #if QT_CONFIG(tooltip)
        self.actionRename_item.setToolTip(
            QCoreApplication.translate(
                "MainWindow",
                u"<html><head/><body><p>Rename project item</p></body></html>",
                None))
        #endif // QT_CONFIG(tooltip)
        self.actionNew_DB_editor.setText(
            QCoreApplication.translate("MainWindow", u"New DB editor", None))
        #if QT_CONFIG(tooltip)
        self.actionNew_DB_editor.setToolTip(
            QCoreApplication.translate(
                "MainWindow",
                u"<html><head/><body><p>Open Spine Db Editor</p></body></html>",
                None))
        #endif // QT_CONFIG(tooltip)
        self.actionPasteAndDuplicateFiles.setText(
            QCoreApplication.translate("MainWindow",
                                       u"Paste and duplicate files", None))
        #if QT_CONFIG(tooltip)
        self.actionPasteAndDuplicateFiles.setToolTip(
            QCoreApplication.translate(
                "MainWindow",
                u"<html><head/><body><p>Paste project item(s) and duplicate files</p></body></html>",
                None))
        #endif // QT_CONFIG(tooltip)
        #if QT_CONFIG(shortcut)
        self.actionPasteAndDuplicateFiles.setShortcut(
            QCoreApplication.translate("MainWindow", u"Ctrl+Shift+V", None))
        #endif // QT_CONFIG(shortcut)
        self.actionDuplicateAndDuplicateFiles.setText(
            QCoreApplication.translate("MainWindow",
                                       u"Duplicate and duplicate files", None))
        #if QT_CONFIG(tooltip)
        self.actionDuplicateAndDuplicateFiles.setToolTip(
            QCoreApplication.translate(
                "MainWindow",
                u"<html><head/><body><p>Duplicate project item(s) and duplicate files</p></body></html>",
                None))
        #endif // QT_CONFIG(tooltip)
        #if QT_CONFIG(shortcut)
        self.actionDuplicateAndDuplicateFiles.setShortcut(
            QCoreApplication.translate("MainWindow", u"Ctrl+Shift+D", None))
        #endif // QT_CONFIG(shortcut)
        self.actionInstall_plugin.setText(
            QCoreApplication.translate("MainWindow", u"Install plugin...",
                                       None))
        self.actionManage_plugins.setText(
            QCoreApplication.translate("MainWindow", u"Manage plugins...",
                                       None))
        self.actionCreate_plugin.setText(
            QCoreApplication.translate("MainWindow", u"Create plugin...",
                                       None))
        self.label.setText(
            QCoreApplication.translate("MainWindow", u"Design View", None))
        self.menuFile.setTitle(
            QCoreApplication.translate("MainWindow", u"File", None))
        self.menuHelp.setTitle(
            QCoreApplication.translate("MainWindow", u"Help", None))
        self.menuEdit.setTitle(
            QCoreApplication.translate("MainWindow", u"Edit", None))
        self.menuView.setTitle(
            QCoreApplication.translate("MainWindow", u"View", None))
        self.menuToolbars.setTitle(
            QCoreApplication.translate("MainWindow", u"Toolbars", None))
        self.menuDock_Widgets.setTitle(
            QCoreApplication.translate("MainWindow", u"Dock widgets", None))
        self.menuPlugins.setTitle(
            QCoreApplication.translate("MainWindow", u"Plugins", None))
        self.dockWidget_eventlog.setWindowTitle(
            QCoreApplication.translate("MainWindow", u"Event Log", None))
        self.dockWidget_itemlog.setWindowTitle(
            QCoreApplication.translate("MainWindow", u"Item Execution Log",
                                       None))
        self.label_no_itemlog.setText(
            QCoreApplication.translate(
                "MainWindow",
                u"Select and execute a project item to view its execution log",
                None))
        self.dockWidget_item.setWindowTitle(
            QCoreApplication.translate("MainWindow", u"Properties", None))
        self.label_no_selection.setText(
            QCoreApplication.translate(
                "MainWindow", u"Select a project item to view its properties",
                None))
        self.tabWidget_item_properties.setTabText(
            self.tabWidget_item_properties.indexOf(self.tab_no_selection),
            QCoreApplication.translate("MainWindow", u"No Selection", None))
        self.dockWidget_julia_console.setWindowTitle(
            QCoreApplication.translate("MainWindow", u"Julia Console", None))
        self.label_no_julia_console.setText(
            QCoreApplication.translate(
                "MainWindow",
                u"Select and execute a Julia Tool to see  its console", None))
        self.dockWidget_project.setWindowTitle(
            QCoreApplication.translate("MainWindow", u"Project", None))
        self.dockWidget_python_console.setWindowTitle(
            QCoreApplication.translate("MainWindow", u"Python Console", None))
        self.label_no_python_console.setText(
            QCoreApplication.translate(
                "MainWindow",
                u"Select and execute a Python Tool to see  its console", None))
        self.dockWidget_executions.setWindowTitle(
            QCoreApplication.translate("MainWindow", u"Executions", None))
 def test_default_max_blocks(self):
     browser = CustomQTextBrowser(None)
     self.assertEqual(browser.max_blocks, 2000)
Ejemplo n.º 6
0
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.resize(862, 708)
        self.centralwidget = QtWidgets.QWidget(MainWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.verticalLayout_10 = QtWidgets.QVBoxLayout(self.centralwidget)
        self.verticalLayout_10.setSpacing(0)
        self.verticalLayout_10.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_10.setObjectName("verticalLayout_10")
        self.label = QtWidgets.QLabel(self.centralwidget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label.sizePolicy().hasHeightForWidth())
        self.label.setSizePolicy(sizePolicy)
        self.label.setMinimumSize(QtCore.QSize(0, 20))
        self.label.setMaximumSize(QtCore.QSize(16777215, 20))
        self.label.setAutoFillBackground(False)
        self.label.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.label.setFrameShadow(QtWidgets.QFrame.Plain)
        self.label.setLineWidth(1)
        self.label.setMargin(0)
        self.label.setIndent(5)
        self.label.setObjectName("label")
        self.verticalLayout_10.addWidget(self.label)
        self.graphicsView = DesignQGraphicsView(self.centralwidget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.graphicsView.sizePolicy().hasHeightForWidth())
        self.graphicsView.setSizePolicy(sizePolicy)
        self.graphicsView.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.graphicsView.setFrameShadow(QtWidgets.QFrame.Raised)
        self.graphicsView.setMidLineWidth(0)
        self.graphicsView.setAlignment(QtCore.Qt.AlignCenter)
        self.graphicsView.setRenderHints(QtGui.QPainter.Antialiasing|QtGui.QPainter.TextAntialiasing)
        self.graphicsView.setDragMode(QtWidgets.QGraphicsView.ScrollHandDrag)
        self.graphicsView.setResizeAnchor(QtWidgets.QGraphicsView.AnchorUnderMouse)
        self.graphicsView.setViewportUpdateMode(QtWidgets.QGraphicsView.FullViewportUpdate)
        self.graphicsView.setObjectName("graphicsView")
        self.verticalLayout_10.addWidget(self.graphicsView)
        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtWidgets.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 862, 21))
        self.menubar.setNativeMenuBar(False)
        self.menubar.setObjectName("menubar")
        self.menuFile = QtWidgets.QMenu(self.menubar)
        self.menuFile.setToolTipsVisible(True)
        self.menuFile.setObjectName("menuFile")
        self.menuHelp = QtWidgets.QMenu(self.menubar)
        self.menuHelp.setObjectName("menuHelp")
        self.menuEdit = QtWidgets.QMenu(self.menubar)
        self.menuEdit.setObjectName("menuEdit")
        self.menuView = QtWidgets.QMenu(self.menubar)
        self.menuView.setObjectName("menuView")
        self.menuToolbars = QtWidgets.QMenu(self.menuView)
        self.menuToolbars.setObjectName("menuToolbars")
        self.menuDock_Widgets = QtWidgets.QMenu(self.menuView)
        self.menuDock_Widgets.setObjectName("menuDock_Widgets")
        MainWindow.setMenuBar(self.menubar)
        self.statusbar = QtWidgets.QStatusBar(MainWindow)
        self.statusbar.setObjectName("statusbar")
        MainWindow.setStatusBar(self.statusbar)
        self.dockWidget_eventlog = QtWidgets.QDockWidget(MainWindow)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.dockWidget_eventlog.sizePolicy().hasHeightForWidth())
        self.dockWidget_eventlog.setSizePolicy(sizePolicy)
        self.dockWidget_eventlog.setMinimumSize(QtCore.QSize(95, 113))
        self.dockWidget_eventlog.setFeatures(QtWidgets.QDockWidget.AllDockWidgetFeatures)
        self.dockWidget_eventlog.setObjectName("dockWidget_eventlog")
        self.dockWidgetContents = QtWidgets.QWidget()
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.dockWidgetContents.sizePolicy().hasHeightForWidth())
        self.dockWidgetContents.setSizePolicy(sizePolicy)
        self.dockWidgetContents.setObjectName("dockWidgetContents")
        self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.dockWidgetContents)
        self.verticalLayout_3.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.textBrowser_eventlog = CustomQTextBrowser(self.dockWidgetContents)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.textBrowser_eventlog.sizePolicy().hasHeightForWidth())
        self.textBrowser_eventlog.setSizePolicy(sizePolicy)
        self.textBrowser_eventlog.setContextMenuPolicy(QtCore.Qt.DefaultContextMenu)
        self.textBrowser_eventlog.setOpenLinks(False)
        self.textBrowser_eventlog.setObjectName("textBrowser_eventlog")
        self.verticalLayout_3.addWidget(self.textBrowser_eventlog)
        self.dockWidget_eventlog.setWidget(self.dockWidgetContents)
        MainWindow.addDockWidget(QtCore.Qt.DockWidgetArea(8), self.dockWidget_eventlog)
        self.dockWidget_process_output = QtWidgets.QDockWidget(MainWindow)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.dockWidget_process_output.sizePolicy().hasHeightForWidth())
        self.dockWidget_process_output.setSizePolicy(sizePolicy)
        self.dockWidget_process_output.setMinimumSize(QtCore.QSize(95, 113))
        self.dockWidget_process_output.setObjectName("dockWidget_process_output")
        self.dockWidgetContents_2 = QtWidgets.QWidget()
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.dockWidgetContents_2.sizePolicy().hasHeightForWidth())
        self.dockWidgetContents_2.setSizePolicy(sizePolicy)
        self.dockWidgetContents_2.setObjectName("dockWidgetContents_2")
        self.verticalLayout_6 = QtWidgets.QVBoxLayout(self.dockWidgetContents_2)
        self.verticalLayout_6.setSpacing(0)
        self.verticalLayout_6.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_6.setObjectName("verticalLayout_6")
        self.textBrowser_process_output = CustomQTextBrowser(self.dockWidgetContents_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.textBrowser_process_output.sizePolicy().hasHeightForWidth())
        self.textBrowser_process_output.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setFamily("Segoe UI")
        self.textBrowser_process_output.setFont(font)
        self.textBrowser_process_output.setContextMenuPolicy(QtCore.Qt.DefaultContextMenu)
        self.textBrowser_process_output.setOpenLinks(False)
        self.textBrowser_process_output.setObjectName("textBrowser_process_output")
        self.verticalLayout_6.addWidget(self.textBrowser_process_output)
        self.dockWidget_process_output.setWidget(self.dockWidgetContents_2)
        MainWindow.addDockWidget(QtCore.Qt.DockWidgetArea(8), self.dockWidget_process_output)
        self.dockWidget_item = QtWidgets.QDockWidget(MainWindow)
        self.dockWidget_item.setMinimumSize(QtCore.QSize(356, 293))
        self.dockWidget_item.setObjectName("dockWidget_item")
        self.dockWidgetContents_3 = QtWidgets.QWidget()
        self.dockWidgetContents_3.setObjectName("dockWidgetContents_3")
        self.verticalLayout = QtWidgets.QVBoxLayout(self.dockWidgetContents_3)
        self.verticalLayout.setSpacing(6)
        self.verticalLayout.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout.setObjectName("verticalLayout")
        self.tabWidget_item_properties = QtWidgets.QTabWidget(self.dockWidgetContents_3)
        self.tabWidget_item_properties.setStyleSheet("")
        self.tabWidget_item_properties.setObjectName("tabWidget_item_properties")
        self.tab_no_selection = QtWidgets.QWidget()
        self.tab_no_selection.setObjectName("tab_no_selection")
        self.verticalLayout_14 = QtWidgets.QVBoxLayout(self.tab_no_selection)
        self.verticalLayout_14.setContentsMargins(6, 6, 6, 6)
        self.verticalLayout_14.setObjectName("verticalLayout_14")
        self.label_no_selection = QtWidgets.QLabel(self.tab_no_selection)
        self.label_no_selection.setAlignment(QtCore.Qt.AlignCenter)
        self.label_no_selection.setObjectName("label_no_selection")
        self.verticalLayout_14.addWidget(self.label_no_selection)
        self.tabWidget_item_properties.addTab(self.tab_no_selection, "")
        self.verticalLayout.addWidget(self.tabWidget_item_properties)
        self.dockWidget_item.setWidget(self.dockWidgetContents_3)
        MainWindow.addDockWidget(QtCore.Qt.DockWidgetArea(2), self.dockWidget_item)
        self.dockWidget_julia_repl = QtWidgets.QDockWidget(MainWindow)
        self.dockWidget_julia_repl.setMinimumSize(QtCore.QSize(95, 80))
        self.dockWidget_julia_repl.setObjectName("dockWidget_julia_repl")
        self.dockWidgetContents_julia_repl = QtWidgets.QWidget()
        self.dockWidgetContents_julia_repl.setObjectName("dockWidgetContents_julia_repl")
        self.verticalLayout_9 = QtWidgets.QVBoxLayout(self.dockWidgetContents_julia_repl)
        self.verticalLayout_9.setSpacing(0)
        self.verticalLayout_9.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_9.setObjectName("verticalLayout_9")
        self.dockWidget_julia_repl.setWidget(self.dockWidgetContents_julia_repl)
        MainWindow.addDockWidget(QtCore.Qt.DockWidgetArea(8), self.dockWidget_julia_repl)
        self.dockWidget_project = QtWidgets.QDockWidget(MainWindow)
        self.dockWidget_project.setMinimumSize(QtCore.QSize(136, 320))
        self.dockWidget_project.setObjectName("dockWidget_project")
        self.dockWidgetContents_4 = QtWidgets.QWidget()
        self.dockWidgetContents_4.setObjectName("dockWidgetContents_4")
        self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.dockWidgetContents_4)
        self.verticalLayout_4.setSpacing(6)
        self.verticalLayout_4.setContentsMargins(6, 6, 6, 6)
        self.verticalLayout_4.setObjectName("verticalLayout_4")
        self.splitter = QtWidgets.QSplitter(self.dockWidgetContents_4)
        self.splitter.setOrientation(QtCore.Qt.Vertical)
        self.splitter.setChildrenCollapsible(False)
        self.splitter.setObjectName("splitter")
        self.layoutWidget = QtWidgets.QWidget(self.splitter)
        self.layoutWidget.setObjectName("layoutWidget")
        self.verticalLayout_5 = QtWidgets.QVBoxLayout(self.layoutWidget)
        self.verticalLayout_5.setSpacing(0)
        self.verticalLayout_5.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_5.setObjectName("verticalLayout_5")
        self.label_4 = QtWidgets.QLabel(self.layoutWidget)
        self.label_4.setIndent(-1)
        self.label_4.setObjectName("label_4")
        self.verticalLayout_5.addWidget(self.label_4)
        self.treeView_project = QtWidgets.QTreeView(self.layoutWidget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.treeView_project.sizePolicy().hasHeightForWidth())
        self.treeView_project.setSizePolicy(sizePolicy)
        self.treeView_project.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.treeView_project.setContextMenuPolicy(QtCore.Qt.CustomContextMenu)
        self.treeView_project.setEditTriggers(QtWidgets.QAbstractItemView.NoEditTriggers)
        self.treeView_project.setSelectionMode(QtWidgets.QAbstractItemView.ExtendedSelection)
        self.treeView_project.setAnimated(True)
        self.treeView_project.setObjectName("treeView_project")
        self.verticalLayout_5.addWidget(self.treeView_project)
        self.layoutWidget1 = QtWidgets.QWidget(self.splitter)
        self.layoutWidget1.setObjectName("layoutWidget1")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.layoutWidget1)
        self.verticalLayout_2.setSpacing(0)
        self.verticalLayout_2.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.label_3 = QtWidgets.QLabel(self.layoutWidget1)
        self.label_3.setAutoFillBackground(False)
        self.label_3.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.label_3.setIndent(-1)
        self.label_3.setObjectName("label_3")
        self.verticalLayout_2.addWidget(self.label_3)
        self.listView_tool_specifications = QtWidgets.QListView(self.layoutWidget1)
        self.listView_tool_specifications.setContextMenuPolicy(QtCore.Qt.CustomContextMenu)
        self.listView_tool_specifications.setObjectName("listView_tool_specifications")
        self.verticalLayout_2.addWidget(self.listView_tool_specifications)
        self.verticalLayout_4.addWidget(self.splitter)
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.toolButton_add_tool_specification = QtWidgets.QToolButton(self.dockWidgetContents_4)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.toolButton_add_tool_specification.sizePolicy().hasHeightForWidth())
        self.toolButton_add_tool_specification.setSizePolicy(sizePolicy)
        self.toolButton_add_tool_specification.setMinimumSize(QtCore.QSize(26, 26))
        self.toolButton_add_tool_specification.setMaximumSize(QtCore.QSize(26, 26))
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(":/icons/wrench_plus.svg"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.toolButton_add_tool_specification.setIcon(icon)
        self.toolButton_add_tool_specification.setPopupMode(QtWidgets.QToolButton.InstantPopup)
        self.toolButton_add_tool_specification.setObjectName("toolButton_add_tool_specification")
        self.horizontalLayout.addWidget(self.toolButton_add_tool_specification)
        self.toolButton_remove_tool_specification = QtWidgets.QToolButton(self.dockWidgetContents_4)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.toolButton_remove_tool_specification.sizePolicy().hasHeightForWidth())
        self.toolButton_remove_tool_specification.setSizePolicy(sizePolicy)
        self.toolButton_remove_tool_specification.setMinimumSize(QtCore.QSize(26, 26))
        self.toolButton_remove_tool_specification.setMaximumSize(QtCore.QSize(26, 26))
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap(":/icons/wrench_minus.svg"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.toolButton_remove_tool_specification.setIcon(icon1)
        self.toolButton_remove_tool_specification.setObjectName("toolButton_remove_tool_specification")
        self.horizontalLayout.addWidget(self.toolButton_remove_tool_specification)
        spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem)
        self.verticalLayout_4.addLayout(self.horizontalLayout)
        self.dockWidget_project.setWidget(self.dockWidgetContents_4)
        MainWindow.addDockWidget(QtCore.Qt.DockWidgetArea(1), self.dockWidget_project)
        self.dockWidget_python_repl = QtWidgets.QDockWidget(MainWindow)
        self.dockWidget_python_repl.setFloating(False)
        self.dockWidget_python_repl.setFeatures(QtWidgets.QDockWidget.AllDockWidgetFeatures)
        self.dockWidget_python_repl.setObjectName("dockWidget_python_repl")
        self.dockWidgetContents_python_repl = QtWidgets.QWidget()
        self.dockWidgetContents_python_repl.setObjectName("dockWidgetContents_python_repl")
        self.verticalLayout_20 = QtWidgets.QVBoxLayout(self.dockWidgetContents_python_repl)
        self.verticalLayout_20.setSpacing(0)
        self.verticalLayout_20.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_20.setObjectName("verticalLayout_20")
        self.dockWidget_python_repl.setWidget(self.dockWidgetContents_python_repl)
        MainWindow.addDockWidget(QtCore.Qt.DockWidgetArea(8), self.dockWidget_python_repl)
        self.actionQuit = QtWidgets.QAction(MainWindow)
        icon2 = QtGui.QIcon()
        icon2.addPixmap(QtGui.QPixmap(":/icons/menu_icons/window-close.svg"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionQuit.setIcon(icon2)
        self.actionQuit.setObjectName("actionQuit")
        self.actionData_Store = QtWidgets.QAction(MainWindow)
        self.actionData_Store.setObjectName("actionData_Store")
        self.actionDocumentation = QtWidgets.QAction(MainWindow)
        self.actionDocumentation.setObjectName("actionDocumentation")
        self.actionAbout = QtWidgets.QAction(MainWindow)
        icon3 = QtGui.QIcon()
        icon3.addPixmap(QtGui.QPixmap(":/icons/menu_icons/info-circle.svg"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionAbout.setIcon(icon3)
        self.actionAbout.setObjectName("actionAbout")
        self.actionAdd_Data_Connection = QtWidgets.QAction(MainWindow)
        icon4 = QtGui.QIcon()
        icon4.addPixmap(QtGui.QPixmap(":/icons/project_item_icons/file-alt.svg"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionAdd_Data_Connection.setIcon(icon4)
        self.actionAdd_Data_Connection.setObjectName("actionAdd_Data_Connection")
        self.actionAdd_Data_Store = QtWidgets.QAction(MainWindow)
        icon5 = QtGui.QIcon()
        icon5.addPixmap(QtGui.QPixmap(":/icons/project_item_icons/database.svg"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionAdd_Data_Store.setIcon(icon5)
        self.actionAdd_Data_Store.setObjectName("actionAdd_Data_Store")
        self.actionAdd_Tool = QtWidgets.QAction(MainWindow)
        icon6 = QtGui.QIcon()
        icon6.addPixmap(QtGui.QPixmap(":/icons/project_item_icons/hammer.svg"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionAdd_Tool.setIcon(icon6)
        self.actionAdd_Tool.setObjectName("actionAdd_Tool")
        self.actionAdd_View = QtWidgets.QAction(MainWindow)
        icon7 = QtGui.QIcon()
        icon7.addPixmap(QtGui.QPixmap(":/icons/project_item_icons/binoculars.svg"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionAdd_View.setIcon(icon7)
        self.actionAdd_View.setObjectName("actionAdd_View")
        self.actionSave = QtWidgets.QAction(MainWindow)
        icon8 = QtGui.QIcon()
        icon8.addPixmap(QtGui.QPixmap(":/icons/menu_icons/save_solid.svg"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionSave.setIcon(icon8)
        self.actionSave.setObjectName("actionSave")
        self.actionSave_As = QtWidgets.QAction(MainWindow)
        icon9 = QtGui.QIcon()
        icon9.addPixmap(QtGui.QPixmap(":/icons/menu_icons/save_regular.svg"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionSave_As.setIcon(icon9)
        self.actionSave_As.setObjectName("actionSave_As")
        self.actionOpen = QtWidgets.QAction(MainWindow)
        icon10 = QtGui.QIcon()
        icon10.addPixmap(QtGui.QPixmap(":/icons/menu_icons/folder-open-solid.svg"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionOpen.setIcon(icon10)
        self.actionOpen.setObjectName("actionOpen")
        self.actionNew = QtWidgets.QAction(MainWindow)
        icon11 = QtGui.QIcon()
        icon11.addPixmap(QtGui.QPixmap(":/icons/menu_icons/file.svg"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionNew.setIcon(icon11)
        self.actionNew.setObjectName("actionNew")
        self.actionSettings = QtWidgets.QAction(MainWindow)
        icon12 = QtGui.QIcon()
        icon12.addPixmap(QtGui.QPixmap(":/icons/menu_icons/cog.svg"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionSettings.setIcon(icon12)
        self.actionSettings.setObjectName("actionSettings")
        self.actionItem_Toolbar = QtWidgets.QAction(MainWindow)
        self.actionItem_Toolbar.setObjectName("actionItem_Toolbar")
        self.actionAdd_Item_Toolbar = QtWidgets.QAction(MainWindow)
        self.actionAdd_Item_Toolbar.setObjectName("actionAdd_Item_Toolbar")
        self.actionEvent_Log = QtWidgets.QAction(MainWindow)
        self.actionEvent_Log.setCheckable(False)
        self.actionEvent_Log.setChecked(False)
        self.actionEvent_Log.setObjectName("actionEvent_Log")
        self.actionSubprocess_Output = QtWidgets.QAction(MainWindow)
        self.actionSubprocess_Output.setObjectName("actionSubprocess_Output")
        self.actionSelected_Item = QtWidgets.QAction(MainWindow)
        self.actionSelected_Item.setObjectName("actionSelected_Item")
        self.actionJulia_REPL = QtWidgets.QAction(MainWindow)
        self.actionJulia_REPL.setObjectName("actionJulia_REPL")
        self.actionUser_Guide = QtWidgets.QAction(MainWindow)
        icon13 = QtGui.QIcon()
        icon13.addPixmap(QtGui.QPixmap(":/icons/menu_icons/question-circle.svg"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionUser_Guide.setIcon(icon13)
        self.actionUser_Guide.setObjectName("actionUser_Guide")
        self.actionRestore_Dock_Widgets = QtWidgets.QAction(MainWindow)
        self.actionRestore_Dock_Widgets.setObjectName("actionRestore_Dock_Widgets")
        self.actionAbout_Qt = QtWidgets.QAction(MainWindow)
        icon14 = QtGui.QIcon()
        icon14.addPixmap(QtGui.QPixmap(":/icons/qt_extended_48x48.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionAbout_Qt.setIcon(icon14)
        self.actionAbout_Qt.setObjectName("actionAbout_Qt")
        self.actionPackages = QtWidgets.QAction(MainWindow)
        icon15 = QtGui.QIcon()
        icon15.addPixmap(QtGui.QPixmap(":/icons/menu_icons/hands-helping.svg"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionPackages.setIcon(icon15)
        self.actionPackages.setObjectName("actionPackages")
        self.actionRemove_all = QtWidgets.QAction(MainWindow)
        icon16 = QtGui.QIcon()
        icon16.addPixmap(QtGui.QPixmap(":/icons/menu_icons/trash-alt.svg"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionRemove_all.setIcon(icon16)
        self.actionRemove_all.setObjectName("actionRemove_all")
        self.actionExport_project_to_GraphML = QtWidgets.QAction(MainWindow)
        icon17 = QtGui.QIcon()
        icon17.addPixmap(QtGui.QPixmap(":/icons/menu_icons/file-export.svg"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionExport_project_to_GraphML.setIcon(icon17)
        self.actionExport_project_to_GraphML.setObjectName("actionExport_project_to_GraphML")
        self.actionAdd_Importer = QtWidgets.QAction(MainWindow)
        icon18 = QtGui.QIcon()
        icon18.addPixmap(QtGui.QPixmap(":/icons/project_item_icons/map-solid.svg"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionAdd_Importer.setIcon(icon18)
        self.actionAdd_Importer.setObjectName("actionAdd_Importer")
        self.actionGetting_started = QtWidgets.QAction(MainWindow)
        self.actionGetting_started.setIcon(icon13)
        self.actionGetting_started.setObjectName("actionGetting_started")
        self.actionOpen_recent = QtWidgets.QAction(MainWindow)
        icon19 = QtGui.QIcon()
        icon19.addPixmap(QtGui.QPixmap(":/icons/menu_icons/history.svg"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionOpen_recent.setIcon(icon19)
        self.actionOpen_recent.setObjectName("actionOpen_recent")
        self.actionCopy = QtWidgets.QAction(MainWindow)
        self.actionCopy.setObjectName("actionCopy")
        self.actionPaste = QtWidgets.QAction(MainWindow)
        self.actionPaste.setObjectName("actionPaste")
        self.actionDuplicate = QtWidgets.QAction(MainWindow)
        self.actionDuplicate.setObjectName("actionDuplicate")
        self.actionLive_tutorial = QtWidgets.QAction(MainWindow)
        self.actionLive_tutorial.setIcon(icon13)
        self.actionLive_tutorial.setObjectName("actionLive_tutorial")
        self.actionUpgrade_project = QtWidgets.QAction(MainWindow)
        icon20 = QtGui.QIcon()
        icon20.addPixmap(QtGui.QPixmap(":/icons/menu_icons/level-up-alt.svg"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionUpgrade_project.setIcon(icon20)
        self.actionUpgrade_project.setObjectName("actionUpgrade_project")
        self.menuFile.addAction(self.actionNew)
        self.menuFile.addAction(self.actionOpen)
        self.menuFile.addAction(self.actionOpen_recent)
        self.menuFile.addAction(self.actionSave)
        self.menuFile.addAction(self.actionSave_As)
        self.menuFile.addSeparator()
        self.menuFile.addAction(self.actionUpgrade_project)
        self.menuFile.addAction(self.actionExport_project_to_GraphML)
        self.menuFile.addSeparator()
        self.menuFile.addAction(self.actionSettings)
        self.menuFile.addAction(self.actionPackages)
        self.menuFile.addSeparator()
        self.menuFile.addAction(self.actionQuit)
        self.menuHelp.addAction(self.actionUser_Guide)
        self.menuHelp.addAction(self.actionGetting_started)
        self.menuHelp.addSeparator()
        self.menuHelp.addAction(self.actionAbout_Qt)
        self.menuHelp.addAction(self.actionAbout)
        self.menuEdit.addAction(self.actionRemove_all)
        self.menuDock_Widgets.addAction(self.actionRestore_Dock_Widgets)
        self.menuDock_Widgets.addSeparator()
        self.menuView.addAction(self.menuToolbars.menuAction())
        self.menuView.addAction(self.menuDock_Widgets.menuAction())
        self.menubar.addAction(self.menuFile.menuAction())
        self.menubar.addAction(self.menuEdit.menuAction())
        self.menubar.addAction(self.menuView.menuAction())
        self.menubar.addAction(self.menuHelp.menuAction())

        self.retranslateUi(MainWindow)
        self.tabWidget_item_properties.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)
        MainWindow.setTabOrder(self.treeView_project, self.listView_tool_specifications)
        MainWindow.setTabOrder(self.listView_tool_specifications, self.toolButton_add_tool_specification)
        MainWindow.setTabOrder(self.toolButton_add_tool_specification, self.toolButton_remove_tool_specification)
        MainWindow.setTabOrder(self.toolButton_remove_tool_specification, self.graphicsView)
        MainWindow.setTabOrder(self.graphicsView, self.textBrowser_eventlog)
        MainWindow.setTabOrder(self.textBrowser_eventlog, self.textBrowser_process_output)
        MainWindow.setTabOrder(self.textBrowser_process_output, self.tabWidget_item_properties)