2015-01-17 10:45:32 +00:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
2018-02-17 04:42:34 +00:00
|
|
|
# Form implementation generated from reading ui file 'examples/exampleLoaderTemplate.ui'
|
2015-01-17 10:45:32 +00:00
|
|
|
#
|
2018-02-17 04:42:34 +00:00
|
|
|
# Created by: PyQt5 UI code generator 5.6
|
2015-01-17 10:45:32 +00:00
|
|
|
#
|
|
|
|
# WARNING! All changes made in this file will be lost!
|
|
|
|
|
|
|
|
from PyQt5 import QtCore, QtGui, QtWidgets
|
|
|
|
|
|
|
|
class Ui_Form(object):
|
|
|
|
def setupUi(self, Form):
|
2015-02-28 14:38:38 +00:00
|
|
|
Form.setObjectName("Form")
|
2015-02-28 15:32:34 +00:00
|
|
|
Form.resize(846, 552)
|
|
|
|
self.gridLayout_2 = QtWidgets.QGridLayout(Form)
|
|
|
|
self.gridLayout_2.setObjectName("gridLayout_2")
|
2015-02-28 14:38:38 +00:00
|
|
|
self.splitter = QtWidgets.QSplitter(Form)
|
2015-01-17 10:45:32 +00:00
|
|
|
self.splitter.setOrientation(QtCore.Qt.Horizontal)
|
2015-02-28 14:38:38 +00:00
|
|
|
self.splitter.setObjectName("splitter")
|
|
|
|
self.widget = QtWidgets.QWidget(self.splitter)
|
|
|
|
self.widget.setObjectName("widget")
|
2015-02-28 15:32:34 +00:00
|
|
|
self.gridLayout = QtWidgets.QGridLayout(self.widget)
|
|
|
|
self.gridLayout.setContentsMargins(0, 0, 0, 0)
|
|
|
|
self.gridLayout.setObjectName("gridLayout")
|
2015-02-28 14:38:38 +00:00
|
|
|
self.exampleTree = QtWidgets.QTreeWidget(self.widget)
|
|
|
|
self.exampleTree.setObjectName("exampleTree")
|
|
|
|
self.exampleTree.headerItem().setText(0, "1")
|
2015-01-17 10:45:32 +00:00
|
|
|
self.exampleTree.header().setVisible(False)
|
2015-02-28 15:32:34 +00:00
|
|
|
self.gridLayout.addWidget(self.exampleTree, 0, 0, 1, 2)
|
|
|
|
self.graphicsSystemCombo = QtWidgets.QComboBox(self.widget)
|
|
|
|
self.graphicsSystemCombo.setObjectName("graphicsSystemCombo")
|
|
|
|
self.graphicsSystemCombo.addItem("")
|
|
|
|
self.graphicsSystemCombo.addItem("")
|
|
|
|
self.graphicsSystemCombo.addItem("")
|
|
|
|
self.graphicsSystemCombo.addItem("")
|
|
|
|
self.gridLayout.addWidget(self.graphicsSystemCombo, 2, 1, 1, 1)
|
|
|
|
self.qtLibCombo = QtWidgets.QComboBox(self.widget)
|
|
|
|
self.qtLibCombo.setObjectName("qtLibCombo")
|
|
|
|
self.qtLibCombo.addItem("")
|
|
|
|
self.qtLibCombo.addItem("")
|
|
|
|
self.qtLibCombo.addItem("")
|
|
|
|
self.qtLibCombo.addItem("")
|
2018-02-17 04:42:34 +00:00
|
|
|
self.qtLibCombo.addItem("")
|
2015-02-28 15:32:34 +00:00
|
|
|
self.gridLayout.addWidget(self.qtLibCombo, 1, 1, 1, 1)
|
|
|
|
self.label_2 = QtWidgets.QLabel(self.widget)
|
|
|
|
self.label_2.setObjectName("label_2")
|
|
|
|
self.gridLayout.addWidget(self.label_2, 2, 0, 1, 1)
|
|
|
|
self.label = QtWidgets.QLabel(self.widget)
|
|
|
|
self.label.setObjectName("label")
|
|
|
|
self.gridLayout.addWidget(self.label, 1, 0, 1, 1)
|
2015-02-28 14:38:38 +00:00
|
|
|
self.loadBtn = QtWidgets.QPushButton(self.widget)
|
|
|
|
self.loadBtn.setObjectName("loadBtn")
|
2015-02-28 15:32:34 +00:00
|
|
|
self.gridLayout.addWidget(self.loadBtn, 3, 1, 1, 1)
|
2015-02-28 14:38:38 +00:00
|
|
|
self.widget1 = QtWidgets.QWidget(self.splitter)
|
|
|
|
self.widget1.setObjectName("widget1")
|
2015-02-28 15:32:34 +00:00
|
|
|
self.verticalLayout = QtWidgets.QVBoxLayout(self.widget1)
|
|
|
|
self.verticalLayout.setContentsMargins(0, 0, 0, 0)
|
|
|
|
self.verticalLayout.setObjectName("verticalLayout")
|
2015-02-28 14:38:38 +00:00
|
|
|
self.loadedFileLabel = QtWidgets.QLabel(self.widget1)
|
2015-01-17 10:45:32 +00:00
|
|
|
font = QtGui.QFont()
|
|
|
|
font.setBold(True)
|
|
|
|
font.setWeight(75)
|
|
|
|
self.loadedFileLabel.setFont(font)
|
2015-02-28 14:38:38 +00:00
|
|
|
self.loadedFileLabel.setText("")
|
2015-01-17 10:45:32 +00:00
|
|
|
self.loadedFileLabel.setAlignment(QtCore.Qt.AlignCenter)
|
2015-02-28 14:38:38 +00:00
|
|
|
self.loadedFileLabel.setObjectName("loadedFileLabel")
|
2015-02-28 15:32:34 +00:00
|
|
|
self.verticalLayout.addWidget(self.loadedFileLabel)
|
2015-02-28 14:38:38 +00:00
|
|
|
self.codeView = QtWidgets.QPlainTextEdit(self.widget1)
|
2015-01-17 10:45:32 +00:00
|
|
|
font = QtGui.QFont()
|
2015-02-28 14:38:38 +00:00
|
|
|
font.setFamily("FreeMono")
|
2015-01-17 10:45:32 +00:00
|
|
|
self.codeView.setFont(font)
|
2015-02-28 14:38:38 +00:00
|
|
|
self.codeView.setObjectName("codeView")
|
2015-02-28 15:32:34 +00:00
|
|
|
self.verticalLayout.addWidget(self.codeView)
|
|
|
|
self.gridLayout_2.addWidget(self.splitter, 0, 0, 1, 1)
|
2015-01-17 10:45:32 +00:00
|
|
|
|
|
|
|
self.retranslateUi(Form)
|
|
|
|
QtCore.QMetaObject.connectSlotsByName(Form)
|
|
|
|
|
|
|
|
def retranslateUi(self, Form):
|
2015-02-28 14:38:38 +00:00
|
|
|
_translate = QtCore.QCoreApplication.translate
|
|
|
|
Form.setWindowTitle(_translate("Form", "Form"))
|
2015-02-28 15:32:34 +00:00
|
|
|
self.graphicsSystemCombo.setItemText(0, _translate("Form", "default"))
|
|
|
|
self.graphicsSystemCombo.setItemText(1, _translate("Form", "native"))
|
|
|
|
self.graphicsSystemCombo.setItemText(2, _translate("Form", "raster"))
|
|
|
|
self.graphicsSystemCombo.setItemText(3, _translate("Form", "opengl"))
|
|
|
|
self.qtLibCombo.setItemText(0, _translate("Form", "default"))
|
|
|
|
self.qtLibCombo.setItemText(1, _translate("Form", "PyQt4"))
|
|
|
|
self.qtLibCombo.setItemText(2, _translate("Form", "PySide"))
|
|
|
|
self.qtLibCombo.setItemText(3, _translate("Form", "PyQt5"))
|
2018-02-17 04:42:34 +00:00
|
|
|
self.qtLibCombo.setItemText(4, _translate("Form", "PySide2"))
|
2015-02-28 15:32:34 +00:00
|
|
|
self.label_2.setText(_translate("Form", "Graphics System:"))
|
|
|
|
self.label.setText(_translate("Form", "Qt Library:"))
|
2015-02-28 14:38:38 +00:00
|
|
|
self.loadBtn.setText(_translate("Form", "Run Example"))
|
2015-01-17 10:45:32 +00:00
|
|
|
|