2012-03-02 02:55:32 +00:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
2012-09-09 23:07:36 +00:00
|
|
|
# Form implementation generated from reading ui file './examples/exampleLoaderTemplate.ui'
|
2012-03-02 02:55:32 +00:00
|
|
|
#
|
2012-12-26 21:29:29 +00:00
|
|
|
# Created: Mon Dec 24 00:33:39 2012
|
|
|
|
# by: pyside-uic 0.2.13 running on PySide 1.1.2
|
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")
|
2012-03-02 02:55:32 +00:00
|
|
|
Form.resize(762, 302)
|
|
|
|
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")
|
2012-03-02 02:55:32 +00:00
|
|
|
self.layoutWidget = QtGui.QWidget(self.splitter)
|
2012-09-09 23:07:36 +00:00
|
|
|
self.layoutWidget.setObjectName("layoutWidget")
|
2012-03-02 02:55:32 +00:00
|
|
|
self.verticalLayout = QtGui.QVBoxLayout(self.layoutWidget)
|
2012-09-09 23:07:36 +00:00
|
|
|
self.verticalLayout.setContentsMargins(0, 0, 0, 0)
|
|
|
|
self.verticalLayout.setObjectName("verticalLayout")
|
2012-03-02 02:55:32 +00:00
|
|
|
self.exampleTree = QtGui.QTreeWidget(self.layoutWidget)
|
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")
|
|
|
|
self.pyqtCheck = QtGui.QCheckBox(self.layoutWidget)
|
|
|
|
self.pyqtCheck.setObjectName("pyqtCheck")
|
|
|
|
self.horizontalLayout.addWidget(self.pyqtCheck)
|
|
|
|
self.pysideCheck = QtGui.QCheckBox(self.layoutWidget)
|
|
|
|
self.pysideCheck.setObjectName("pysideCheck")
|
|
|
|
self.horizontalLayout.addWidget(self.pysideCheck)
|
|
|
|
self.verticalLayout.addLayout(self.horizontalLayout)
|
2012-12-26 21:29:29 +00:00
|
|
|
self.horizontalLayout_2 = QtGui.QHBoxLayout()
|
|
|
|
self.horizontalLayout_2.setObjectName("horizontalLayout_2")
|
|
|
|
self.forceGraphicsCheck = QtGui.QCheckBox(self.layoutWidget)
|
|
|
|
self.forceGraphicsCheck.setObjectName("forceGraphicsCheck")
|
|
|
|
self.horizontalLayout_2.addWidget(self.forceGraphicsCheck)
|
|
|
|
self.forceGraphicsCombo = QtGui.QComboBox(self.layoutWidget)
|
|
|
|
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)
|
2012-03-02 02:55:32 +00:00
|
|
|
self.loadBtn = QtGui.QPushButton(self.layoutWidget)
|
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)
|
|
|
|
self.codeView = QtGui.QTextBrowser(self.splitter)
|
|
|
|
font = QtGui.QFont()
|
2012-09-09 23:07:36 +00:00
|
|
|
font.setFamily("Monospace")
|
2012-03-02 02:55:32 +00:00
|
|
|
font.setPointSize(10)
|
|
|
|
self.codeView.setFont(font)
|
2012-09-09 23:07:36 +00:00
|
|
|
self.codeView.setObjectName("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-26 21:29:29 +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))
|
2012-03-02 02:55:32 +00:00
|
|
|
self.loadBtn.setText(QtGui.QApplication.translate("Form", "Load Example", None, QtGui.QApplication.UnicodeUTF8))
|
|
|
|
|