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

# Form implementation generated from reading ui file 'F:\py_proj\ericWiki\sandbox\trunk\chartables\chartables.ui'
#
# Created: Mon Feb 19 23:04:46 2007
#      by: PyQt4 UI code generator 4.1.1
#
# WARNING! All changes made in this file will be lost!

import sys
from PyQt4 import QtCore, QtGui

class Ui_CT_DialogCharTables(object):
    def setupUi(self, CT_DialogCharTables):
        CT_DialogCharTables.setObjectName("CT_DialogCharTables")
        CT_DialogCharTables.resize(QtCore.QSize(QtCore.QRect(0,0,385,709).size()).expandedTo(CT_DialogCharTables.minimumSizeHint()))

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

        self.btInsert = QtGui.QPushButton(CT_DialogCharTables)
        self.btInsert.setEnabled(False)
        self.btInsert.setAutoDefault(True)
        self.btInsert.setObjectName("btInsert")
        self.gridlayout.addWidget(self.btInsert,3,1,1,1)

        self.btCopy = QtGui.QPushButton(CT_DialogCharTables)
        self.btCopy.setEnabled(False)
        self.btCopy.setAutoDefault(True)
        self.btCopy.setObjectName("btCopy")
        self.gridlayout.addWidget(self.btCopy,3,0,1,1)

        self.buttonBox = QtGui.QDialogButtonBox(CT_DialogCharTables)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName("buttonBox")
        self.gridlayout.addWidget(self.buttonBox,4,0,1,2)

        self.line_4 = QtGui.QFrame(CT_DialogCharTables)
        self.line_4.setFrameShape(QtGui.QFrame.HLine)
        self.line_4.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_4.setObjectName("line_4")
        self.gridlayout.addWidget(self.line_4,2,0,1,2)

        self.tableView = QtGui.QTableView(CT_DialogCharTables)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Policy(7),QtGui.QSizePolicy.Policy(7))
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.tableView.sizePolicy().hasHeightForWidth())
        self.tableView.setSizePolicy(sizePolicy)
        self.tableView.setObjectName("tableView")
        self.gridlayout.addWidget(self.tableView,1,0,1,2)

        self.tabWidget = QtGui.QTabWidget(CT_DialogCharTables)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Policy(1),QtGui.QSizePolicy.Policy(5))
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.tabWidget.sizePolicy().hasHeightForWidth())
        self.tabWidget.setSizePolicy(sizePolicy)
        self.tabWidget.setObjectName("tabWidget")

        self.tab = QtGui.QWidget()
        self.tab.setObjectName("tab")

        self.gridlayout1 = QtGui.QGridLayout(self.tab)
        self.gridlayout1.setMargin(9)
        self.gridlayout1.setSpacing(6)
        self.gridlayout1.setObjectName("gridlayout1")

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

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

        self.label_2 = QtGui.QLabel(self.tab)
        self.label_2.setObjectName("label_2")
        self.vboxlayout.addWidget(self.label_2)

        self.cmbCharsetType = QtGui.QComboBox(self.tab)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Policy(1),QtGui.QSizePolicy.Policy(0))
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbCharsetType.sizePolicy().hasHeightForWidth())
        self.cmbCharsetType.setSizePolicy(sizePolicy)
        self.cmbCharsetType.setObjectName("cmbCharsetType")
        self.vboxlayout.addWidget(self.cmbCharsetType)
        self.hboxlayout.addLayout(self.vboxlayout)

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

        self.label_3 = QtGui.QLabel(self.tab)
        self.label_3.setObjectName("label_3")
        self.vboxlayout1.addWidget(self.label_3)

        self.cmbCharset = QtGui.QComboBox(self.tab)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Policy(3),QtGui.QSizePolicy.Policy(0))
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbCharset.sizePolicy().hasHeightForWidth())
        self.cmbCharset.setSizePolicy(sizePolicy)
        self.cmbCharset.setObjectName("cmbCharset")
        self.vboxlayout1.addWidget(self.cmbCharset)
        self.hboxlayout.addLayout(self.vboxlayout1)
        self.gridlayout1.addLayout(self.hboxlayout,2,0,1,1)

        self.label = QtGui.QLabel(self.tab)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Policy(5),QtGui.QSizePolicy.Policy(7))
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label.sizePolicy().hasHeightForWidth())
        self.label.setSizePolicy(sizePolicy)
        self.label.setObjectName("label")
        self.gridlayout1.addWidget(self.label,0,0,1,1)

        self.line = QtGui.QFrame(self.tab)
        self.line.setFrameShape(QtGui.QFrame.HLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName("line")
        self.gridlayout1.addWidget(self.line,1,0,1,1)
        self.tabWidget.addTab(self.tab,"")

        self.tab_2 = QtGui.QWidget()
        self.tab_2.setObjectName("tab_2")

        self.gridlayout2 = QtGui.QGridLayout(self.tab_2)
        self.gridlayout2.setMargin(9)
        self.gridlayout2.setSpacing(6)
        self.gridlayout2.setObjectName("gridlayout2")

        self.hboxlayout1 = QtGui.QHBoxLayout()
        self.hboxlayout1.setMargin(0)
        self.hboxlayout1.setSpacing(6)
        self.hboxlayout1.setObjectName("hboxlayout1")

        self.vboxlayout2 = QtGui.QVBoxLayout()
        self.vboxlayout2.setMargin(0)
        self.vboxlayout2.setSpacing(6)
        self.vboxlayout2.setObjectName("vboxlayout2")

        self.label_5 = QtGui.QLabel(self.tab_2)
        self.label_5.setObjectName("label_5")
        self.vboxlayout2.addWidget(self.label_5)

        self.cmbColorType = QtGui.QComboBox(self.tab_2)
        self.cmbColorType.setObjectName("cmbColorType")
        self.vboxlayout2.addWidget(self.cmbColorType)
        self.hboxlayout1.addLayout(self.vboxlayout2)

        self.vboxlayout3 = QtGui.QVBoxLayout()
        self.vboxlayout3.setMargin(0)
        self.vboxlayout3.setSpacing(6)
        self.vboxlayout3.setObjectName("vboxlayout3")

        self.label_6 = QtGui.QLabel(self.tab_2)
        self.label_6.setObjectName("label_6")
        self.vboxlayout3.addWidget(self.label_6)

        self.cmbColor = QtGui.QComboBox(self.tab_2)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Policy(7),QtGui.QSizePolicy.Policy(0))
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbColor.sizePolicy().hasHeightForWidth())
        self.cmbColor.setSizePolicy(sizePolicy)
        self.cmbColor.setObjectName("cmbColor")
        self.vboxlayout3.addWidget(self.cmbColor)
        self.hboxlayout1.addLayout(self.vboxlayout3)
        self.gridlayout2.addLayout(self.hboxlayout1,2,0,1,1)

        self.label_4 = QtGui.QLabel(self.tab_2)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Policy(3),QtGui.QSizePolicy.Policy(1))
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_4.sizePolicy().hasHeightForWidth())
        self.label_4.setSizePolicy(sizePolicy)
        self.label_4.setObjectName("label_4")
        self.gridlayout2.addWidget(self.label_4,0,0,1,1)

        self.line_2 = QtGui.QFrame(self.tab_2)
        self.line_2.setFrameShape(QtGui.QFrame.HLine)
        self.line_2.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_2.setObjectName("line_2")
        self.gridlayout2.addWidget(self.line_2,1,0,1,1)
        self.tabWidget.addTab(self.tab_2,"")

        self.tab_3 = QtGui.QWidget()
        self.tab_3.setObjectName("tab_3")

        self.gridlayout3 = QtGui.QGridLayout(self.tab_3)
        self.gridlayout3.setMargin(9)
        self.gridlayout3.setSpacing(6)
        self.gridlayout3.setObjectName("gridlayout3")

        self.hboxlayout2 = QtGui.QHBoxLayout()
        self.hboxlayout2.setMargin(0)
        self.hboxlayout2.setSpacing(6)
        self.hboxlayout2.setObjectName("hboxlayout2")

        self.vboxlayout4 = QtGui.QVBoxLayout()
        self.vboxlayout4.setMargin(0)
        self.vboxlayout4.setSpacing(6)
        self.vboxlayout4.setObjectName("vboxlayout4")

        self.label_9 = QtGui.QLabel(self.tab_3)
        self.label_9.setObjectName("label_9")
        self.vboxlayout4.addWidget(self.label_9)

        self.cmbEntityType = QtGui.QComboBox(self.tab_3)
        self.cmbEntityType.setObjectName("cmbEntityType")
        self.vboxlayout4.addWidget(self.cmbEntityType)
        self.hboxlayout2.addLayout(self.vboxlayout4)

        self.vboxlayout5 = QtGui.QVBoxLayout()
        self.vboxlayout5.setMargin(0)
        self.vboxlayout5.setSpacing(6)
        self.vboxlayout5.setObjectName("vboxlayout5")

        self.label_10 = QtGui.QLabel(self.tab_3)
        self.label_10.setObjectName("label_10")
        self.vboxlayout5.addWidget(self.label_10)

        self.cmbEntity = QtGui.QComboBox(self.tab_3)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Policy(7),QtGui.QSizePolicy.Policy(0))
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbEntity.sizePolicy().hasHeightForWidth())
        self.cmbEntity.setSizePolicy(sizePolicy)
        self.cmbEntity.setObjectName("cmbEntity")
        self.vboxlayout5.addWidget(self.cmbEntity)
        self.hboxlayout2.addLayout(self.vboxlayout5)
        self.gridlayout3.addLayout(self.hboxlayout2,2,0,1,1)

        self.label_8 = QtGui.QLabel(self.tab_3)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Policy(3),QtGui.QSizePolicy.Policy(5))
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_8.sizePolicy().hasHeightForWidth())
        self.label_8.setSizePolicy(sizePolicy)
        self.label_8.setObjectName("label_8")
        self.gridlayout3.addWidget(self.label_8,0,0,1,1)

        self.line_3 = QtGui.QFrame(self.tab_3)
        self.line_3.setFrameShape(QtGui.QFrame.HLine)
        self.line_3.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_3.setObjectName("line_3")
        self.gridlayout3.addWidget(self.line_3,1,0,1,1)
        self.tabWidget.addTab(self.tab_3,"")

        self.tab_4 = QtGui.QWidget()
        self.tab_4.setObjectName("tab_4")

        self.gridlayout4 = QtGui.QGridLayout(self.tab_4)
        self.gridlayout4.setMargin(9)
        self.gridlayout4.setSpacing(6)
        self.gridlayout4.setObjectName("gridlayout4")

        self.label_7 = QtGui.QLabel(self.tab_4)
        self.label_7.setObjectName("label_7")
        self.gridlayout4.addWidget(self.label_7,0,0,1,1)
        self.tabWidget.addTab(self.tab_4,"")
        self.gridlayout.addWidget(self.tabWidget,0,0,1,2)

        self.retranslateUi(CT_DialogCharTables)
        self.tabWidget.setCurrentIndex(2)
        QtCore.QObject.connect(self.buttonBox,QtCore.SIGNAL("accepted()"),CT_DialogCharTables.close)
        QtCore.QMetaObject.connectSlotsByName(CT_DialogCharTables)

    def retranslateUi(self, CT_DialogCharTables):
        CT_DialogCharTables.setWindowTitle(QtGui.QApplication.translate("CT_DialogCharTables", "CharTables", None, QtGui.QApplication.UnicodeUTF8))
        self.btInsert.setToolTip(QtGui.QApplication.translate("CT_DialogCharTables", "Inserts the contents of the currently selected cell into the current editor (Eric4 only).", None, QtGui.QApplication.UnicodeUTF8))
        self.btInsert.setWhatsThis(QtGui.QApplication.translate("CT_DialogCharTables", "Inserts the contents of the currently selected cell into the current editor (Eric4 only).", None, QtGui.QApplication.UnicodeUTF8))
        self.btInsert.setText(QtGui.QApplication.translate("CT_DialogCharTables", "I&nsert At", None, QtGui.QApplication.UnicodeUTF8))
        self.btCopy.setToolTip(QtGui.QApplication.translate("CT_DialogCharTables", "Copies contents of the selected cell to the clipboard.", None, QtGui.QApplication.UnicodeUTF8))
        self.btCopy.setWhatsThis(QtGui.QApplication.translate("CT_DialogCharTables", "Copies contents of the selected cell to the clipboard.", None, QtGui.QApplication.UnicodeUTF8))
        self.btCopy.setText(QtGui.QApplication.translate("CT_DialogCharTables", "&Copy", None, QtGui.QApplication.UnicodeUTF8))
        self.tabWidget.setWhatsThis(QtGui.QApplication.translate("CT_DialogCharTables", "Dialog for easy lookup of charsets, colors, entities and other charts that are always good to have at hand.", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("CT_DialogCharTables", "Types:", None, QtGui.QApplication.UnicodeUTF8))
        self.cmbCharsetType.setWhatsThis(QtGui.QApplication.translate("CT_DialogCharTables", "Selects the charset type.", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(QtGui.QApplication.translate("CT_DialogCharTables", "Tables:", None, QtGui.QApplication.UnicodeUTF8))
        self.cmbCharset.setWhatsThis(QtGui.QApplication.translate("CT_DialogCharTables", "Selects the charset to display.", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("CT_DialogCharTables", "Charset tables", None, QtGui.QApplication.UnicodeUTF8))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), QtGui.QApplication.translate("CT_DialogCharTables", "Ch&arsets", None, QtGui.QApplication.UnicodeUTF8))
        self.label_5.setText(QtGui.QApplication.translate("CT_DialogCharTables", "Types:", None, QtGui.QApplication.UnicodeUTF8))
        self.cmbColorType.setWhatsThis(QtGui.QApplication.translate("CT_DialogCharTables", "Selects the color type.", None, QtGui.QApplication.UnicodeUTF8))
        self.label_6.setText(QtGui.QApplication.translate("CT_DialogCharTables", "Tables:", None, QtGui.QApplication.UnicodeUTF8))
        self.cmbColor.setWhatsThis(QtGui.QApplication.translate("CT_DialogCharTables", "Selects the colors to display.", None, QtGui.QApplication.UnicodeUTF8))
        self.label_4.setText(QtGui.QApplication.translate("CT_DialogCharTables", "Color tables", None, QtGui.QApplication.UnicodeUTF8))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_2), QtGui.QApplication.translate("CT_DialogCharTables", "C&olors", None, QtGui.QApplication.UnicodeUTF8))
        self.label_9.setText(QtGui.QApplication.translate("CT_DialogCharTables", "Types:", None, QtGui.QApplication.UnicodeUTF8))
        self.cmbEntityType.setWhatsThis(QtGui.QApplication.translate("CT_DialogCharTables", "Selects the entities type.", None, QtGui.QApplication.UnicodeUTF8))
        self.label_10.setText(QtGui.QApplication.translate("CT_DialogCharTables", "Tables:", None, QtGui.QApplication.UnicodeUTF8))
        self.cmbEntity.setWhatsThis(QtGui.QApplication.translate("CT_DialogCharTables", "Selects the entities to display.", None, QtGui.QApplication.UnicodeUTF8))
        self.label_8.setText(QtGui.QApplication.translate("CT_DialogCharTables", "Entity tables", None, QtGui.QApplication.UnicodeUTF8))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_3), QtGui.QApplication.translate("CT_DialogCharTables", "&Entities", None, QtGui.QApplication.UnicodeUTF8))
        self.label_7.setText(QtGui.QApplication.translate("CT_DialogCharTables", "Some options...", None, QtGui.QApplication.UnicodeUTF8))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_4), QtGui.QApplication.translate("CT_DialogCharTables", "O&ptions", None, QtGui.QApplication.UnicodeUTF8))



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