# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'ui/motoreditor.ui'
#
# Created: Wed May 31 13:32:37 2017
#      by: PyQt4 UI code generator 4.10.4
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    def _fromUtf8(s):
        return s

try:
    _encoding = QtGui.QApplication.UnicodeUTF8
    def _translate(context, text, disambig):
        return QtGui.QApplication.translate(context, text, disambig, _encoding)
except AttributeError:
    def _translate(context, text, disambig):
        return QtGui.QApplication.translate(context, text, disambig)

class Ui_Form(object):
    def setupUi(self, Form):
        Form.setObjectName(_fromUtf8("Form"))
        Form.resize(600, 36)
        self.verticalLayout = QtGui.QVBoxLayout(Form)
        self.verticalLayout.setSpacing(0)
        self.verticalLayout.setMargin(0)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setSpacing(0)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.enableCheckBox = QtGui.QCheckBox(Form)
        self.enableCheckBox.setText(_fromUtf8(""))
        self.enableCheckBox.setObjectName(_fromUtf8("enableCheckBox"))
        self.horizontalLayout.addWidget(self.enableCheckBox)
        self.motorValueSlider = MotorValueSlider(Form)
        self.motorValueSlider.setEnabled(True)
        self.motorValueSlider.setAutoFillBackground(True)
        self.motorValueSlider.setMinimum(3200)
        self.motorValueSlider.setMaximum(10000)
        self.motorValueSlider.setSingleStep(4)
        self.motorValueSlider.setPageStep(40)
        self.motorValueSlider.setOrientation(QtCore.Qt.Horizontal)
        self.motorValueSlider.setTickPosition(QtGui.QSlider.TicksBelow)
        self.motorValueSlider.setTickInterval(400)
        self.motorValueSlider.setObjectName(_fromUtf8("motorValueSlider"))
        self.horizontalLayout.addWidget(self.motorValueSlider)
        self.motorValueDoubleSpinBox = QtGui.QDoubleSpinBox(Form)
        self.motorValueDoubleSpinBox.setEnabled(True)
        self.motorValueDoubleSpinBox.setMinimum(800.0)
        self.motorValueDoubleSpinBox.setMaximum(2500.0)
        self.motorValueDoubleSpinBox.setSingleStep(0.25)
        self.motorValueDoubleSpinBox.setObjectName(_fromUtf8("motorValueDoubleSpinBox"))
        self.horizontalLayout.addWidget(self.motorValueDoubleSpinBox)
        self.setMinButton = QtGui.QPushButton(Form)
        self.setMinButton.setObjectName(_fromUtf8("setMinButton"))
        self.horizontalLayout.addWidget(self.setMinButton)
        self.setInitButton = QtGui.QPushButton(Form)
        self.setInitButton.setObjectName(_fromUtf8("setInitButton"))
        self.horizontalLayout.addWidget(self.setInitButton)
        self.setMaxButton = QtGui.QPushButton(Form)
        self.setMaxButton.setObjectName(_fromUtf8("setMaxButton"))
        self.horizontalLayout.addWidget(self.setMaxButton)
        self.verticalLayout.addLayout(self.horizontalLayout)

        self.retranslateUi(Form)
        QtCore.QMetaObject.connectSlotsByName(Form)

    def retranslateUi(self, Form):
        Form.setWindowTitle(_translate("Form", "Form", None))
        Form.setToolTip(_translate("Form", "Enable Motor", None))
        self.enableCheckBox.setWhatsThis(_translate("Form", "Enable Motor", None))
        self.motorValueSlider.setToolTip(_translate("Form", "Slide it to change motor target position", None))
        self.motorValueDoubleSpinBox.setToolTip(_translate("Form", "Motor target position", None))
        self.setMinButton.setToolTip(_translate("Form", "Set the current position as mininum position", None))
        self.setMinButton.setText(_translate("Form", "Set Min", None))
        self.setInitButton.setToolTip(_translate("Form", "Set the current position as initial position", None))
        self.setInitButton.setText(_translate("Form", "Set Init", None))
        self.setMaxButton.setToolTip(_translate("Form", "Set the current position as maximum position", None))
        self.setMaxButton.setText(_translate("Form", "Set Max", None))

from motorvalueslider import MotorValueSlider
