27c90c5dd5
- added ability for ScatterPlotItem to use arbitrary symbol shapes - added scatter plot speed test for evaluating new methods - added butterworth notch filter to flowchart library - fixed bugs with ViewBox trying to close itself after python has started cleaning up - fixed python 2.6 compatibility bug in PlotCurveItem - fixed support for list-of-dicts and dict-of-lists input for PlotDataItem - check to ensure Qt version is >= 4.7 - workaround for numpy segmentation fault - several other minor updates and documentation changes
45 lines
1.9 KiB
Python
45 lines
1.9 KiB
Python
# -*- coding: utf-8 -*-
|
|
|
|
# Form implementation generated from reading ui file './examples/ScatterPlotSpeedTestTemplate.ui'
|
|
#
|
|
# Created: Fri Sep 21 15:39:09 2012
|
|
# by: pyside-uic 0.2.13 running on PySide 1.1.0
|
|
#
|
|
# WARNING! All changes made in this file will be lost!
|
|
|
|
from PySide import QtCore, QtGui
|
|
|
|
class Ui_Form(object):
|
|
def setupUi(self, Form):
|
|
Form.setObjectName("Form")
|
|
Form.resize(400, 300)
|
|
self.gridLayout = QtGui.QGridLayout(Form)
|
|
self.gridLayout.setObjectName("gridLayout")
|
|
self.sizeSpin = QtGui.QSpinBox(Form)
|
|
self.sizeSpin.setProperty("value", 10)
|
|
self.sizeSpin.setObjectName("sizeSpin")
|
|
self.gridLayout.addWidget(self.sizeSpin, 1, 1, 1, 1)
|
|
self.pixelModeCheck = QtGui.QCheckBox(Form)
|
|
self.pixelModeCheck.setObjectName("pixelModeCheck")
|
|
self.gridLayout.addWidget(self.pixelModeCheck, 1, 3, 1, 1)
|
|
self.label = QtGui.QLabel(Form)
|
|
self.label.setObjectName("label")
|
|
self.gridLayout.addWidget(self.label, 1, 0, 1, 1)
|
|
self.plot = PlotWidget(Form)
|
|
self.plot.setObjectName("plot")
|
|
self.gridLayout.addWidget(self.plot, 0, 0, 1, 4)
|
|
self.randCheck = QtGui.QCheckBox(Form)
|
|
self.randCheck.setObjectName("randCheck")
|
|
self.gridLayout.addWidget(self.randCheck, 1, 2, 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.pixelModeCheck.setText(QtGui.QApplication.translate("Form", "pixel mode", None, QtGui.QApplication.UnicodeUTF8))
|
|
self.label.setText(QtGui.QApplication.translate("Form", "Size", None, QtGui.QApplication.UnicodeUTF8))
|
|
self.randCheck.setText(QtGui.QApplication.translate("Form", "Randomize", None, QtGui.QApplication.UnicodeUTF8))
|
|
|
|
from pyqtgraph import PlotWidget
|