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

# Form implementation generated from reading ui file 'pValueHistogram.ui'
#
# Created: Sat Apr 16 13:42:19 2011
#      by: PyQt4 UI code generator 4.6.2
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_pValueHistogramDialog(object):
    def setupUi(self, pValueHistogramDialog):
        pValueHistogramDialog.setObjectName("pValueHistogramDialog")
        pValueHistogramDialog.resize(379, 286)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(pValueHistogramDialog.sizePolicy().hasHeightForWidth())
        pValueHistogramDialog.setSizePolicy(sizePolicy)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(":/icons/icons/programIcon.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        pValueHistogramDialog.setWindowIcon(icon)
        self.verticalLayout_7 = QtGui.QVBoxLayout(pValueHistogramDialog)
        self.verticalLayout_7.setObjectName("verticalLayout_7")
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.lblFieldToPlot = QtGui.QLabel(pValueHistogramDialog)
        self.lblFieldToPlot.setObjectName("lblFieldToPlot")
        self.horizontalLayout_2.addWidget(self.lblFieldToPlot)
        self.cboFieldToPlot = QtGui.QComboBox(pValueHistogramDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cboFieldToPlot.sizePolicy().hasHeightForWidth())
        self.cboFieldToPlot.setSizePolicy(sizePolicy)
        self.cboFieldToPlot.setObjectName("cboFieldToPlot")
        self.cboFieldToPlot.addItem("")
        self.cboFieldToPlot.addItem("")
        self.horizontalLayout_2.addWidget(self.cboFieldToPlot)
        self.verticalLayout_7.addLayout(self.horizontalLayout_2)
        self.horizontalLayout_4 = QtGui.QHBoxLayout()
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        self.groupBox_3 = QtGui.QGroupBox(pValueHistogramDialog)
        self.groupBox_3.setObjectName("groupBox_3")
        self.verticalLayout_3 = QtGui.QVBoxLayout(self.groupBox_3)
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.formLayout_2 = QtGui.QFormLayout()
        self.formLayout_2.setObjectName("formLayout_2")
        self.lblFigureWidth = QtGui.QLabel(self.groupBox_3)
        self.lblFigureWidth.setObjectName("lblFigureWidth")
        self.formLayout_2.setWidget(0, QtGui.QFormLayout.LabelRole, self.lblFigureWidth)
        self.spinFigWidth = QtGui.QDoubleSpinBox(self.groupBox_3)
        self.spinFigWidth.setDecimals(2)
        self.spinFigWidth.setMinimum(2.0)
        self.spinFigWidth.setMaximum(20.0)
        self.spinFigWidth.setSingleStep(0.5)
        self.spinFigWidth.setProperty("value", 6.5)
        self.spinFigWidth.setObjectName("spinFigWidth")
        self.formLayout_2.setWidget(0, QtGui.QFormLayout.FieldRole, self.spinFigWidth)
        self.lblFigureHeight = QtGui.QLabel(self.groupBox_3)
        self.lblFigureHeight.setObjectName("lblFigureHeight")
        self.formLayout_2.setWidget(1, QtGui.QFormLayout.LabelRole, self.lblFigureHeight)
        self.spinFigHeight = QtGui.QDoubleSpinBox(self.groupBox_3)
        self.spinFigHeight.setMinimum(2.0)
        self.spinFigHeight.setMaximum(12.0)
        self.spinFigHeight.setSingleStep(0.5)
        self.spinFigHeight.setProperty("value", 6.5)
        self.spinFigHeight.setObjectName("spinFigHeight")
        self.formLayout_2.setWidget(1, QtGui.QFormLayout.FieldRole, self.spinFigHeight)
        self.verticalLayout_3.addLayout(self.formLayout_2)
        self.horizontalLayout_4.addWidget(self.groupBox_3)
        self.groupBox_4 = QtGui.QGroupBox(pValueHistogramDialog)
        self.groupBox_4.setObjectName("groupBox_4")
        self.verticalLayout = QtGui.QVBoxLayout(self.groupBox_4)
        self.verticalLayout.setObjectName("verticalLayout")
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.lblBinWidthh = QtGui.QLabel(self.groupBox_4)
        self.lblBinWidthh.setObjectName("lblBinWidthh")
        self.horizontalLayout.addWidget(self.lblBinWidthh)
        self.spinBinWidth = QtGui.QDoubleSpinBox(self.groupBox_4)
        self.spinBinWidth.setDecimals(3)
        self.spinBinWidth.setMinimum(0.001)
        self.spinBinWidth.setMaximum(1.0)
        self.spinBinWidth.setSingleStep(0.001)
        self.spinBinWidth.setProperty("value", 0.01)
        self.spinBinWidth.setObjectName("spinBinWidth")
        self.horizontalLayout.addWidget(self.spinBinWidth)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.chkLogScale = QtGui.QCheckBox(self.groupBox_4)
        self.chkLogScale.setObjectName("chkLogScale")
        self.verticalLayout.addWidget(self.chkLogScale)
        self.horizontalLayout_4.addWidget(self.groupBox_4)
        self.verticalLayout_7.addLayout(self.horizontalLayout_4)
        self.horizontalLayout_7 = QtGui.QHBoxLayout()
        self.horizontalLayout_7.setObjectName("horizontalLayout_7")
        self.groupBox_7 = QtGui.QGroupBox(pValueHistogramDialog)
        self.groupBox_7.setObjectName("groupBox_7")
        self.verticalLayout_5 = QtGui.QVBoxLayout(self.groupBox_7)
        self.verticalLayout_5.setObjectName("verticalLayout_5")
        self.chkShowInset = QtGui.QCheckBox(self.groupBox_7)
        self.chkShowInset.setChecked(True)
        self.chkShowInset.setObjectName("chkShowInset")
        self.verticalLayout_5.addWidget(self.chkShowInset)
        self.formLayout_4 = QtGui.QFormLayout()
        self.formLayout_4.setObjectName("formLayout_4")
        self.lblInsetWidth = QtGui.QLabel(self.groupBox_7)
        self.lblInsetWidth.setObjectName("lblInsetWidth")
        self.formLayout_4.setWidget(0, QtGui.QFormLayout.LabelRole, self.lblInsetWidth)
        self.spinInsetWidth = QtGui.QDoubleSpinBox(self.groupBox_7)
        self.spinInsetWidth.setDecimals(1)
        self.spinInsetWidth.setMinimum(1.0)
        self.spinInsetWidth.setMaximum(100.0)
        self.spinInsetWidth.setSingleStep(1.0)
        self.spinInsetWidth.setProperty("value", 60.0)
        self.spinInsetWidth.setObjectName("spinInsetWidth")
        self.formLayout_4.setWidget(0, QtGui.QFormLayout.FieldRole, self.spinInsetWidth)
        self.lblInsetHeight = QtGui.QLabel(self.groupBox_7)
        self.lblInsetHeight.setObjectName("lblInsetHeight")
        self.formLayout_4.setWidget(1, QtGui.QFormLayout.LabelRole, self.lblInsetHeight)
        self.spinInsetHeight = QtGui.QDoubleSpinBox(self.groupBox_7)
        self.spinInsetHeight.setDecimals(1)
        self.spinInsetHeight.setMinimum(1.0)
        self.spinInsetHeight.setMaximum(100.0)
        self.spinInsetHeight.setSingleStep(1.0)
        self.spinInsetHeight.setProperty("value", 60.0)
        self.spinInsetHeight.setObjectName("spinInsetHeight")
        self.formLayout_4.setWidget(1, QtGui.QFormLayout.FieldRole, self.spinInsetHeight)
        self.verticalLayout_5.addLayout(self.formLayout_4)
        self.horizontalLayout_7.addWidget(self.groupBox_7)
        self.groupBox_8 = QtGui.QGroupBox(pValueHistogramDialog)
        self.groupBox_8.setObjectName("groupBox_8")
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.groupBox_8)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.formLayout = QtGui.QFormLayout()
        self.formLayout.setObjectName("formLayout")
        self.lblBinWidth = QtGui.QLabel(self.groupBox_8)
        self.lblBinWidth.setObjectName("lblBinWidth")
        self.formLayout.setWidget(0, QtGui.QFormLayout.LabelRole, self.lblBinWidth)
        self.horizontalLayout_6 = QtGui.QHBoxLayout()
        self.horizontalLayout_6.setObjectName("horizontalLayout_6")
        self.spinInsetBinWidth = QtGui.QDoubleSpinBox(self.groupBox_8)
        self.spinInsetBinWidth.setDecimals(4)
        self.spinInsetBinWidth.setMinimum(0.0001)
        self.spinInsetBinWidth.setMaximum(1.0)
        self.spinInsetBinWidth.setSingleStep(0.0001)
        self.spinInsetBinWidth.setProperty("value", 0.002)
        self.spinInsetBinWidth.setObjectName("spinInsetBinWidth")
        self.horizontalLayout_6.addWidget(self.spinInsetBinWidth)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_6.addItem(spacerItem)
        self.formLayout.setLayout(0, QtGui.QFormLayout.FieldRole, self.horizontalLayout_6)
        self.label = QtGui.QLabel(self.groupBox_8)
        self.label.setObjectName("label")
        self.formLayout.setWidget(1, QtGui.QFormLayout.LabelRole, self.label)
        self.horizontalLayout_5 = QtGui.QHBoxLayout()
        self.horizontalLayout_5.setObjectName("horizontalLayout_5")
        self.spinXlimit = QtGui.QDoubleSpinBox(self.groupBox_8)
        self.spinXlimit.setDecimals(4)
        self.spinXlimit.setMinimum(0.0001)
        self.spinXlimit.setMaximum(1.0)
        self.spinXlimit.setSingleStep(0.01)
        self.spinXlimit.setProperty("value", 0.05)
        self.spinXlimit.setObjectName("spinXlimit")
        self.horizontalLayout_5.addWidget(self.spinXlimit)
        self.btnXmax = QtGui.QPushButton(self.groupBox_8)
        self.btnXmax.setObjectName("btnXmax")
        self.horizontalLayout_5.addWidget(self.btnXmax)
        self.formLayout.setLayout(1, QtGui.QFormLayout.FieldRole, self.horizontalLayout_5)
        self.verticalLayout_2.addLayout(self.formLayout)
        self.chkInsetLogScale = QtGui.QCheckBox(self.groupBox_8)
        self.chkInsetLogScale.setObjectName("chkInsetLogScale")
        self.verticalLayout_2.addWidget(self.chkInsetLogScale)
        self.horizontalLayout_7.addWidget(self.groupBox_8)
        self.verticalLayout_7.addLayout(self.horizontalLayout_7)
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        spacerItem1 = QtGui.QSpacerItem(168, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_3.addItem(spacerItem1)
        self.buttonBox = QtGui.QDialogButtonBox(pValueHistogramDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setCenterButtons(True)
        self.buttonBox.setObjectName("buttonBox")
        self.horizontalLayout_3.addWidget(self.buttonBox)
        self.verticalLayout_7.addLayout(self.horizontalLayout_3)

        self.retranslateUi(pValueHistogramDialog)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("accepted()"), pValueHistogramDialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("rejected()"), pValueHistogramDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(pValueHistogramDialog)

    def retranslateUi(self, pValueHistogramDialog):
        pValueHistogramDialog.setWindowTitle(QtGui.QApplication.translate("pValueHistogramDialog", "p-value histogram", None, QtGui.QApplication.UnicodeUTF8))
        self.lblFieldToPlot.setText(QtGui.QApplication.translate("pValueHistogramDialog", "Field to plot:", None, QtGui.QApplication.UnicodeUTF8))
        self.cboFieldToPlot.setItemText(0, QtGui.QApplication.translate("pValueHistogramDialog", "p-values", None, QtGui.QApplication.UnicodeUTF8))
        self.cboFieldToPlot.setItemText(1, QtGui.QApplication.translate("pValueHistogramDialog", "p-values (corrected)", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_3.setTitle(QtGui.QApplication.translate("pValueHistogramDialog", "Main figure size", None, QtGui.QApplication.UnicodeUTF8))
        self.lblFigureWidth.setText(QtGui.QApplication.translate("pValueHistogramDialog", "Width:", None, QtGui.QApplication.UnicodeUTF8))
        self.lblFigureHeight.setText(QtGui.QApplication.translate("pValueHistogramDialog", "Height:", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_4.setTitle(QtGui.QApplication.translate("pValueHistogramDialog", "Main histogram properties", None, QtGui.QApplication.UnicodeUTF8))
        self.lblBinWidthh.setText(QtGui.QApplication.translate("pValueHistogramDialog", "Bin width:", None, QtGui.QApplication.UnicodeUTF8))
        self.chkLogScale.setText(QtGui.QApplication.translate("pValueHistogramDialog", "Show y-axis as log scale", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_7.setTitle(QtGui.QApplication.translate("pValueHistogramDialog", "Inset figure size", None, QtGui.QApplication.UnicodeUTF8))
        self.chkShowInset.setText(QtGui.QApplication.translate("pValueHistogramDialog", "Show inset", None, QtGui.QApplication.UnicodeUTF8))
        self.lblInsetWidth.setText(QtGui.QApplication.translate("pValueHistogramDialog", "Width (%):", None, QtGui.QApplication.UnicodeUTF8))
        self.lblInsetHeight.setText(QtGui.QApplication.translate("pValueHistogramDialog", "Height (%)", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_8.setTitle(QtGui.QApplication.translate("pValueHistogramDialog", "Inset histogram properties", None, QtGui.QApplication.UnicodeUTF8))
        self.lblBinWidth.setText(QtGui.QApplication.translate("pValueHistogramDialog", "Bin width:", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("pValueHistogramDialog", "x-axis limit:", None, QtGui.QApplication.UnicodeUTF8))
        self.btnXmax.setText(QtGui.QApplication.translate("pValueHistogramDialog", "Max", None, QtGui.QApplication.UnicodeUTF8))
        self.chkInsetLogScale.setText(QtGui.QApplication.translate("pValueHistogramDialog", "Show y-axis as log scale", None, QtGui.QApplication.UnicodeUTF8))

