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

# Form implementation generated from reading ui file 'eric/Plugins/WizardPlugins/ColorDialogWizard/ColorDialogWizardDialog.ui'
#
# Created: Thu Mar  5 17:05:25 2015
#      by: PyQt4 UI code generator 4.11.3
#
# 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_ColorDialogWizardDialog(object):
    def setupUi(self, ColorDialogWizardDialog):
        ColorDialogWizardDialog.setObjectName(_fromUtf8("ColorDialogWizardDialog"))
        ColorDialogWizardDialog.resize(381, 481)
        ColorDialogWizardDialog.setSizeGripEnabled(True)
        self.verticalLayout_2 = QtGui.QVBoxLayout(ColorDialogWizardDialog)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.groupBox = QtGui.QGroupBox(ColorDialogWizardDialog)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.hboxlayout = QtGui.QHBoxLayout(self.groupBox)
        self.hboxlayout.setObjectName(_fromUtf8("hboxlayout"))
        self.rColor = QtGui.QRadioButton(self.groupBox)
        self.rColor.setChecked(True)
        self.rColor.setObjectName(_fromUtf8("rColor"))
        self.hboxlayout.addWidget(self.rColor)
        self.rRGBA = QtGui.QRadioButton(self.groupBox)
        self.rRGBA.setObjectName(_fromUtf8("rRGBA"))
        self.hboxlayout.addWidget(self.rRGBA)
        self.verticalLayout_2.addWidget(self.groupBox)
        self.groupBox_4 = QtGui.QGroupBox(ColorDialogWizardDialog)
        self.groupBox_4.setObjectName(_fromUtf8("groupBox_4"))
        self.horizontalLayout = QtGui.QHBoxLayout(self.groupBox_4)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.eResultVar = QtGui.QLineEdit(self.groupBox_4)
        self.eResultVar.setObjectName(_fromUtf8("eResultVar"))
        self.horizontalLayout.addWidget(self.eResultVar)
        self.verticalLayout_2.addWidget(self.groupBox_4)
        self.titleGroup = QtGui.QGroupBox(ColorDialogWizardDialog)
        self.titleGroup.setObjectName(_fromUtf8("titleGroup"))
        self.verticalLayout = QtGui.QVBoxLayout(self.titleGroup)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.eTitle = QtGui.QLineEdit(self.titleGroup)
        self.eTitle.setObjectName(_fromUtf8("eTitle"))
        self.verticalLayout.addWidget(self.eTitle)
        self.verticalLayout_2.addWidget(self.titleGroup)
        self.parentGroup = QtGui.QGroupBox(ColorDialogWizardDialog)
        self.parentGroup.setObjectName(_fromUtf8("parentGroup"))
        self.gridLayout_3 = QtGui.QGridLayout(self.parentGroup)
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.parentSelf = QtGui.QRadioButton(self.parentGroup)
        self.parentSelf.setChecked(True)
        self.parentSelf.setObjectName(_fromUtf8("parentSelf"))
        self.gridLayout_3.addWidget(self.parentSelf, 0, 0, 1, 1)
        self.parentNone = QtGui.QRadioButton(self.parentGroup)
        self.parentNone.setObjectName(_fromUtf8("parentNone"))
        self.gridLayout_3.addWidget(self.parentNone, 0, 1, 1, 1)
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.parentOther = QtGui.QRadioButton(self.parentGroup)
        self.parentOther.setObjectName(_fromUtf8("parentOther"))
        self.horizontalLayout_2.addWidget(self.parentOther)
        self.parentEdit = QtGui.QLineEdit(self.parentGroup)
        self.parentEdit.setEnabled(False)
        self.parentEdit.setObjectName(_fromUtf8("parentEdit"))
        self.horizontalLayout_2.addWidget(self.parentEdit)
        self.gridLayout_3.addLayout(self.horizontalLayout_2, 1, 0, 1, 2)
        self.verticalLayout_2.addWidget(self.parentGroup)
        self.groupBox_2 = QtGui.QGroupBox(ColorDialogWizardDialog)
        self.groupBox_2.setObjectName(_fromUtf8("groupBox_2"))
        self.vboxlayout = QtGui.QVBoxLayout(self.groupBox_2)
        self.vboxlayout.setObjectName(_fromUtf8("vboxlayout"))
        self.eColor = QtGui.QComboBox(self.groupBox_2)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.eColor.sizePolicy().hasHeightForWidth())
        self.eColor.setSizePolicy(sizePolicy)
        self.eColor.setEditable(True)
        self.eColor.setObjectName(_fromUtf8("eColor"))
        self.eColor.addItem(_fromUtf8(""))
        self.eColor.setItemText(0, _fromUtf8(""))
        self.eColor.addItem(_fromUtf8(""))
        self.eColor.addItem(_fromUtf8(""))
        self.eColor.addItem(_fromUtf8(""))
        self.eColor.addItem(_fromUtf8(""))
        self.eColor.addItem(_fromUtf8(""))
        self.eColor.addItem(_fromUtf8(""))
        self.eColor.addItem(_fromUtf8(""))
        self.eColor.addItem(_fromUtf8(""))
        self.eColor.addItem(_fromUtf8(""))
        self.eColor.addItem(_fromUtf8(""))
        self.eColor.addItem(_fromUtf8(""))
        self.eColor.addItem(_fromUtf8(""))
        self.eColor.addItem(_fromUtf8(""))
        self.eColor.addItem(_fromUtf8(""))
        self.eColor.addItem(_fromUtf8(""))
        self.eColor.addItem(_fromUtf8(""))
        self.eColor.addItem(_fromUtf8(""))
        self.eColor.addItem(_fromUtf8(""))
        self.eColor.addItem(_fromUtf8(""))
        self.eColor.addItem(_fromUtf8(""))
        self.vboxlayout.addWidget(self.eColor)
        self.verticalLayout_2.addWidget(self.groupBox_2)
        self.groupBox_3 = QtGui.QGroupBox(ColorDialogWizardDialog)
        self.groupBox_3.setEnabled(False)
        self.groupBox_3.setObjectName(_fromUtf8("groupBox_3"))
        self.gridlayout = QtGui.QGridLayout(self.groupBox_3)
        self.gridlayout.setVerticalSpacing(6)
        self.gridlayout.setObjectName(_fromUtf8("gridlayout"))
        self.eRGB = QtGui.QLineEdit(self.groupBox_3)
        self.eRGB.setObjectName(_fromUtf8("eRGB"))
        self.gridlayout.addWidget(self.eRGB, 3, 0, 1, 4)
        self.TextLabel2 = QtGui.QLabel(self.groupBox_3)
        self.TextLabel2.setObjectName(_fromUtf8("TextLabel2"))
        self.gridlayout.addWidget(self.TextLabel2, 2, 0, 1, 4)
        self.sAlpha = QtGui.QSpinBox(self.groupBox_3)
        self.sAlpha.setMaximum(255)
        self.sAlpha.setObjectName(_fromUtf8("sAlpha"))
        self.gridlayout.addWidget(self.sAlpha, 1, 3, 1, 1)
        self.sBlue = QtGui.QSpinBox(self.groupBox_3)
        self.sBlue.setMaximum(255)
        self.sBlue.setProperty("value", 128)
        self.sBlue.setObjectName(_fromUtf8("sBlue"))
        self.gridlayout.addWidget(self.sBlue, 1, 2, 1, 1)
        self.sGreen = QtGui.QSpinBox(self.groupBox_3)
        self.sGreen.setMaximum(255)
        self.sGreen.setProperty("value", 128)
        self.sGreen.setObjectName(_fromUtf8("sGreen"))
        self.gridlayout.addWidget(self.sGreen, 1, 1, 1, 1)
        self.sRed = QtGui.QSpinBox(self.groupBox_3)
        self.sRed.setMaximum(255)
        self.sRed.setProperty("value", 128)
        self.sRed.setObjectName(_fromUtf8("sRed"))
        self.gridlayout.addWidget(self.sRed, 1, 0, 1, 1)
        self.TextLabel1_4 = QtGui.QLabel(self.groupBox_3)
        self.TextLabel1_4.setObjectName(_fromUtf8("TextLabel1_4"))
        self.gridlayout.addWidget(self.TextLabel1_4, 0, 3, 1, 1)
        self.TextLabel1_3 = QtGui.QLabel(self.groupBox_3)
        self.TextLabel1_3.setObjectName(_fromUtf8("TextLabel1_3"))
        self.gridlayout.addWidget(self.TextLabel1_3, 0, 2, 1, 1)
        self.TextLabel1 = QtGui.QLabel(self.groupBox_3)
        self.TextLabel1.setObjectName(_fromUtf8("TextLabel1"))
        self.gridlayout.addWidget(self.TextLabel1, 0, 0, 1, 1)
        self.TextLabel1_2 = QtGui.QLabel(self.groupBox_3)
        self.TextLabel1_2.setObjectName(_fromUtf8("TextLabel1_2"))
        self.gridlayout.addWidget(self.TextLabel1_2, 0, 1, 1, 1)
        self.verticalLayout_2.addWidget(self.groupBox_3)
        self.buttonBox = QtGui.QDialogButtonBox(ColorDialogWizardDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.verticalLayout_2.addWidget(self.buttonBox)

        self.retranslateUi(ColorDialogWizardDialog)
        QtCore.QObject.connect(self.rColor, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.groupBox_2.setEnabled)
        QtCore.QObject.connect(self.rRGBA, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.groupBox_3.setEnabled)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), ColorDialogWizardDialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), ColorDialogWizardDialog.reject)
        QtCore.QObject.connect(self.parentOther, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.parentEdit.setEnabled)
        QtCore.QMetaObject.connectSlotsByName(ColorDialogWizardDialog)
        ColorDialogWizardDialog.setTabOrder(self.rColor, self.rRGBA)
        ColorDialogWizardDialog.setTabOrder(self.rRGBA, self.eResultVar)
        ColorDialogWizardDialog.setTabOrder(self.eResultVar, self.eTitle)
        ColorDialogWizardDialog.setTabOrder(self.eTitle, self.parentSelf)
        ColorDialogWizardDialog.setTabOrder(self.parentSelf, self.parentNone)
        ColorDialogWizardDialog.setTabOrder(self.parentNone, self.parentOther)
        ColorDialogWizardDialog.setTabOrder(self.parentOther, self.parentEdit)
        ColorDialogWizardDialog.setTabOrder(self.parentEdit, self.eColor)
        ColorDialogWizardDialog.setTabOrder(self.eColor, self.sRed)
        ColorDialogWizardDialog.setTabOrder(self.sRed, self.sGreen)
        ColorDialogWizardDialog.setTabOrder(self.sGreen, self.sBlue)
        ColorDialogWizardDialog.setTabOrder(self.sBlue, self.sAlpha)
        ColorDialogWizardDialog.setTabOrder(self.sAlpha, self.eRGB)
        ColorDialogWizardDialog.setTabOrder(self.eRGB, self.buttonBox)

    def retranslateUi(self, ColorDialogWizardDialog):
        ColorDialogWizardDialog.setWindowTitle(_translate("ColorDialogWizardDialog", "QColorDialog Wizard", None))
        self.groupBox.setTitle(_translate("ColorDialogWizardDialog", "Type", None))
        self.rColor.setToolTip(_translate("ColorDialogWizardDialog", "Select to generate a QColorDialog.getColor dialog", None))
        self.rColor.setText(_translate("ColorDialogWizardDialog", "Colour", None))
        self.rRGBA.setToolTip(_translate("ColorDialogWizardDialog", "Select to generate a QColorDialog.getRgba dialog", None))
        self.rRGBA.setText(_translate("ColorDialogWizardDialog", "RGBA", None))
        self.groupBox_4.setTitle(_translate("ColorDialogWizardDialog", "Result", None))
        self.eResultVar.setToolTip(_translate("ColorDialogWizardDialog", "Enter the result variable name", None))
        self.titleGroup.setTitle(_translate("ColorDialogWizardDialog", "Title", None))
        self.eTitle.setToolTip(_translate("ColorDialogWizardDialog", "Enter the dialog title", None))
        self.parentGroup.setTitle(_translate("ColorDialogWizardDialog", "Parent", None))
        self.parentSelf.setToolTip(_translate("ColorDialogWizardDialog", "Select \"self\" as parent", None))
        self.parentSelf.setText(_translate("ColorDialogWizardDialog", "self", None))
        self.parentNone.setToolTip(_translate("ColorDialogWizardDialog", "Select \"None\" as parent", None))
        self.parentNone.setText(_translate("ColorDialogWizardDialog", "None", None))
        self.parentOther.setToolTip(_translate("ColorDialogWizardDialog", "Select to enter a parent expression", None))
        self.parentOther.setText(_translate("ColorDialogWizardDialog", "Expression:", None))
        self.parentEdit.setToolTip(_translate("ColorDialogWizardDialog", "Enter the parent expression", None))
        self.groupBox_2.setTitle(_translate("ColorDialogWizardDialog", "Colour", None))
        self.eColor.setToolTip(_translate("ColorDialogWizardDialog", "Enter a variable name or a colour", None))
        self.eColor.setItemText(1, _translate("ColorDialogWizardDialog", "Qt.red", None))
        self.eColor.setItemText(2, _translate("ColorDialogWizardDialog", "Qt.darkRed", None))
        self.eColor.setItemText(3, _translate("ColorDialogWizardDialog", "Qt.green", None))
        self.eColor.setItemText(4, _translate("ColorDialogWizardDialog", "Qt.darkGreen", None))
        self.eColor.setItemText(5, _translate("ColorDialogWizardDialog", "Qt.blue", None))
        self.eColor.setItemText(6, _translate("ColorDialogWizardDialog", "Qt.darkBlue", None))
        self.eColor.setItemText(7, _translate("ColorDialogWizardDialog", "Qt.cyan", None))
        self.eColor.setItemText(8, _translate("ColorDialogWizardDialog", "Qt.darkCyan", None))
        self.eColor.setItemText(9, _translate("ColorDialogWizardDialog", "Qt.magenta", None))
        self.eColor.setItemText(10, _translate("ColorDialogWizardDialog", "Qt.darkMagenta", None))
        self.eColor.setItemText(11, _translate("ColorDialogWizardDialog", "Qt.yellow", None))
        self.eColor.setItemText(12, _translate("ColorDialogWizardDialog", "Qt.darkYellow", None))
        self.eColor.setItemText(13, _translate("ColorDialogWizardDialog", "Qt.white", None))
        self.eColor.setItemText(14, _translate("ColorDialogWizardDialog", "Qt.lightGray", None))
        self.eColor.setItemText(15, _translate("ColorDialogWizardDialog", "Qt.gray", None))
        self.eColor.setItemText(16, _translate("ColorDialogWizardDialog", "Qt.darkGray", None))
        self.eColor.setItemText(17, _translate("ColorDialogWizardDialog", "Qt.black", None))
        self.eColor.setItemText(18, _translate("ColorDialogWizardDialog", "Qt.transparent", None))
        self.eColor.setItemText(19, _translate("ColorDialogWizardDialog", "Qt.color0", None))
        self.eColor.setItemText(20, _translate("ColorDialogWizardDialog", "Qt.color1", None))
        self.groupBox_3.setTitle(_translate("ColorDialogWizardDialog", "RGBA", None))
        self.eRGB.setToolTip(_translate("ColorDialogWizardDialog", "Enter a variable name", None))
        self.TextLabel2.setText(_translate("ColorDialogWizardDialog", "Colour Variable", None))
        self.sAlpha.setToolTip(_translate("ColorDialogWizardDialog", "Enter the alpha value", None))
        self.sBlue.setToolTip(_translate("ColorDialogWizardDialog", "Enter the blue value", None))
        self.sGreen.setToolTip(_translate("ColorDialogWizardDialog", "Enter the green value", None))
        self.sRed.setToolTip(_translate("ColorDialogWizardDialog", "Enter the red value", None))
        self.TextLabel1_4.setText(_translate("ColorDialogWizardDialog", "Alpha", None))
        self.TextLabel1_3.setText(_translate("ColorDialogWizardDialog", "Blue", None))
        self.TextLabel1.setText(_translate("ColorDialogWizardDialog", "Red", None))
        self.TextLabel1_2.setText(_translate("ColorDialogWizardDialog", "Green", None))

