pyqtgraph/examples/ScatterPlotSpeedTestTemplate_pyside.py

37 lines
1.5 KiB
Python
Raw Normal View History

2012-05-31 20:05:19 +00:00
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file './examples/ScatterPlotSpeedTestTemplate.ui'
2012-05-31 20:05:19 +00:00
#
# Created: Sun Sep 9 14:41:31 2012
# by: pyside-uic 0.2.13 running on PySide 1.1.0
2012-05-31 20:05:19 +00:00
#
# WARNING! All changes made in this file will be lost!
from PySide import QtCore, QtGui
2012-05-31 20:05:19 +00:00
class Ui_Form(object):
def setupUi(self, Form):
Form.setObjectName("Form")
2012-05-31 20:05:19 +00:00
Form.resize(400, 300)
self.gridLayout = QtGui.QGridLayout(Form)
self.gridLayout.setObjectName("gridLayout")
2012-05-31 20:05:19 +00:00
self.plot = PlotWidget(Form)
self.plot.setObjectName("plot")
2012-05-31 20:05:19 +00:00
self.gridLayout.addWidget(self.plot, 0, 0, 1, 2)
self.identicalCheck = QtGui.QCheckBox(Form)
self.identicalCheck.setObjectName("identicalCheck")
2012-05-31 20:05:19 +00:00
self.gridLayout.addWidget(self.identicalCheck, 1, 0, 1, 1)
self.pixelModeCheck = QtGui.QCheckBox(Form)
self.pixelModeCheck.setObjectName("pixelModeCheck")
2012-05-31 20:05:19 +00:00
self.gridLayout.addWidget(self.pixelModeCheck, 1, 1, 1, 1)
self.retranslateUi(Form)
QtCore.QMetaObject.connectSlotsByName(Form)
def retranslateUi(self, Form):
Form.setWindowTitle(QtGui.QApplication.translate("Form", "Form", None, QtGui.QApplication.UnicodeUTF8))
self.identicalCheck.setText(QtGui.QApplication.translate("Form", "Identical", None, QtGui.QApplication.UnicodeUTF8))
self.pixelModeCheck.setText(QtGui.QApplication.translate("Form", "pixel mode", None, QtGui.QApplication.UnicodeUTF8))
2012-05-31 20:05:19 +00:00
from pyqtgraph import PlotWidget