2012-03-02 02:55:32 +00:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
2013-02-25 18:03:21 +00:00
|
|
|
# Form implementation generated from reading ui file './exampleLoaderTemplate.ui'
|
2012-03-02 02:55:32 +00:00
|
|
|
#
|
2013-02-25 18:03:21 +00:00
|
|
|
# Created: Mon Feb 25 09:02:09 2013
|
|
|
|
# by: pyside-uic 0.2.13 running on PySide 1.1.1
|
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")
|
2013-02-25 18:03:21 +00:00
|
|
|
Form.resize(623, 380)
|
2012-03-02 02:55:32 +00:00
|
|
|
self.gridLayout = QtGui.QGridLayout(Form)
|
2012-09-09 23:07:36 +00:00
|
|
|
self.gridLayout.setContentsMargins(0, 0, 0, 0)
|
2012-03-02 02:55:32 +00:00
|
|
|
self.gridLayout.setSpacing(0)
|
2012-09-09 23:07:36 +00:00
|
|
|
self.gridLayout.setObjectName("gridLayout")
|
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")
|
|
|
|
self.verticalLayout = QtGui.QVBoxLayout(self.widget)
|
2012-09-09 23:07:36 +00:00
|
|
|
self.verticalLayout.setContentsMargins(0, 0, 0, 0)
|
|
|
|
self.verticalLayout.setObjectName("verticalLayout")
|
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)
|
|
|
|
self.verticalLayout.addWidget(self.exampleTree)
|
2012-10-26 12:55:53 +00:00
|
|
|
self.horizontalLayout = QtGui.QHBoxLayout()
|
|
|
|
self.horizontalLayout.setObjectName("horizontalLayout")
|
2013-02-25 18:03:21 +00:00
|
|
|
self.pyqtCheck = QtGui.QCheckBox(self.widget)
|
2012-10-26 12:55:53 +00:00
|
|
|
self.pyqtCheck.setObjectName("pyqtCheck")
|
|
|
|
self.horizontalLayout.addWidget(self.pyqtCheck)
|
2013-02-25 18:03:21 +00:00
|
|
|
self.pysideCheck = QtGui.QCheckBox(self.widget)
|
2012-10-26 12:55:53 +00:00
|
|
|
self.pysideCheck.setObjectName("pysideCheck")
|
|
|
|
self.horizontalLayout.addWidget(self.pysideCheck)
|
|
|
|
self.verticalLayout.addLayout(self.horizontalLayout)
|
2012-12-25 05:43:31 +00:00
|
|
|
self.horizontalLayout_2 = QtGui.QHBoxLayout()
|
|
|
|
self.horizontalLayout_2.setObjectName("horizontalLayout_2")
|
2013-02-25 18:03:21 +00:00
|
|
|
self.forceGraphicsCheck = QtGui.QCheckBox(self.widget)
|
2012-12-25 05:43:31 +00:00
|
|
|
self.forceGraphicsCheck.setObjectName("forceGraphicsCheck")
|
|
|
|
self.horizontalLayout_2.addWidget(self.forceGraphicsCheck)
|
2013-02-25 18:03:21 +00:00
|
|
|
self.forceGraphicsCombo = QtGui.QComboBox(self.widget)
|
2012-12-25 05:43:31 +00:00
|
|
|
self.forceGraphicsCombo.setObjectName("forceGraphicsCombo")
|
|
|
|
self.forceGraphicsCombo.addItem("")
|
|
|
|
self.forceGraphicsCombo.addItem("")
|
|
|
|
self.forceGraphicsCombo.addItem("")
|
|
|
|
self.horizontalLayout_2.addWidget(self.forceGraphicsCombo)
|
|
|
|
self.verticalLayout.addLayout(self.horizontalLayout_2)
|
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")
|
2012-03-02 02:55:32 +00:00
|
|
|
self.verticalLayout.addWidget(self.loadBtn)
|
2013-02-25 18:03:21 +00:00
|
|
|
self.widget1 = QtGui.QWidget(self.splitter)
|
|
|
|
self.widget1.setObjectName("widget1")
|
|
|
|
self.verticalLayout_2 = QtGui.QVBoxLayout(self.widget1)
|
|
|
|
self.verticalLayout_2.setContentsMargins(0, 0, 0, 0)
|
|
|
|
self.verticalLayout_2.setObjectName("verticalLayout_2")
|
|
|
|
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")
|
|
|
|
self.verticalLayout_2.addWidget(self.loadedFileLabel)
|
|
|
|
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")
|
2013-02-25 18:03:21 +00:00
|
|
|
self.verticalLayout_2.addWidget(self.codeView)
|
2012-03-02 02:55:32 +00:00
|
|
|
self.gridLayout.addWidget(self.splitter, 0, 0, 1, 1)
|
|
|
|
|
|
|
|
self.retranslateUi(Form)
|
|
|
|
QtCore.QMetaObject.connectSlotsByName(Form)
|
|
|
|
|
|
|
|
def retranslateUi(self, Form):
|
|
|
|
Form.setWindowTitle(QtGui.QApplication.translate("Form", "Form", None, QtGui.QApplication.UnicodeUTF8))
|
2012-10-26 12:55:53 +00:00
|
|
|
self.pyqtCheck.setText(QtGui.QApplication.translate("Form", "Force PyQt", None, QtGui.QApplication.UnicodeUTF8))
|
|
|
|
self.pysideCheck.setText(QtGui.QApplication.translate("Form", "Force PySide", None, QtGui.QApplication.UnicodeUTF8))
|
2012-12-25 05:43:31 +00:00
|
|
|
self.forceGraphicsCheck.setText(QtGui.QApplication.translate("Form", "Force Graphics System:", None, QtGui.QApplication.UnicodeUTF8))
|
|
|
|
self.forceGraphicsCombo.setItemText(0, QtGui.QApplication.translate("Form", "native", None, QtGui.QApplication.UnicodeUTF8))
|
|
|
|
self.forceGraphicsCombo.setItemText(1, QtGui.QApplication.translate("Form", "raster", None, QtGui.QApplication.UnicodeUTF8))
|
|
|
|
self.forceGraphicsCombo.setItemText(2, QtGui.QApplication.translate("Form", "opengl", 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
|
|
|
|