# -*- coding: utf-8 -*-
from __future__ import print_function

# Form implementation generated from reading ui file './acq4/analysis/scripts/builder/builderTemplate.ui'
#
# Created: Tue Dec 24 01:49:15 2013
#      by: PyQt4 UI code generator 4.10
#
# 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(758, 588)
        self.gridLayout_6 = QtGui.QGridLayout(Form)
        self.gridLayout_6.setMargin(0)
        self.gridLayout_6.setSpacing(0)
        self.gridLayout_6.setObjectName(_fromUtf8("gridLayout_6"))
        self.splitter = QtGui.QSplitter(Form)
        self.splitter.setOrientation(QtCore.Qt.Horizontal)
        self.splitter.setObjectName(_fromUtf8("splitter"))
        self.widget = QtGui.QWidget(self.splitter)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(10)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.widget.sizePolicy().hasHeightForWidth())
        self.widget.setSizePolicy(sizePolicy)
        self.widget.setObjectName(_fromUtf8("widget"))
        self.gridLayout_5 = QtGui.QGridLayout(self.widget)
        self.gridLayout_5.setMargin(0)
        self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5"))
        self.view = GraphicsView(self.widget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(10)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.view.sizePolicy().hasHeightForWidth())
        self.view.setSizePolicy(sizePolicy)
        self.view.setObjectName(_fromUtf8("view"))
        self.gridLayout_5.addWidget(self.view, 0, 0, 1, 1)
        self.zSlider = QtGui.QSlider(self.widget)
        self.zSlider.setOrientation(QtCore.Qt.Horizontal)
        self.zSlider.setObjectName(_fromUtf8("zSlider"))
        self.gridLayout_5.addWidget(self.zSlider, 1, 0, 1, 1)
        self.widget1 = QtGui.QWidget(self.splitter)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(2)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.widget1.sizePolicy().hasHeightForWidth())
        self.widget1.setSizePolicy(sizePolicy)
        self.widget1.setObjectName(_fromUtf8("widget1"))
        self.gridLayout_4 = QtGui.QGridLayout(self.widget1)
        self.gridLayout_4.setMargin(0)
        self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4"))
        self.groupBox = QtGui.QGroupBox(self.widget1)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.groupBox.sizePolicy().hasHeightForWidth())
        self.groupBox.setSizePolicy(sizePolicy)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.gridLayout = QtGui.QGridLayout(self.groupBox)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.dorsalRadio = QtGui.QRadioButton(self.groupBox)
        self.dorsalRadio.setObjectName(_fromUtf8("dorsalRadio"))
        self.gridLayout.addWidget(self.dorsalRadio, 1, 1, 1, 1)
        self.rostralRadio = QtGui.QRadioButton(self.groupBox)
        self.rostralRadio.setObjectName(_fromUtf8("rostralRadio"))
        self.gridLayout.addWidget(self.rostralRadio, 2, 1, 1, 1)
        self.rightRadio = QtGui.QRadioButton(self.groupBox)
        self.rightRadio.setChecked(True)
        self.rightRadio.setObjectName(_fromUtf8("rightRadio"))
        self.gridLayout.addWidget(self.rightRadio, 0, 1, 1, 1)
        self.greyCheck = QtGui.QCheckBox(self.groupBox)
        self.greyCheck.setObjectName(_fromUtf8("greyCheck"))
        self.gridLayout.addWidget(self.greyCheck, 4, 1, 1, 1)
        self.labelSlider = QtGui.QSlider(self.groupBox)
        self.labelSlider.setMaximum(255)
        self.labelSlider.setProperty("value", 50)
        self.labelSlider.setOrientation(QtCore.Qt.Horizontal)
        self.labelSlider.setObjectName(_fromUtf8("labelSlider"))
        self.gridLayout.addWidget(self.labelSlider, 6, 1, 1, 1)
        self.line = QtGui.QFrame(self.groupBox)
        self.line.setFrameShape(QtGui.QFrame.HLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName(_fromUtf8("line"))
        self.gridLayout.addWidget(self.line, 3, 1, 1, 1)
        self.overlayCheck = QtGui.QCheckBox(self.groupBox)
        self.overlayCheck.setObjectName(_fromUtf8("overlayCheck"))
        self.gridLayout.addWidget(self.overlayCheck, 5, 1, 1, 1)
        self.gridLayout_4.addWidget(self.groupBox, 0, 0, 1, 1)
        self.groupBox_3 = QtGui.QGroupBox(self.widget1)
        self.groupBox_3.setObjectName(_fromUtf8("groupBox_3"))
        self.gridLayout_3 = QtGui.QGridLayout(self.groupBox_3)
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.label = QtGui.QLabel(self.groupBox_3)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout_3.addWidget(self.label, 0, 0, 1, 1)
        self.radiusSpin = QtGui.QSpinBox(self.groupBox_3)
        self.radiusSpin.setMinimum(1)
        self.radiusSpin.setObjectName(_fromUtf8("radiusSpin"))
        self.gridLayout_3.addWidget(self.radiusSpin, 0, 1, 1, 1)
        self.label_2 = QtGui.QLabel(self.groupBox_3)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout_3.addWidget(self.label_2, 1, 0, 1, 1)
        self.labelSpin = QtGui.QSpinBox(self.groupBox_3)
        self.labelSpin.setMinimum(0)
        self.labelSpin.setMaximum(15)
        self.labelSpin.setProperty("value", 0)
        self.labelSpin.setObjectName(_fromUtf8("labelSpin"))
        self.gridLayout_3.addWidget(self.labelSpin, 1, 1, 1, 1)
        self.gridLayout_4.addWidget(self.groupBox_3, 1, 0, 1, 1)
        self.groupBox_2 = QtGui.QGroupBox(self.widget1)
        self.groupBox_2.setObjectName(_fromUtf8("groupBox_2"))
        self.gridLayout_2 = QtGui.QGridLayout(self.groupBox_2)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.labelTree = TreeWidget(self.groupBox_2)
        self.labelTree.setRootIsDecorated(False)
        self.labelTree.setItemsExpandable(False)
        self.labelTree.setExpandsOnDoubleClick(False)
        self.labelTree.setObjectName(_fromUtf8("labelTree"))
        self.labelTree.headerItem().setText(1, _fromUtf8("name"))
        self.labelTree.header().setDefaultSectionSize(100)
        self.gridLayout_2.addWidget(self.labelTree, 0, 0, 1, 1)
        self.gridLayout_4.addWidget(self.groupBox_2, 2, 0, 1, 1)
        self.gridLayout_6.addWidget(self.splitter, 0, 0, 1, 1)

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

    def retranslateUi(self, Form):
        Form.setWindowTitle(_translate("Form", "Form", None))
        self.groupBox.setTitle(_translate("Form", "View", None))
        self.dorsalRadio.setText(_translate("Form", "Dorsal", None))
        self.rostralRadio.setText(_translate("Form", "Rostral", None))
        self.rightRadio.setText(_translate("Form", "Right", None))
        self.greyCheck.setText(_translate("Form", "Greyscale", None))
        self.overlayCheck.setText(_translate("Form", "Overlay", None))
        self.groupBox_3.setTitle(_translate("Form", "Drawing", None))
        self.label.setText(_translate("Form", "Radius", None))
        self.label_2.setText(_translate("Form", "Label", None))
        self.groupBox_2.setTitle(_translate("Form", "Labels", None))
        self.labelTree.headerItem().setText(0, _translate("Form", "color", None))
        self.labelTree.headerItem().setText(2, _translate("Form", "id", None))

from acq4.pyqtgraph import GraphicsView, TreeWidget
