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

# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric4/eric4_0/eric4/Wizards/ColorDialogWizard/ColorDialogWizardDialog.ui'
#
# Created: Sat Feb  3 15:33:49 2007
#      by: PyQt4 UI code generator 4-snapshot-20070125
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_ColorDialogWizardDialog(object):
    def setupUi(self, ColorDialogWizardDialog):
        ColorDialogWizardDialog.setObjectName("ColorDialogWizardDialog")
        ColorDialogWizardDialog.resize(QtCore.QSize(QtCore.QRect(0,0,367,284).size()).expandedTo(ColorDialogWizardDialog.minimumSizeHint()))
        ColorDialogWizardDialog.setSizeGripEnabled(True)

        self.vboxlayout = QtGui.QVBoxLayout(ColorDialogWizardDialog)
        self.vboxlayout.setMargin(6)
        self.vboxlayout.setSpacing(6)
        self.vboxlayout.setObjectName("vboxlayout")

        self.groupBox = QtGui.QGroupBox(ColorDialogWizardDialog)
        self.groupBox.setObjectName("groupBox")

        self.hboxlayout = QtGui.QHBoxLayout(self.groupBox)
        self.hboxlayout.setMargin(6)
        self.hboxlayout.setSpacing(6)
        self.hboxlayout.setObjectName("hboxlayout")

        self.rColor = QtGui.QRadioButton(self.groupBox)
        self.rColor.setChecked(True)
        self.rColor.setObjectName("rColor")
        self.hboxlayout.addWidget(self.rColor)

        self.rRGBA = QtGui.QRadioButton(self.groupBox)
        self.rRGBA.setFocusPolicy(QtCore.Qt.NoFocus)
        self.rRGBA.setObjectName("rRGBA")
        self.hboxlayout.addWidget(self.rRGBA)
        self.vboxlayout.addWidget(self.groupBox)

        self.groupBox_2 = QtGui.QGroupBox(ColorDialogWizardDialog)
        self.groupBox_2.setObjectName("groupBox_2")

        self.vboxlayout1 = QtGui.QVBoxLayout(self.groupBox_2)
        self.vboxlayout1.setMargin(6)
        self.vboxlayout1.setSpacing(6)
        self.vboxlayout1.setObjectName("vboxlayout1")

        self.eColor = QtGui.QComboBox(self.groupBox_2)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Policy(7),QtGui.QSizePolicy.Policy(0))
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.eColor.sizePolicy().hasHeightForWidth())
        self.eColor.setSizePolicy(sizePolicy)
        self.eColor.setEditable(True)
        self.eColor.setObjectName("eColor")
        self.eColor.addItem("")
        self.vboxlayout1.addWidget(self.eColor)
        self.vboxlayout.addWidget(self.groupBox_2)

        self.groupBox_3 = QtGui.QGroupBox(ColorDialogWizardDialog)
        self.groupBox_3.setEnabled(False)
        self.groupBox_3.setObjectName("groupBox_3")

        self.gridlayout = QtGui.QGridLayout(self.groupBox_3)
        self.gridlayout.setMargin(6)
        self.gridlayout.setSpacing(6)
        self.gridlayout.setObjectName("gridlayout")

        self.eRGB = QtGui.QLineEdit(self.groupBox_3)
        self.eRGB.setObjectName("eRGB")
        self.gridlayout.addWidget(self.eRGB,3,0,1,4)

        self.TextLabel2 = QtGui.QLabel(self.groupBox_3)
        self.TextLabel2.setObjectName("TextLabel2")
        self.gridlayout.addWidget(self.TextLabel2,2,0,1,4)

        self.sAlpha = QtGui.QSpinBox(self.groupBox_3)
        self.sAlpha.setMaximum(255)
        self.sAlpha.setObjectName("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",QtCore.QVariant(128))
        self.sBlue.setObjectName("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",QtCore.QVariant(128))
        self.sGreen.setObjectName("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",QtCore.QVariant(128))
        self.sRed.setObjectName("sRed")
        self.gridlayout.addWidget(self.sRed,1,0,1,1)

        self.TextLabel1_4 = QtGui.QLabel(self.groupBox_3)
        self.TextLabel1_4.setObjectName("TextLabel1_4")
        self.gridlayout.addWidget(self.TextLabel1_4,0,3,1,1)

        self.TextLabel1_3 = QtGui.QLabel(self.groupBox_3)
        self.TextLabel1_3.setObjectName("TextLabel1_3")
        self.gridlayout.addWidget(self.TextLabel1_3,0,2,1,1)

        self.TextLabel1 = QtGui.QLabel(self.groupBox_3)
        self.TextLabel1.setObjectName("TextLabel1")
        self.gridlayout.addWidget(self.TextLabel1,0,0,1,1)

        self.TextLabel1_2 = QtGui.QLabel(self.groupBox_3)
        self.TextLabel1_2.setObjectName("TextLabel1_2")
        self.gridlayout.addWidget(self.TextLabel1_2,0,1,1,1)
        self.vboxlayout.addWidget(self.groupBox_3)

        self.buttonBox = QtGui.QDialogButtonBox(ColorDialogWizardDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.NoButton|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName("buttonBox")
        self.vboxlayout.addWidget(self.buttonBox)

        self.retranslateUi(ColorDialogWizardDialog)
        QtCore.QObject.connect(self.rColor,QtCore.SIGNAL("toggled(bool)"),self.groupBox_2.setEnabled)
        QtCore.QObject.connect(self.rRGBA,QtCore.SIGNAL("toggled(bool)"),self.groupBox_3.setEnabled)
        QtCore.QObject.connect(self.buttonBox,QtCore.SIGNAL("accepted()"),ColorDialogWizardDialog.accept)
        QtCore.QObject.connect(self.buttonBox,QtCore.SIGNAL("rejected()"),ColorDialogWizardDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(ColorDialogWizardDialog)
        ColorDialogWizardDialog.setTabOrder(self.rColor,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)

    def retranslateUi(self, ColorDialogWizardDialog):
        ColorDialogWizardDialog.setWindowTitle(QtGui.QApplication.translate("ColorDialogWizardDialog", "QColorDialog Wizard", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox.setTitle(QtGui.QApplication.translate("ColorDialogWizardDialog", "Type", None, QtGui.QApplication.UnicodeUTF8))
        self.rColor.setToolTip(QtGui.QApplication.translate("ColorDialogWizardDialog", "Select to generate a QColorDialog.getColor dialog", None, QtGui.QApplication.UnicodeUTF8))
        self.rColor.setText(QtGui.QApplication.translate("ColorDialogWizardDialog", "Colour", None, QtGui.QApplication.UnicodeUTF8))
        self.rRGBA.setToolTip(QtGui.QApplication.translate("ColorDialogWizardDialog", "Select to generate a QColorDialog.getRgba dialog", None, QtGui.QApplication.UnicodeUTF8))
        self.rRGBA.setText(QtGui.QApplication.translate("ColorDialogWizardDialog", "RGBA", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_2.setTitle(QtGui.QApplication.translate("ColorDialogWizardDialog", "Colour", None, QtGui.QApplication.UnicodeUTF8))
        self.eColor.setToolTip(QtGui.QApplication.translate("ColorDialogWizardDialog", "Enter a variable name or a colour", None, QtGui.QApplication.UnicodeUTF8))
        self.eColor.addItem(QtGui.QApplication.translate("ColorDialogWizardDialog", "Qt.red", None, QtGui.QApplication.UnicodeUTF8))
        self.eColor.addItem(QtGui.QApplication.translate("ColorDialogWizardDialog", "Qt.darkRed", None, QtGui.QApplication.UnicodeUTF8))
        self.eColor.addItem(QtGui.QApplication.translate("ColorDialogWizardDialog", "Qt.green", None, QtGui.QApplication.UnicodeUTF8))
        self.eColor.addItem(QtGui.QApplication.translate("ColorDialogWizardDialog", "Qt.darkGreen", None, QtGui.QApplication.UnicodeUTF8))
        self.eColor.addItem(QtGui.QApplication.translate("ColorDialogWizardDialog", "Qt.blue", None, QtGui.QApplication.UnicodeUTF8))
        self.eColor.addItem(QtGui.QApplication.translate("ColorDialogWizardDialog", "Qt.darkBlue", None, QtGui.QApplication.UnicodeUTF8))
        self.eColor.addItem(QtGui.QApplication.translate("ColorDialogWizardDialog", "Qt.cyan", None, QtGui.QApplication.UnicodeUTF8))
        self.eColor.addItem(QtGui.QApplication.translate("ColorDialogWizardDialog", "Qt.darkCyan", None, QtGui.QApplication.UnicodeUTF8))
        self.eColor.addItem(QtGui.QApplication.translate("ColorDialogWizardDialog", "Qt.magenta", None, QtGui.QApplication.UnicodeUTF8))
        self.eColor.addItem(QtGui.QApplication.translate("ColorDialogWizardDialog", "Qt.darkMagenta", None, QtGui.QApplication.UnicodeUTF8))
        self.eColor.addItem(QtGui.QApplication.translate("ColorDialogWizardDialog", "Qt.yellow", None, QtGui.QApplication.UnicodeUTF8))
        self.eColor.addItem(QtGui.QApplication.translate("ColorDialogWizardDialog", "Qt.darkYellow", None, QtGui.QApplication.UnicodeUTF8))
        self.eColor.addItem(QtGui.QApplication.translate("ColorDialogWizardDialog", "Qt.white", None, QtGui.QApplication.UnicodeUTF8))
        self.eColor.addItem(QtGui.QApplication.translate("ColorDialogWizardDialog", "Qt.lightGray", None, QtGui.QApplication.UnicodeUTF8))
        self.eColor.addItem(QtGui.QApplication.translate("ColorDialogWizardDialog", "Qt.gray", None, QtGui.QApplication.UnicodeUTF8))
        self.eColor.addItem(QtGui.QApplication.translate("ColorDialogWizardDialog", "Qt.darkGray", None, QtGui.QApplication.UnicodeUTF8))
        self.eColor.addItem(QtGui.QApplication.translate("ColorDialogWizardDialog", "Qt.black", None, QtGui.QApplication.UnicodeUTF8))
        self.eColor.addItem(QtGui.QApplication.translate("ColorDialogWizardDialog", "Qt.transparent", None, QtGui.QApplication.UnicodeUTF8))
        self.eColor.addItem(QtGui.QApplication.translate("ColorDialogWizardDialog", "Qt.color0", None, QtGui.QApplication.UnicodeUTF8))
        self.eColor.addItem(QtGui.QApplication.translate("ColorDialogWizardDialog", "Qt.color1", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_3.setTitle(QtGui.QApplication.translate("ColorDialogWizardDialog", "RGBA", None, QtGui.QApplication.UnicodeUTF8))
        self.eRGB.setToolTip(QtGui.QApplication.translate("ColorDialogWizardDialog", "Enter a variable name", None, QtGui.QApplication.UnicodeUTF8))
        self.TextLabel2.setText(QtGui.QApplication.translate("ColorDialogWizardDialog", "Variable", None, QtGui.QApplication.UnicodeUTF8))
        self.sAlpha.setToolTip(QtGui.QApplication.translate("ColorDialogWizardDialog", "Enter the alpha value", None, QtGui.QApplication.UnicodeUTF8))
        self.sBlue.setToolTip(QtGui.QApplication.translate("ColorDialogWizardDialog", "Enter the blue value", None, QtGui.QApplication.UnicodeUTF8))
        self.sGreen.setToolTip(QtGui.QApplication.translate("ColorDialogWizardDialog", "Enter the green value", None, QtGui.QApplication.UnicodeUTF8))
        self.sRed.setToolTip(QtGui.QApplication.translate("ColorDialogWizardDialog", "Enter the red value", None, QtGui.QApplication.UnicodeUTF8))
        self.TextLabel1_4.setText(QtGui.QApplication.translate("ColorDialogWizardDialog", "Alpha", None, QtGui.QApplication.UnicodeUTF8))
        self.TextLabel1_3.setText(QtGui.QApplication.translate("ColorDialogWizardDialog", "Blue", None, QtGui.QApplication.UnicodeUTF8))
        self.TextLabel1.setText(QtGui.QApplication.translate("ColorDialogWizardDialog", "Red", None, QtGui.QApplication.UnicodeUTF8))
        self.TextLabel1_2.setText(QtGui.QApplication.translate("ColorDialogWizardDialog", "Green", None, QtGui.QApplication.UnicodeUTF8))



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