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

# Form implementation generated from reading ui file '/home/offedetl/Development/Eric4/eric4_3/eric4/Plugins/WizardPlugins/ColorDialogWizard/ColorDialogWizardDialog.ui'
#
# Created: Tue Oct  7 07:49:28 2008
#      by: PyQt4 UI code generator 4.4.4-snapshot-20080928
#
# 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(367, 284)
        ColorDialogWizardDialog.setSizeGripEnabled(True)
        self.vboxlayout = QtGui.QVBoxLayout(ColorDialogWizardDialog)
        self.vboxlayout.setObjectName("vboxlayout")
        self.groupBox = QtGui.QGroupBox(ColorDialogWizardDialog)
        self.groupBox.setObjectName("groupBox")
        self.hboxlayout = QtGui.QHBoxLayout(self.groupBox)
        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.setObjectName("vboxlayout1")
        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("eColor")
        self.eColor.addItem(QtCore.QString())
        self.eColor.setItemText(0, "")
        self.eColor.addItem(QtCore.QString())
        self.eColor.addItem(QtCore.QString())
        self.eColor.addItem(QtCore.QString())
        self.eColor.addItem(QtCore.QString())
        self.eColor.addItem(QtCore.QString())
        self.eColor.addItem(QtCore.QString())
        self.eColor.addItem(QtCore.QString())
        self.eColor.addItem(QtCore.QString())
        self.eColor.addItem(QtCore.QString())
        self.eColor.addItem(QtCore.QString())
        self.eColor.addItem(QtCore.QString())
        self.eColor.addItem(QtCore.QString())
        self.eColor.addItem(QtCore.QString())
        self.eColor.addItem(QtCore.QString())
        self.eColor.addItem(QtCore.QString())
        self.eColor.addItem(QtCore.QString())
        self.eColor.addItem(QtCore.QString())
        self.eColor.addItem(QtCore.QString())
        self.eColor.addItem(QtCore.QString())
        self.eColor.addItem(QtCore.QString())
        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.setVerticalSpacing(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.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.setItemText(1, QtGui.QApplication.translate("ColorDialogWizardDialog", "Qt.red", None, QtGui.QApplication.UnicodeUTF8))
        self.eColor.setItemText(2, QtGui.QApplication.translate("ColorDialogWizardDialog", "Qt.darkRed", None, QtGui.QApplication.UnicodeUTF8))
        self.eColor.setItemText(3, QtGui.QApplication.translate("ColorDialogWizardDialog", "Qt.green", None, QtGui.QApplication.UnicodeUTF8))
        self.eColor.setItemText(4, QtGui.QApplication.translate("ColorDialogWizardDialog", "Qt.darkGreen", None, QtGui.QApplication.UnicodeUTF8))
        self.eColor.setItemText(5, QtGui.QApplication.translate("ColorDialogWizardDialog", "Qt.blue", None, QtGui.QApplication.UnicodeUTF8))
        self.eColor.setItemText(6, QtGui.QApplication.translate("ColorDialogWizardDialog", "Qt.darkBlue", None, QtGui.QApplication.UnicodeUTF8))
        self.eColor.setItemText(7, QtGui.QApplication.translate("ColorDialogWizardDialog", "Qt.cyan", None, QtGui.QApplication.UnicodeUTF8))
        self.eColor.setItemText(8, QtGui.QApplication.translate("ColorDialogWizardDialog", "Qt.darkCyan", None, QtGui.QApplication.UnicodeUTF8))
        self.eColor.setItemText(9, QtGui.QApplication.translate("ColorDialogWizardDialog", "Qt.magenta", None, QtGui.QApplication.UnicodeUTF8))
        self.eColor.setItemText(10, QtGui.QApplication.translate("ColorDialogWizardDialog", "Qt.darkMagenta", None, QtGui.QApplication.UnicodeUTF8))
        self.eColor.setItemText(11, QtGui.QApplication.translate("ColorDialogWizardDialog", "Qt.yellow", None, QtGui.QApplication.UnicodeUTF8))
        self.eColor.setItemText(12, QtGui.QApplication.translate("ColorDialogWizardDialog", "Qt.darkYellow", None, QtGui.QApplication.UnicodeUTF8))
        self.eColor.setItemText(13, QtGui.QApplication.translate("ColorDialogWizardDialog", "Qt.white", None, QtGui.QApplication.UnicodeUTF8))
        self.eColor.setItemText(14, QtGui.QApplication.translate("ColorDialogWizardDialog", "Qt.lightGray", None, QtGui.QApplication.UnicodeUTF8))
        self.eColor.setItemText(15, QtGui.QApplication.translate("ColorDialogWizardDialog", "Qt.gray", None, QtGui.QApplication.UnicodeUTF8))
        self.eColor.setItemText(16, QtGui.QApplication.translate("ColorDialogWizardDialog", "Qt.darkGray", None, QtGui.QApplication.UnicodeUTF8))
        self.eColor.setItemText(17, QtGui.QApplication.translate("ColorDialogWizardDialog", "Qt.black", None, QtGui.QApplication.UnicodeUTF8))
        self.eColor.setItemText(18, QtGui.QApplication.translate("ColorDialogWizardDialog", "Qt.transparent", None, QtGui.QApplication.UnicodeUTF8))
        self.eColor.setItemText(19, QtGui.QApplication.translate("ColorDialogWizardDialog", "Qt.color0", None, QtGui.QApplication.UnicodeUTF8))
        self.eColor.setItemText(20, 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_())

