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

# Form implementation generated from reading ui file 'singleSurfaceOptionsDialog.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_singleSurfaceOptionsDialog(object):
    def setupUi(self, singleSurfaceOptionsDialog):
        singleSurfaceOptionsDialog.setObjectName("singleSurfaceOptionsDialog")
        singleSurfaceOptionsDialog.setWindowModality(QtCore.Qt.ApplicationModal)
        singleSurfaceOptionsDialog.resize(400, 466)
        self.buttonBox = QtGui.QDialogButtonBox(singleSurfaceOptionsDialog)
        self.buttonBox.setGeometry(QtCore.QRect(20, 420, 341, 32))
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setCenterButtons(True)
        self.buttonBox.setObjectName("buttonBox")
        self.comboBoxSelectData = QtGui.QComboBox(singleSurfaceOptionsDialog)
        self.comboBoxSelectData.setGeometry(QtCore.QRect(140, 20, 251, 29))
        self.comboBoxSelectData.setObjectName("comboBoxSelectData")
        self.labelSelectData = QtGui.QLabel(singleSurfaceOptionsDialog)
        self.labelSelectData.setGeometry(QtCore.QRect(20, 20, 121, 17))
        self.labelSelectData.setObjectName("labelSelectData")
        self.frameDataInformation = QtGui.QFrame(singleSurfaceOptionsDialog)
        self.frameDataInformation.setEnabled(True)
        self.frameDataInformation.setGeometry(QtCore.QRect(20, 70, 361, 81))
        self.frameDataInformation.setFrameShape(QtGui.QFrame.StyledPanel)
        self.frameDataInformation.setFrameShadow(QtGui.QFrame.Raised)
        self.frameDataInformation.setObjectName("frameDataInformation")
        self.labelDataMin = QtGui.QLabel(self.frameDataInformation)
        self.labelDataMin.setGeometry(QtCore.QRect(140, 30, 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(self.frameDataInformation)
        self.labelDataMinValue.setGeometry(QtCore.QRect(140, 50, 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.labelDataRange = QtGui.QLabel(self.frameDataInformation)
        self.labelDataRange.setGeometry(QtCore.QRect(30, 40, 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.labelDataMaxValue = QtGui.QLabel(self.frameDataInformation)
        self.labelDataMaxValue.setGeometry(QtCore.QRect(260, 50, 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.labelDataMax = QtGui.QLabel(self.frameDataInformation)
        self.labelDataMax.setGeometry(QtCore.QRect(260, 30, 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.labelDataInformation = QtGui.QLabel(self.frameDataInformation)
        self.labelDataInformation.setGeometry(QtCore.QRect(10, 5, 201, 17))
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.labelDataInformation.sizePolicy().hasHeightForWidth())
        self.labelDataInformation.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setWeight(75)
        font.setBold(True)
        self.labelDataInformation.setFont(font)
        self.labelDataInformation.setObjectName("labelDataInformation")
        self.frameSurfaceOptions = QtGui.QFrame(singleSurfaceOptionsDialog)
        self.frameSurfaceOptions.setEnabled(True)
        self.frameSurfaceOptions.setGeometry(QtCore.QRect(20, 160, 361, 251))
        self.frameSurfaceOptions.setFrameShape(QtGui.QFrame.StyledPanel)
        self.frameSurfaceOptions.setFrameShadow(QtGui.QFrame.Raised)
        self.frameSurfaceOptions.setObjectName("frameSurfaceOptions")
        self.labelSurfaceOptions = QtGui.QLabel(self.frameSurfaceOptions)
        self.labelSurfaceOptions.setGeometry(QtCore.QRect(10, 4, 201, 17))
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.labelSurfaceOptions.sizePolicy().hasHeightForWidth())
        self.labelSurfaceOptions.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setWeight(75)
        font.setBold(True)
        self.labelSurfaceOptions.setFont(font)
        self.labelSurfaceOptions.setObjectName("labelSurfaceOptions")
        self.labelExtractionThreshold = QtGui.QLabel(self.frameSurfaceOptions)
        self.labelExtractionThreshold.setGeometry(QtCore.QRect(10, 30, 141, 20))
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.labelExtractionThreshold.sizePolicy().hasHeightForWidth())
        self.labelExtractionThreshold.setSizePolicy(sizePolicy)
        self.labelExtractionThreshold.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.labelExtractionThreshold.setObjectName("labelExtractionThreshold")
        self.spinboxExtractionThreshold = QtGui.QDoubleSpinBox(self.frameSurfaceOptions)
        self.spinboxExtractionThreshold.setGeometry(QtCore.QRect(160, 25, 101, 27))
        self.spinboxExtractionThreshold.setDecimals(4)
        self.spinboxExtractionThreshold.setObjectName("spinboxExtractionThreshold")
        self.labelSamplingFrequency = QtGui.QLabel(self.frameSurfaceOptions)
        self.labelSamplingFrequency.setGeometry(QtCore.QRect(60, 180, 141, 20))
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.labelSamplingFrequency.sizePolicy().hasHeightForWidth())
        self.labelSamplingFrequency.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setItalic(True)
        self.labelSamplingFrequency.setFont(font)
        self.labelSamplingFrequency.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.labelSamplingFrequency.setObjectName("labelSamplingFrequency")
        self.spinBoxSamplingFrequency = QtGui.QSpinBox(self.frameSurfaceOptions)
        self.spinBoxSamplingFrequency.setGeometry(QtCore.QRect(210, 176, 101, 27))
        self.spinBoxSamplingFrequency.setMinimum(1)
        self.spinBoxSamplingFrequency.setMaximum(10)
        self.spinBoxSamplingFrequency.setObjectName("spinBoxSamplingFrequency")
        self.comboBoxSurfacesToGet = QtGui.QComboBox(self.frameSurfaceOptions)
        self.comboBoxSurfacesToGet.setGeometry(QtCore.QRect(160, 56, 191, 29))
        self.comboBoxSurfacesToGet.setObjectName("comboBoxSurfacesToGet")
        self.labelSurfacesToGet = QtGui.QLabel(self.frameSurfaceOptions)
        self.labelSurfacesToGet.setGeometry(QtCore.QRect(10, 60, 141, 20))
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.labelSurfacesToGet.sizePolicy().hasHeightForWidth())
        self.labelSurfacesToGet.setSizePolicy(sizePolicy)
        self.labelSurfacesToGet.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.labelSurfacesToGet.setObjectName("labelSurfacesToGet")
        self.labelAdvancedSurfaceOptions = QtGui.QLabel(self.frameSurfaceOptions)
        self.labelAdvancedSurfaceOptions.setGeometry(QtCore.QRect(10, 120, 341, 17))
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.labelAdvancedSurfaceOptions.sizePolicy().hasHeightForWidth())
        self.labelAdvancedSurfaceOptions.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setWeight(75)
        font.setItalic(False)
        font.setBold(True)
        self.labelAdvancedSurfaceOptions.setFont(font)
        self.labelAdvancedSurfaceOptions.setObjectName("labelAdvancedSurfaceOptions")
        self.labelSmoothingIterations = QtGui.QLabel(self.frameSurfaceOptions)
        self.labelSmoothingIterations.setGeometry(QtCore.QRect(60, 150, 141, 20))
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.labelSmoothingIterations.sizePolicy().hasHeightForWidth())
        self.labelSmoothingIterations.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setItalic(True)
        self.labelSmoothingIterations.setFont(font)
        self.labelSmoothingIterations.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.labelSmoothingIterations.setObjectName("labelSmoothingIterations")
        self.spinBoxSmoothingIterations = QtGui.QSpinBox(self.frameSurfaceOptions)
        self.spinBoxSmoothingIterations.setGeometry(QtCore.QRect(210, 146, 101, 27))
        self.spinBoxSmoothingIterations.setMinimum(1)
        self.spinBoxSmoothingIterations.setMaximum(1000)
        self.spinBoxSmoothingIterations.setProperty("value", 100)
        self.spinBoxSmoothingIterations.setObjectName("spinBoxSmoothingIterations")
        self.labelDecimationFactor = QtGui.QLabel(self.frameSurfaceOptions)
        self.labelDecimationFactor.setGeometry(QtCore.QRect(60, 211, 141, 20))
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.labelDecimationFactor.sizePolicy().hasHeightForWidth())
        self.labelDecimationFactor.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setItalic(True)
        self.labelDecimationFactor.setFont(font)
        self.labelDecimationFactor.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.labelDecimationFactor.setObjectName("labelDecimationFactor")
        self.spinboxDecimationFactor = QtGui.QDoubleSpinBox(self.frameSurfaceOptions)
        self.spinboxDecimationFactor.setGeometry(QtCore.QRect(210, 206, 101, 27))
        self.spinboxDecimationFactor.setObjectName("spinboxDecimationFactor")

        self.retranslateUi(singleSurfaceOptionsDialog)
        self.comboBoxSurfacesToGet.setCurrentIndex(-1)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("accepted()"), singleSurfaceOptionsDialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("rejected()"), singleSurfaceOptionsDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(singleSurfaceOptionsDialog)

    def retranslateUi(self, singleSurfaceOptionsDialog):
        singleSurfaceOptionsDialog.setWindowTitle(QtGui.QApplication.translate("singleSurfaceOptionsDialog", "Create a surface from loaded data ...", None, QtGui.QApplication.UnicodeUTF8))
        self.comboBoxSelectData.setToolTip(QtGui.QApplication.translate("singleSurfaceOptionsDialog", "Data suitable for extracting surfaces from are shown here", None, QtGui.QApplication.UnicodeUTF8))
        self.labelSelectData.setText(QtGui.QApplication.translate("singleSurfaceOptionsDialog", "Select the data:", None, QtGui.QApplication.UnicodeUTF8))
        self.frameDataInformation.setToolTip(QtGui.QApplication.translate("singleSurfaceOptionsDialog", "This panel shows the value range for the data selected above", None, QtGui.QApplication.UnicodeUTF8))
        self.labelDataMin.setToolTip(QtGui.QApplication.translate("singleSurfaceOptionsDialog", "This panel shows the value range for the data selected above", None, QtGui.QApplication.UnicodeUTF8))
        self.labelDataMin.setText(QtGui.QApplication.translate("singleSurfaceOptionsDialog", "Min", None, QtGui.QApplication.UnicodeUTF8))
        self.labelDataMinValue.setToolTip(QtGui.QApplication.translate("singleSurfaceOptionsDialog", "This panel shows the value range for the data selected above", None, QtGui.QApplication.UnicodeUTF8))
        self.labelDataMinValue.setText(QtGui.QApplication.translate("singleSurfaceOptionsDialog", "0", None, QtGui.QApplication.UnicodeUTF8))
        self.labelDataRange.setToolTip(QtGui.QApplication.translate("singleSurfaceOptionsDialog", "This panel shows the value range for the data selected above", None, QtGui.QApplication.UnicodeUTF8))
        self.labelDataRange.setText(QtGui.QApplication.translate("singleSurfaceOptionsDialog", "Data range:", None, QtGui.QApplication.UnicodeUTF8))
        self.labelDataMaxValue.setToolTip(QtGui.QApplication.translate("singleSurfaceOptionsDialog", "This panel shows the value range for the data selected above", None, QtGui.QApplication.UnicodeUTF8))
        self.labelDataMaxValue.setText(QtGui.QApplication.translate("singleSurfaceOptionsDialog", "0", None, QtGui.QApplication.UnicodeUTF8))
        self.labelDataMax.setToolTip(QtGui.QApplication.translate("singleSurfaceOptionsDialog", "This panel shows the value range for the data selected above", None, QtGui.QApplication.UnicodeUTF8))
        self.labelDataMax.setText(QtGui.QApplication.translate("singleSurfaceOptionsDialog", "Max", None, QtGui.QApplication.UnicodeUTF8))
        self.labelDataInformation.setToolTip(QtGui.QApplication.translate("singleSurfaceOptionsDialog", "This panel shows the value range for the data selected above", None, QtGui.QApplication.UnicodeUTF8))
        self.labelDataInformation.setText(QtGui.QApplication.translate("singleSurfaceOptionsDialog", "Selected data information:", None, QtGui.QApplication.UnicodeUTF8))
        self.labelSurfaceOptions.setText(QtGui.QApplication.translate("singleSurfaceOptionsDialog", "Surface options:", None, QtGui.QApplication.UnicodeUTF8))
        self.labelExtractionThreshold.setText(QtGui.QApplication.translate("singleSurfaceOptionsDialog", "Extraction threshold", None, QtGui.QApplication.UnicodeUTF8))
        self.spinboxExtractionThreshold.setToolTip(QtGui.QApplication.translate("singleSurfaceOptionsDialog", "Data value at which iso-contouring extracts a surface (effectively a \'3d-join-the-dots\')", None, QtGui.QApplication.UnicodeUTF8))
        self.labelSamplingFrequency.setText(QtGui.QApplication.translate("singleSurfaceOptionsDialog", "Sampling frequency", None, QtGui.QApplication.UnicodeUTF8))
        self.spinBoxSamplingFrequency.setToolTip(QtGui.QApplication.translate("singleSurfaceOptionsDialog", "(1-5) \'join the dots\' at every adjacent pixel or every 2nd (2), 3rd (3) .. etc. (a decimation operation)", None, QtGui.QApplication.UnicodeUTF8))
        self.comboBoxSurfacesToGet.setToolTip(QtGui.QApplication.translate("singleSurfaceOptionsDialog", "You can get all clusters of joined up \'blobs\' or just the biggest", None, QtGui.QApplication.UnicodeUTF8))
        self.labelSurfacesToGet.setText(QtGui.QApplication.translate("singleSurfaceOptionsDialog", "Surfaces to get", None, QtGui.QApplication.UnicodeUTF8))
        self.labelAdvancedSurfaceOptions.setText(QtGui.QApplication.translate("singleSurfaceOptionsDialog", "Advanced options (with suggested defaults):", None, QtGui.QApplication.UnicodeUTF8))
        self.labelSmoothingIterations.setText(QtGui.QApplication.translate("singleSurfaceOptionsDialog", "Smoothing iterations", None, QtGui.QApplication.UnicodeUTF8))
        self.spinBoxSmoothingIterations.setToolTip(QtGui.QApplication.translate("singleSurfaceOptionsDialog", "default 100 (range 0-1000) - Some basic smoothing is applied to data", None, QtGui.QApplication.UnicodeUTF8))
        self.labelDecimationFactor.setText(QtGui.QApplication.translate("singleSurfaceOptionsDialog", "Decimation factor", None, QtGui.QApplication.UnicodeUTF8))
        self.spinboxDecimationFactor.setToolTip(QtGui.QApplication.translate("singleSurfaceOptionsDialog", "e.g. setting this to 0.75 will TRY to reduce the number of vertices in your surface BY 75%", None, QtGui.QApplication.UnicodeUTF8))


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

