89 lines
6.5 KiB
Python
89 lines
6.5 KiB
Python
# -*- coding: utf-8 -*-
|
|
|
|
# Form implementation generated from reading ui file './graphicsItems/ViewBox/axisCtrlTemplate.ui'
|
|
#
|
|
# Created: Sun Sep 9 14:41:32 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(186, 154)
|
|
Form.setMaximumSize(QtCore.QSize(200, 16777215))
|
|
self.gridLayout = QtGui.QGridLayout(Form)
|
|
self.gridLayout.setContentsMargins(0, 0, 0, 0)
|
|
self.gridLayout.setSpacing(0)
|
|
self.gridLayout.setObjectName("gridLayout")
|
|
self.label = QtGui.QLabel(Form)
|
|
self.label.setObjectName("label")
|
|
self.gridLayout.addWidget(self.label, 7, 0, 1, 2)
|
|
self.linkCombo = QtGui.QComboBox(Form)
|
|
self.linkCombo.setSizeAdjustPolicy(QtGui.QComboBox.AdjustToContents)
|
|
self.linkCombo.setObjectName("linkCombo")
|
|
self.gridLayout.addWidget(self.linkCombo, 7, 2, 1, 2)
|
|
self.autoPercentSpin = QtGui.QSpinBox(Form)
|
|
self.autoPercentSpin.setEnabled(True)
|
|
self.autoPercentSpin.setMinimum(1)
|
|
self.autoPercentSpin.setMaximum(100)
|
|
self.autoPercentSpin.setSingleStep(1)
|
|
self.autoPercentSpin.setProperty("value", 100)
|
|
self.autoPercentSpin.setObjectName("autoPercentSpin")
|
|
self.gridLayout.addWidget(self.autoPercentSpin, 2, 2, 1, 2)
|
|
self.autoRadio = QtGui.QRadioButton(Form)
|
|
self.autoRadio.setChecked(True)
|
|
self.autoRadio.setObjectName("autoRadio")
|
|
self.gridLayout.addWidget(self.autoRadio, 2, 0, 1, 2)
|
|
self.manualRadio = QtGui.QRadioButton(Form)
|
|
self.manualRadio.setObjectName("manualRadio")
|
|
self.gridLayout.addWidget(self.manualRadio, 1, 0, 1, 2)
|
|
self.minText = QtGui.QLineEdit(Form)
|
|
self.minText.setObjectName("minText")
|
|
self.gridLayout.addWidget(self.minText, 1, 2, 1, 1)
|
|
self.maxText = QtGui.QLineEdit(Form)
|
|
self.maxText.setObjectName("maxText")
|
|
self.gridLayout.addWidget(self.maxText, 1, 3, 1, 1)
|
|
self.invertCheck = QtGui.QCheckBox(Form)
|
|
self.invertCheck.setObjectName("invertCheck")
|
|
self.gridLayout.addWidget(self.invertCheck, 5, 0, 1, 4)
|
|
self.mouseCheck = QtGui.QCheckBox(Form)
|
|
self.mouseCheck.setChecked(True)
|
|
self.mouseCheck.setObjectName("mouseCheck")
|
|
self.gridLayout.addWidget(self.mouseCheck, 6, 0, 1, 4)
|
|
self.visibleOnlyCheck = QtGui.QCheckBox(Form)
|
|
self.visibleOnlyCheck.setObjectName("visibleOnlyCheck")
|
|
self.gridLayout.addWidget(self.visibleOnlyCheck, 3, 2, 1, 2)
|
|
self.autoPanCheck = QtGui.QCheckBox(Form)
|
|
self.autoPanCheck.setObjectName("autoPanCheck")
|
|
self.gridLayout.addWidget(self.autoPanCheck, 4, 2, 1, 2)
|
|
|
|
self.retranslateUi(Form)
|
|
QtCore.QMetaObject.connectSlotsByName(Form)
|
|
|
|
def retranslateUi(self, Form):
|
|
Form.setWindowTitle(QtGui.QApplication.translate("Form", "Form", None, QtGui.QApplication.UnicodeUTF8))
|
|
self.label.setText(QtGui.QApplication.translate("Form", "Link Axis:", None, QtGui.QApplication.UnicodeUTF8))
|
|
self.linkCombo.setToolTip(QtGui.QApplication.translate("Form", "<html><head/><body><p>Links this axis with another view. When linked, both views will display the same data range.</p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
|
|
self.autoPercentSpin.setToolTip(QtGui.QApplication.translate("Form", "<html><head/><body><p>Percent of data to be visible when auto-scaling. It may be useful to decrease this value for data with spiky noise.</p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
|
|
self.autoPercentSpin.setSuffix(QtGui.QApplication.translate("Form", "%", None, QtGui.QApplication.UnicodeUTF8))
|
|
self.autoRadio.setToolTip(QtGui.QApplication.translate("Form", "<html><head/><body><p>Automatically resize this axis whenever the displayed data is changed.</p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
|
|
self.autoRadio.setText(QtGui.QApplication.translate("Form", "Auto", None, QtGui.QApplication.UnicodeUTF8))
|
|
self.manualRadio.setToolTip(QtGui.QApplication.translate("Form", "<html><head/><body><p>Set the range for this axis manually. This disables automatic scaling. </p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
|
|
self.manualRadio.setText(QtGui.QApplication.translate("Form", "Manual", None, QtGui.QApplication.UnicodeUTF8))
|
|
self.minText.setToolTip(QtGui.QApplication.translate("Form", "<html><head/><body><p>Minimum value to display for this axis.</p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
|
|
self.minText.setText(QtGui.QApplication.translate("Form", "0", None, QtGui.QApplication.UnicodeUTF8))
|
|
self.maxText.setToolTip(QtGui.QApplication.translate("Form", "<html><head/><body><p>Maximum value to display for this axis.</p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
|
|
self.maxText.setText(QtGui.QApplication.translate("Form", "0", None, QtGui.QApplication.UnicodeUTF8))
|
|
self.invertCheck.setToolTip(QtGui.QApplication.translate("Form", "<html><head/><body><p>Inverts the display of this axis. (+y points downward instead of upward)</p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
|
|
self.invertCheck.setText(QtGui.QApplication.translate("Form", "Invert Axis", None, QtGui.QApplication.UnicodeUTF8))
|
|
self.mouseCheck.setToolTip(QtGui.QApplication.translate("Form", "<html><head/><body><p>Enables mouse interaction (panning, scaling) for this axis.</p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
|
|
self.mouseCheck.setText(QtGui.QApplication.translate("Form", "Mouse Enabled", None, QtGui.QApplication.UnicodeUTF8))
|
|
self.visibleOnlyCheck.setToolTip(QtGui.QApplication.translate("Form", "<html><head/><body><p>When checked, the axis will only auto-scale to data that is visible along the orthogonal axis.</p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
|
|
self.visibleOnlyCheck.setText(QtGui.QApplication.translate("Form", "Visible Data Only", None, QtGui.QApplication.UnicodeUTF8))
|
|
self.autoPanCheck.setToolTip(QtGui.QApplication.translate("Form", "<html><head/><body><p>When checked, the axis will automatically pan to center on the current data, but the scale along this axis will not change.</p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
|
|
self.autoPanCheck.setText(QtGui.QApplication.translate("Form", "Auto Pan Only", None, QtGui.QApplication.UnicodeUTF8))
|
|
|