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

# Form implementation generated from reading ui file 'PlanePropertyDialog.ui'
#
# Created: Tue Aug 13 17:05:49 2013
#      by: PyQt4 UI code generator 4.7.3
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_PlaneDataProperties(object):
    def setupUi(self, PlaneDataProperties):
        PlaneDataProperties.setObjectName("PlaneDataProperties")
        PlaneDataProperties.setWindowModality(QtCore.Qt.NonModal)
        PlaneDataProperties.resize(415, 305)
        PlaneDataProperties.setContextMenuPolicy(QtCore.Qt.ActionsContextMenu)
        PlaneDataProperties.setModal(False)
        self.lineEditDataSource = QtGui.QLineEdit(PlaneDataProperties)
        self.lineEditDataSource.setGeometry(QtCore.QRect(110, 10, 291, 27))
        self.lineEditDataSource.setReadOnly(True)
        self.lineEditDataSource.setObjectName("lineEditDataSource")
        self.labelDataSource = QtGui.QLabel(PlaneDataProperties)
        self.labelDataSource.setGeometry(QtCore.QRect(10, 10, 91, 17))
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.labelDataSource.sizePolicy().hasHeightForWidth())
        self.labelDataSource.setSizePolicy(sizePolicy)
        self.labelDataSource.setObjectName("labelDataSource")
        self.labelDataMin = QtGui.QLabel(PlaneDataProperties)
        self.labelDataMin.setGeometry(QtCore.QRect(130, 50, 59, 17))
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.labelDataMin.sizePolicy().hasHeightForWidth())
        self.labelDataMin.setSizePolicy(sizePolicy)
        self.labelDataMin.setAlignment(QtCore.Qt.AlignCenter)
        self.labelDataMin.setObjectName("labelDataMin")
        self.labelDataMinValue = QtGui.QLabel(PlaneDataProperties)
        self.labelDataMinValue.setGeometry(QtCore.QRect(130, 70, 101, 17))
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.labelDataMinValue.sizePolicy().hasHeightForWidth())
        self.labelDataMinValue.setSizePolicy(sizePolicy)
        self.labelDataMinValue.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.labelDataMinValue.setObjectName("labelDataMinValue")
        self.labelDataMax = QtGui.QLabel(PlaneDataProperties)
        self.labelDataMax.setGeometry(QtCore.QRect(250, 50, 59, 17))
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.labelDataMax.sizePolicy().hasHeightForWidth())
        self.labelDataMax.setSizePolicy(sizePolicy)
        self.labelDataMax.setAlignment(QtCore.Qt.AlignCenter)
        self.labelDataMax.setObjectName("labelDataMax")
        self.labelDataMaxValue = QtGui.QLabel(PlaneDataProperties)
        self.labelDataMaxValue.setGeometry(QtCore.QRect(250, 70, 91, 17))
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.labelDataMaxValue.sizePolicy().hasHeightForWidth())
        self.labelDataMaxValue.setSizePolicy(sizePolicy)
        self.labelDataMaxValue.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.labelDataMaxValue.setObjectName("labelDataMaxValue")
        self.frame = QtGui.QFrame(PlaneDataProperties)
        self.frame.setGeometry(QtCore.QRect(10, 100, 391, 191))
        self.frame.setFrameShape(QtGui.QFrame.StyledPanel)
        self.frame.setFrameShadow(QtGui.QFrame.Raised)
        self.frame.setObjectName("frame")
        self.spinboxDataVisibleMin = QtGui.QDoubleSpinBox(self.frame)
        self.spinboxDataVisibleMin.setGeometry(QtCore.QRect(180, 10, 81, 27))
        self.spinboxDataVisibleMin.setObjectName("spinboxDataVisibleMin")
        self.spinboxDataVisibleMax = QtGui.QDoubleSpinBox(self.frame)
        self.spinboxDataVisibleMax.setGeometry(QtCore.QRect(180, 40, 81, 27))
        self.spinboxDataVisibleMax.setToolTip("")
        self.spinboxDataVisibleMax.setObjectName("spinboxDataVisibleMax")
        self.labelDataVisibleMin = QtGui.QLabel(self.frame)
        self.labelDataVisibleMin.setGeometry(QtCore.QRect(18, 10, 151, 20))
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.labelDataVisibleMin.sizePolicy().hasHeightForWidth())
        self.labelDataVisibleMin.setSizePolicy(sizePolicy)
        self.labelDataVisibleMin.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.labelDataVisibleMin.setObjectName("labelDataVisibleMin")
        self.labelDataVisibleMax = QtGui.QLabel(self.frame)
        self.labelDataVisibleMax.setGeometry(QtCore.QRect(18, 40, 151, 20))
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.labelDataVisibleMax.sizePolicy().hasHeightForWidth())
        self.labelDataVisibleMax.setSizePolicy(sizePolicy)
        self.labelDataVisibleMax.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.labelDataVisibleMax.setObjectName("labelDataVisibleMax")
        self.spinboxDataOpacity = QtGui.QDoubleSpinBox(self.frame)
        self.spinboxDataOpacity.setGeometry(QtCore.QRect(30, 150, 81, 27))
        self.spinboxDataOpacity.setDecimals(3)
        self.spinboxDataOpacity.setMaximum(1.0)
        self.spinboxDataOpacity.setSingleStep(0.05)
        self.spinboxDataOpacity.setProperty("value", 1.0)
        self.spinboxDataOpacity.setObjectName("spinboxDataOpacity")
        self.labelDataOpacity = QtGui.QLabel(self.frame)
        self.labelDataOpacity.setGeometry(QtCore.QRect(10, 125, 121, 20))
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.labelDataOpacity.sizePolicy().hasHeightForWidth())
        self.labelDataOpacity.setSizePolicy(sizePolicy)
        self.labelDataOpacity.setAlignment(QtCore.Qt.AlignCenter)
        self.labelDataOpacity.setObjectName("labelDataOpacity")
        self.pushButtonColorMin = QtGui.QPushButton(self.frame)
        self.pushButtonColorMin.setGeometry(QtCore.QRect(170, 125, 90, 27))
        self.pushButtonColorMin.setAutoRepeat(False)
        self.pushButtonColorMin.setAutoDefault(False)
        self.pushButtonColorMin.setObjectName("pushButtonColorMin")
        self.pushButtonColorMax = QtGui.QPushButton(self.frame)
        self.pushButtonColorMax.setGeometry(QtCore.QRect(280, 125, 90, 27))
        self.pushButtonColorMax.setAutoRepeat(False)
        self.pushButtonColorMax.setAutoDefault(False)
        self.pushButtonColorMax.setObjectName("pushButtonColorMax")
        self.labelDataColorRange = QtGui.QLabel(self.frame)
        self.labelDataColorRange.setGeometry(QtCore.QRect(210, 90, 111, 21))
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.labelDataColorRange.sizePolicy().hasHeightForWidth())
        self.labelDataColorRange.setSizePolicy(sizePolicy)
        self.labelDataColorRange.setAlignment(QtCore.Qt.AlignCenter)
        self.labelDataColorRange.setObjectName("labelDataColorRange")
        self.framePlaneColorMin = QtGui.QFrame(self.frame)
        self.framePlaneColorMin.setGeometry(QtCore.QRect(190, 155, 51, 21))
        self.framePlaneColorMin.setAutoFillBackground(True)
        self.framePlaneColorMin.setFrameShape(QtGui.QFrame.StyledPanel)
        self.framePlaneColorMin.setFrameShadow(QtGui.QFrame.Raised)
        self.framePlaneColorMin.setObjectName("framePlaneColorMin")
        self.framePlaneColorMax = QtGui.QFrame(self.frame)
        self.framePlaneColorMax.setGeometry(QtCore.QRect(300, 155, 51, 21))
        self.framePlaneColorMax.setFrameShape(QtGui.QFrame.StyledPanel)
        self.framePlaneColorMax.setFrameShadow(QtGui.QFrame.Raised)
        self.framePlaneColorMax.setObjectName("framePlaneColorMax")
        self.checkBoxClipBelow = QtGui.QCheckBox(self.frame)
        self.checkBoxClipBelow.setGeometry(QtCore.QRect(280, 10, 101, 22))
        self.checkBoxClipBelow.setChecked(True)
        self.checkBoxClipBelow.setObjectName("checkBoxClipBelow")
        self.checkBoxClipAbove = QtGui.QCheckBox(self.frame)
        self.checkBoxClipAbove.setGeometry(QtCore.QRect(280, 40, 101, 22))
        self.checkBoxClipAbove.setObjectName("checkBoxClipAbove")
        self.labelDataRange = QtGui.QLabel(PlaneDataProperties)
        self.labelDataRange.setGeometry(QtCore.QRect(10, 60, 81, 17))
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.labelDataRange.sizePolicy().hasHeightForWidth())
        self.labelDataRange.setSizePolicy(sizePolicy)
        self.labelDataRange.setObjectName("labelDataRange")

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

    def retranslateUi(self, PlaneDataProperties):
        PlaneDataProperties.setWindowTitle(QtGui.QApplication.translate("PlaneDataProperties", "Plane Data Properties", None, QtGui.QApplication.UnicodeUTF8))
        self.lineEditDataSource.setToolTip(QtGui.QApplication.translate("PlaneDataProperties", "This is where the data was loaded from", None, QtGui.QApplication.UnicodeUTF8))
        self.labelDataSource.setText(QtGui.QApplication.translate("PlaneDataProperties", "Data Source:", None, QtGui.QApplication.UnicodeUTF8))
        self.labelDataMin.setToolTip(QtGui.QApplication.translate("PlaneDataProperties", "The loaded data had this minimum value", None, QtGui.QApplication.UnicodeUTF8))
        self.labelDataMin.setText(QtGui.QApplication.translate("PlaneDataProperties", "Min", None, QtGui.QApplication.UnicodeUTF8))
        self.labelDataMinValue.setToolTip(QtGui.QApplication.translate("PlaneDataProperties", "The loaded data had this minimum value", None, QtGui.QApplication.UnicodeUTF8))
        self.labelDataMinValue.setText(QtGui.QApplication.translate("PlaneDataProperties", "0", None, QtGui.QApplication.UnicodeUTF8))
        self.labelDataMax.setToolTip(QtGui.QApplication.translate("PlaneDataProperties", "The loaded data had this maximum value", None, QtGui.QApplication.UnicodeUTF8))
        self.labelDataMax.setText(QtGui.QApplication.translate("PlaneDataProperties", "Max", None, QtGui.QApplication.UnicodeUTF8))
        self.labelDataMaxValue.setToolTip(QtGui.QApplication.translate("PlaneDataProperties", "The loaded data had this maximum value", None, QtGui.QApplication.UnicodeUTF8))
        self.labelDataMaxValue.setText(QtGui.QApplication.translate("PlaneDataProperties", "0", None, QtGui.QApplication.UnicodeUTF8))
        self.spinboxDataVisibleMin.setToolTip(QtGui.QApplication.translate("PlaneDataProperties", "NB: Defaults to 10% of the Maximum positive value at first load", None, QtGui.QApplication.UnicodeUTF8))
        self.labelDataVisibleMin.setText(QtGui.QApplication.translate("PlaneDataProperties", "Visble data minimum", None, QtGui.QApplication.UnicodeUTF8))
        self.labelDataVisibleMax.setText(QtGui.QApplication.translate("PlaneDataProperties", "Visble data maximum", None, QtGui.QApplication.UnicodeUTF8))
        self.spinboxDataOpacity.setToolTip(QtGui.QApplication.translate("PlaneDataProperties", "Set how opaque the planes are (0=transparent, 1=opaque)", None, QtGui.QApplication.UnicodeUTF8))
        self.labelDataOpacity.setToolTip(QtGui.QApplication.translate("PlaneDataProperties", "Set how opaque the planes are (0=transparent, 1=opaque)", None, QtGui.QApplication.UnicodeUTF8))
        self.labelDataOpacity.setText(QtGui.QApplication.translate("PlaneDataProperties", "Opacity ( 0 - 1)", None, QtGui.QApplication.UnicodeUTF8))
        self.pushButtonColorMin.setToolTip(QtGui.QApplication.translate("PlaneDataProperties", "Click to pick a new colour for low range of data displayed (colour shown in box below)", None, QtGui.QApplication.UnicodeUTF8))
        self.pushButtonColorMin.setText(QtGui.QApplication.translate("PlaneDataProperties", "Color (Min)", None, QtGui.QApplication.UnicodeUTF8))
        self.pushButtonColorMax.setToolTip(QtGui.QApplication.translate("PlaneDataProperties", "Click to pick a new colour for high range of data displayed (colour shown in box below)", None, QtGui.QApplication.UnicodeUTF8))
        self.pushButtonColorMax.setText(QtGui.QApplication.translate("PlaneDataProperties", "Color (Max)", None, QtGui.QApplication.UnicodeUTF8))
        self.labelDataColorRange.setText(QtGui.QApplication.translate("PlaneDataProperties", "Color range", None, QtGui.QApplication.UnicodeUTF8))
        self.checkBoxClipBelow.setToolTip(QtGui.QApplication.translate("PlaneDataProperties", "This will make all values below the \'Visible data minimum\' transparent", None, QtGui.QApplication.UnicodeUTF8))
        self.checkBoxClipBelow.setText(QtGui.QApplication.translate("PlaneDataProperties", "Clip below", None, QtGui.QApplication.UnicodeUTF8))
        self.checkBoxClipAbove.setToolTip(QtGui.QApplication.translate("PlaneDataProperties", "This will make all values above the \'Visible data maximum\' transparent", None, QtGui.QApplication.UnicodeUTF8))
        self.checkBoxClipAbove.setText(QtGui.QApplication.translate("PlaneDataProperties", "Clip above", None, QtGui.QApplication.UnicodeUTF8))
        self.labelDataRange.setText(QtGui.QApplication.translate("PlaneDataProperties", "Data range:", None, QtGui.QApplication.UnicodeUTF8))


if __name__ == "__main__":
    import sys
    app = QtGui.QApplication(sys.argv)
    PlaneDataProperties = QtGui.QDialog()
    ui = Ui_PlaneDataProperties()
    ui.setupUi(PlaneDataProperties)
    PlaneDataProperties.show()
    sys.exit(app.exec_())

