2018-02-17 04:42:34 +00:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
2020-10-19 18:51:12 +00:00
|
|
|
################################################################################
|
|
|
|
## Form generated from reading UI file 'exampleLoaderTemplate.ui'
|
|
|
|
##
|
2021-01-23 02:39:54 +00:00
|
|
|
## Created by: Qt User Interface Compiler version 5.15.2
|
2020-10-19 18:51:12 +00:00
|
|
|
##
|
|
|
|
## WARNING! All changes made in this file will be lost when recompiling UI file!
|
|
|
|
################################################################################
|
|
|
|
|
2021-01-23 02:39:54 +00:00
|
|
|
from PySide2.QtCore import *
|
|
|
|
from PySide2.QtGui import *
|
2020-10-19 18:51:12 +00:00
|
|
|
from PySide2.QtWidgets import *
|
2018-02-17 04:42:34 +00:00
|
|
|
|
|
|
|
|
|
|
|
class Ui_Form(object):
|
|
|
|
def setupUi(self, Form):
|
2020-10-19 18:51:12 +00:00
|
|
|
if not Form.objectName():
|
|
|
|
Form.setObjectName(u"Form")
|
2018-02-17 04:42:34 +00:00
|
|
|
Form.resize(846, 552)
|
2020-10-19 18:51:12 +00:00
|
|
|
self.gridLayout_2 = QGridLayout(Form)
|
|
|
|
self.gridLayout_2.setObjectName(u"gridLayout_2")
|
|
|
|
self.splitter = QSplitter(Form)
|
|
|
|
self.splitter.setObjectName(u"splitter")
|
|
|
|
self.splitter.setOrientation(Qt.Horizontal)
|
|
|
|
self.widget = QWidget(self.splitter)
|
|
|
|
self.widget.setObjectName(u"widget")
|
|
|
|
self.gridLayout = QGridLayout(self.widget)
|
|
|
|
self.gridLayout.setObjectName(u"gridLayout")
|
2018-02-17 04:42:34 +00:00
|
|
|
self.gridLayout.setContentsMargins(0, 0, 0, 0)
|
2020-10-19 18:51:12 +00:00
|
|
|
self.exampleTree = QTreeWidget(self.widget)
|
|
|
|
__qtreewidgetitem = QTreeWidgetItem()
|
|
|
|
__qtreewidgetitem.setText(0, u"1");
|
|
|
|
self.exampleTree.setHeaderItem(__qtreewidgetitem)
|
|
|
|
self.exampleTree.setObjectName(u"exampleTree")
|
2018-02-17 04:42:34 +00:00
|
|
|
self.exampleTree.header().setVisible(False)
|
2020-10-19 18:51:12 +00:00
|
|
|
|
2018-02-17 04:42:34 +00:00
|
|
|
self.gridLayout.addWidget(self.exampleTree, 0, 0, 1, 2)
|
2020-10-19 18:51:12 +00:00
|
|
|
|
|
|
|
self.graphicsSystemCombo = QComboBox(self.widget)
|
2018-02-17 04:42:34 +00:00
|
|
|
self.graphicsSystemCombo.addItem("")
|
|
|
|
self.graphicsSystemCombo.addItem("")
|
|
|
|
self.graphicsSystemCombo.addItem("")
|
|
|
|
self.graphicsSystemCombo.addItem("")
|
2020-10-19 18:51:12 +00:00
|
|
|
self.graphicsSystemCombo.setObjectName(u"graphicsSystemCombo")
|
|
|
|
|
2018-02-17 04:42:34 +00:00
|
|
|
self.gridLayout.addWidget(self.graphicsSystemCombo, 2, 1, 1, 1)
|
2020-10-19 18:51:12 +00:00
|
|
|
|
|
|
|
self.qtLibCombo = QComboBox(self.widget)
|
2018-02-17 04:42:34 +00:00
|
|
|
self.qtLibCombo.addItem("")
|
|
|
|
self.qtLibCombo.addItem("")
|
|
|
|
self.qtLibCombo.addItem("")
|
|
|
|
self.qtLibCombo.addItem("")
|
|
|
|
self.qtLibCombo.addItem("")
|
2020-10-19 18:51:12 +00:00
|
|
|
self.qtLibCombo.setObjectName(u"qtLibCombo")
|
|
|
|
|
2018-02-17 04:42:34 +00:00
|
|
|
self.gridLayout.addWidget(self.qtLibCombo, 1, 1, 1, 1)
|
2020-10-19 18:51:12 +00:00
|
|
|
|
|
|
|
self.label_2 = QLabel(self.widget)
|
|
|
|
self.label_2.setObjectName(u"label_2")
|
|
|
|
|
2018-02-17 04:42:34 +00:00
|
|
|
self.gridLayout.addWidget(self.label_2, 2, 0, 1, 1)
|
2020-10-19 18:51:12 +00:00
|
|
|
|
|
|
|
self.label = QLabel(self.widget)
|
|
|
|
self.label.setObjectName(u"label")
|
|
|
|
|
2018-02-17 04:42:34 +00:00
|
|
|
self.gridLayout.addWidget(self.label, 1, 0, 1, 1)
|
2020-10-19 18:51:12 +00:00
|
|
|
|
|
|
|
self.loadBtn = QPushButton(self.widget)
|
|
|
|
self.loadBtn.setObjectName(u"loadBtn")
|
|
|
|
|
2018-02-17 04:42:34 +00:00
|
|
|
self.gridLayout.addWidget(self.loadBtn, 3, 1, 1, 1)
|
2020-10-19 18:51:12 +00:00
|
|
|
|
|
|
|
self.splitter.addWidget(self.widget)
|
|
|
|
self.widget1 = QWidget(self.splitter)
|
|
|
|
self.widget1.setObjectName(u"widget1")
|
|
|
|
self.verticalLayout = QVBoxLayout(self.widget1)
|
|
|
|
self.verticalLayout.setObjectName(u"verticalLayout")
|
2018-02-17 04:42:34 +00:00
|
|
|
self.verticalLayout.setContentsMargins(0, 0, 0, 0)
|
2020-10-19 18:51:12 +00:00
|
|
|
self.loadedFileLabel = QLabel(self.widget1)
|
|
|
|
self.loadedFileLabel.setObjectName(u"loadedFileLabel")
|
|
|
|
font = QFont()
|
2018-02-17 04:42:34 +00:00
|
|
|
font.setBold(True)
|
|
|
|
self.loadedFileLabel.setFont(font)
|
2020-10-19 18:51:12 +00:00
|
|
|
self.loadedFileLabel.setAlignment(Qt.AlignCenter)
|
|
|
|
|
2018-02-17 04:42:34 +00:00
|
|
|
self.verticalLayout.addWidget(self.loadedFileLabel)
|
2020-10-19 18:51:12 +00:00
|
|
|
|
|
|
|
self.codeView = QPlainTextEdit(self.widget1)
|
|
|
|
self.codeView.setObjectName(u"codeView")
|
|
|
|
font1 = QFont()
|
|
|
|
font1.setFamily(u"Courier New")
|
|
|
|
self.codeView.setFont(font1)
|
|
|
|
|
2018-02-17 04:42:34 +00:00
|
|
|
self.verticalLayout.addWidget(self.codeView)
|
2020-10-19 18:51:12 +00:00
|
|
|
|
|
|
|
self.splitter.addWidget(self.widget1)
|
|
|
|
|
2018-02-17 04:42:34 +00:00
|
|
|
self.gridLayout_2.addWidget(self.splitter, 0, 0, 1, 1)
|
|
|
|
|
2020-10-19 18:51:12 +00:00
|
|
|
|
2018-02-17 04:42:34 +00:00
|
|
|
self.retranslateUi(Form)
|
2020-10-19 18:51:12 +00:00
|
|
|
|
|
|
|
QMetaObject.connectSlotsByName(Form)
|
|
|
|
# setupUi
|
2018-02-17 04:42:34 +00:00
|
|
|
|
|
|
|
def retranslateUi(self, Form):
|
2020-10-19 18:51:12 +00:00
|
|
|
Form.setWindowTitle(QCoreApplication.translate("Form", u"PyQtGraph", None))
|
|
|
|
self.graphicsSystemCombo.setItemText(0, QCoreApplication.translate("Form", u"default", None))
|
|
|
|
self.graphicsSystemCombo.setItemText(1, QCoreApplication.translate("Form", u"native", None))
|
|
|
|
self.graphicsSystemCombo.setItemText(2, QCoreApplication.translate("Form", u"raster", None))
|
|
|
|
self.graphicsSystemCombo.setItemText(3, QCoreApplication.translate("Form", u"opengl", None))
|
|
|
|
|
|
|
|
self.qtLibCombo.setItemText(0, QCoreApplication.translate("Form", u"default", None))
|
2021-01-23 02:39:54 +00:00
|
|
|
self.qtLibCombo.setItemText(1, QCoreApplication.translate("Form", u"PyQt5", None))
|
|
|
|
self.qtLibCombo.setItemText(2, QCoreApplication.translate("Form", u"PySide2", None))
|
|
|
|
self.qtLibCombo.setItemText(3, QCoreApplication.translate("Form", u"PySide6", None))
|
|
|
|
self.qtLibCombo.setItemText(4, QCoreApplication.translate("Form", u"PyQt6", None))
|
2020-10-19 18:51:12 +00:00
|
|
|
|
|
|
|
self.label_2.setText(QCoreApplication.translate("Form", u"Graphics System:", None))
|
|
|
|
self.label.setText(QCoreApplication.translate("Form", u"Qt Library:", None))
|
|
|
|
self.loadBtn.setText(QCoreApplication.translate("Form", u"Run Example", None))
|
|
|
|
self.loadedFileLabel.setText("")
|
|
|
|
# retranslateUi
|
2018-02-17 04:42:34 +00:00
|
|
|
|