2012-03-02 02:55:32 +00:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
2018-02-17 04:42:34 +00:00
|
|
|
# Form implementation generated from reading ui file 'examples/exampleLoaderTemplate.ui'
|
2012-03-02 02:55:32 +00:00
|
|
|
#
|
2018-02-17 04:42:34 +00:00
|
|
|
# Created: Fri Feb 16 20:29:46 2018
|
|
|
|
# by: pyside-uic 0.2.15 running on PySide 1.2.4
|
2012-03-02 02:55:32 +00:00
|
|
|
#
|
|
|
|
# WARNING! All changes made in this file will be lost!
|
|
|
|
|
2012-09-09 23:07:36 +00:00
|
|
|
from PySide import QtCore, QtGui
|
2012-03-02 02:55:32 +00:00
|
|
|
|
|
|
|
class Ui_Form(object):
|
|
|
|
def setupUi(self, Form):
|
2012-09-09 23:07:36 +00:00
|
|
|
Form.setObjectName("Form")
|
2015-02-28 15:32:34 +00:00
|
|
|
Form.resize(846, 552)
|
|
|
|
self.gridLayout_2 = QtGui.QGridLayout(Form)
|
|
|
|
self.gridLayout_2.setObjectName("gridLayout_2")
|
2012-03-02 02:55:32 +00:00
|
|
|
self.splitter = QtGui.QSplitter(Form)
|
|
|
|
self.splitter.setOrientation(QtCore.Qt.Horizontal)
|
2012-09-09 23:07:36 +00:00
|
|
|
self.splitter.setObjectName("splitter")
|
2013-02-25 18:03:21 +00:00
|
|
|
self.widget = QtGui.QWidget(self.splitter)
|
|
|
|
self.widget.setObjectName("widget")
|
2015-02-28 15:32:34 +00:00
|
|
|
self.gridLayout = QtGui.QGridLayout(self.widget)
|
|
|
|
self.gridLayout.setContentsMargins(0, 0, 0, 0)
|
|
|
|
self.gridLayout.setObjectName("gridLayout")
|
2013-02-25 18:03:21 +00:00
|
|
|
self.exampleTree = QtGui.QTreeWidget(self.widget)
|
2012-09-09 23:07:36 +00:00
|
|
|
self.exampleTree.setObjectName("exampleTree")
|
|
|
|
self.exampleTree.headerItem().setText(0, "1")
|
2012-03-02 02:55: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 = QtGui.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 = QtGui.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 = QtGui.QLabel(self.widget)
|
|
|
|
self.label_2.setObjectName("label_2")
|
|
|
|
self.gridLayout.addWidget(self.label_2, 2, 0, 1, 1)
|
|
|
|
self.label = QtGui.QLabel(self.widget)
|
|
|
|
self.label.setObjectName("label")
|
|
|
|
self.gridLayout.addWidget(self.label, 1, 0, 1, 1)
|
2013-02-25 18:03:21 +00:00
|
|
|
self.loadBtn = QtGui.QPushButton(self.widget)
|
2012-09-09 23:07:36 +00:00
|
|
|
self.loadBtn.setObjectName("loadBtn")
|
2015-02-28 15:32:34 +00:00
|
|
|
self.gridLayout.addWidget(self.loadBtn, 3, 1, 1, 1)
|
2013-02-25 18:03:21 +00:00
|
|
|
self.widget1 = QtGui.QWidget(self.splitter)
|
|
|
|
self.widget1.setObjectName("widget1")
|
2015-02-28 15:32:34 +00:00
|
|
|
self.verticalLayout = QtGui.QVBoxLayout(self.widget1)
|
|
|
|
self.verticalLayout.setContentsMargins(0, 0, 0, 0)
|
|
|
|
self.verticalLayout.setObjectName("verticalLayout")
|
2013-02-25 18:03:21 +00:00
|
|
|
self.loadedFileLabel = QtGui.QLabel(self.widget1)
|
2012-03-02 02:55:32 +00:00
|
|
|
font = QtGui.QFont()
|
2013-02-25 18:03:21 +00:00
|
|
|
font.setWeight(75)
|
|
|
|
font.setBold(True)
|
|
|
|
self.loadedFileLabel.setFont(font)
|
|
|
|
self.loadedFileLabel.setText("")
|
|
|
|
self.loadedFileLabel.setAlignment(QtCore.Qt.AlignCenter)
|
|
|
|
self.loadedFileLabel.setObjectName("loadedFileLabel")
|
2015-02-28 15:32:34 +00:00
|
|
|
self.verticalLayout.addWidget(self.loadedFileLabel)
|
2013-02-25 18:03:21 +00:00
|
|
|
self.codeView = QtGui.QPlainTextEdit(self.widget1)
|
|
|
|
font = QtGui.QFont()
|
|
|
|
font.setFamily("FreeMono")
|
2012-03-02 02:55:32 +00:00
|
|
|
self.codeView.setFont(font)
|
2012-09-09 23:07:36 +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)
|
2012-03-02 02:55:32 +00:00
|
|
|
|
|
|
|
self.retranslateUi(Form)
|
|
|
|
QtCore.QMetaObject.connectSlotsByName(Form)
|
|
|
|
|
|
|
|
def retranslateUi(self, Form):
|
|
|
|
Form.setWindowTitle(QtGui.QApplication.translate("Form", "Form", None, QtGui.QApplication.UnicodeUTF8))
|
2015-02-28 15:32:34 +00:00
|
|
|
self.graphicsSystemCombo.setItemText(0, QtGui.QApplication.translate("Form", "default", None, QtGui.QApplication.UnicodeUTF8))
|
|
|
|
self.graphicsSystemCombo.setItemText(1, QtGui.QApplication.translate("Form", "native", None, QtGui.QApplication.UnicodeUTF8))
|
|
|
|
self.graphicsSystemCombo.setItemText(2, QtGui.QApplication.translate("Form", "raster", None, QtGui.QApplication.UnicodeUTF8))
|
|
|
|
self.graphicsSystemCombo.setItemText(3, QtGui.QApplication.translate("Form", "opengl", None, QtGui.QApplication.UnicodeUTF8))
|
|
|
|
self.qtLibCombo.setItemText(0, QtGui.QApplication.translate("Form", "default", None, QtGui.QApplication.UnicodeUTF8))
|
|
|
|
self.qtLibCombo.setItemText(1, QtGui.QApplication.translate("Form", "PyQt4", None, QtGui.QApplication.UnicodeUTF8))
|
|
|
|
self.qtLibCombo.setItemText(2, QtGui.QApplication.translate("Form", "PySide", None, QtGui.QApplication.UnicodeUTF8))
|
|
|
|
self.qtLibCombo.setItemText(3, QtGui.QApplication.translate("Form", "PyQt5", None, QtGui.QApplication.UnicodeUTF8))
|
2018-02-17 04:42:34 +00:00
|
|
|
self.qtLibCombo.setItemText(4, QtGui.QApplication.translate("Form", "PySide2", None, QtGui.QApplication.UnicodeUTF8))
|
2015-02-28 15:32:34 +00:00
|
|
|
self.label_2.setText(QtGui.QApplication.translate("Form", "Graphics System:", None, QtGui.QApplication.UnicodeUTF8))
|
|
|
|
self.label.setText(QtGui.QApplication.translate("Form", "Qt Library:", None, QtGui.QApplication.UnicodeUTF8))
|
2013-02-25 18:03:21 +00:00
|
|
|
self.loadBtn.setText(QtGui.QApplication.translate("Form", "Run Example", None, QtGui.QApplication.UnicodeUTF8))
|
2012-03-02 02:55:32 +00:00
|
|
|
|