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

# Form implementation generated from reading ui file 'eric/Project/CreateDialogCodeDialog.ui'
#
# Created: Thu Feb 10 10:05:41 2011
#      by: PyQt4 UI code generator 4.8.1
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    _fromUtf8 = lambda s: s

class Ui_CreateDialogCodeDialog(object):
    def setupUi(self, CreateDialogCodeDialog):
        CreateDialogCodeDialog.setObjectName(_fromUtf8("CreateDialogCodeDialog"))
        CreateDialogCodeDialog.resize(584, 466)
        CreateDialogCodeDialog.setSizeGripEnabled(True)
        self.vboxlayout = QtGui.QVBoxLayout(CreateDialogCodeDialog)
        self.vboxlayout.setObjectName(_fromUtf8("vboxlayout"))
        self.gridlayout = QtGui.QGridLayout()
        self.gridlayout.setObjectName(_fromUtf8("gridlayout"))
        self.label_2 = QtGui.QLabel(CreateDialogCodeDialog)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridlayout.addWidget(self.label_2, 1, 0, 1, 1)
        self.newButton = QtGui.QPushButton(CreateDialogCodeDialog)
        self.newButton.setObjectName(_fromUtf8("newButton"))
        self.gridlayout.addWidget(self.newButton, 0, 2, 1, 2)
        self.label = QtGui.QLabel(CreateDialogCodeDialog)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridlayout.addWidget(self.label, 0, 0, 1, 1)
        self.clearFilterButton = QtGui.QToolButton(CreateDialogCodeDialog)
        self.clearFilterButton.setText(_fromUtf8(""))
        self.clearFilterButton.setObjectName(_fromUtf8("clearFilterButton"))
        self.gridlayout.addWidget(self.clearFilterButton, 2, 3, 1, 1)
        self.classNameCombo = QtGui.QComboBox(CreateDialogCodeDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.classNameCombo.sizePolicy().hasHeightForWidth())
        self.classNameCombo.setSizePolicy(sizePolicy)
        self.classNameCombo.setObjectName(_fromUtf8("classNameCombo"))
        self.gridlayout.addWidget(self.classNameCombo, 0, 1, 1, 1)
        self.filenameEdit = QtGui.QLineEdit(CreateDialogCodeDialog)
        self.filenameEdit.setReadOnly(True)
        self.filenameEdit.setObjectName(_fromUtf8("filenameEdit"))
        self.gridlayout.addWidget(self.filenameEdit, 1, 1, 1, 3)
        self.filterEdit = QtGui.QLineEdit(CreateDialogCodeDialog)
        self.filterEdit.setObjectName(_fromUtf8("filterEdit"))
        self.gridlayout.addWidget(self.filterEdit, 2, 1, 1, 2)
        self.label_3 = QtGui.QLabel(CreateDialogCodeDialog)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridlayout.addWidget(self.label_3, 2, 0, 1, 1)
        self.vboxlayout.addLayout(self.gridlayout)
        self.slotsView = QtGui.QTreeView(CreateDialogCodeDialog)
        self.slotsView.setSortingEnabled(True)
        self.slotsView.setObjectName(_fromUtf8("slotsView"))
        self.vboxlayout.addWidget(self.slotsView)
        self.buttonBox = QtGui.QDialogButtonBox(CreateDialogCodeDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.vboxlayout.addWidget(self.buttonBox)
        self.label_2.setBuddy(self.filenameEdit)
        self.label.setBuddy(self.classNameCombo)
        self.label_3.setBuddy(self.filterEdit)

        self.retranslateUi(CreateDialogCodeDialog)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), CreateDialogCodeDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(CreateDialogCodeDialog)
        CreateDialogCodeDialog.setTabOrder(self.classNameCombo, self.newButton)
        CreateDialogCodeDialog.setTabOrder(self.newButton, self.filenameEdit)
        CreateDialogCodeDialog.setTabOrder(self.filenameEdit, self.filterEdit)
        CreateDialogCodeDialog.setTabOrder(self.filterEdit, self.clearFilterButton)
        CreateDialogCodeDialog.setTabOrder(self.clearFilterButton, self.slotsView)
        CreateDialogCodeDialog.setTabOrder(self.slotsView, self.buttonBox)

    def retranslateUi(self, CreateDialogCodeDialog):
        CreateDialogCodeDialog.setWindowTitle(QtGui.QApplication.translate("CreateDialogCodeDialog", "Forms code generator", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("CreateDialogCodeDialog", "&Filename:", None, QtGui.QApplication.UnicodeUTF8))
        self.newButton.setToolTip(QtGui.QApplication.translate("CreateDialogCodeDialog", "Press to generate a new forms class", None, QtGui.QApplication.UnicodeUTF8))
        self.newButton.setText(QtGui.QApplication.translate("CreateDialogCodeDialog", "&New...", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("CreateDialogCodeDialog", "&Classname:", None, QtGui.QApplication.UnicodeUTF8))
        self.classNameCombo.setToolTip(QtGui.QApplication.translate("CreateDialogCodeDialog", "Select the class that should get the forms code", None, QtGui.QApplication.UnicodeUTF8))
        self.filenameEdit.setToolTip(QtGui.QApplication.translate("CreateDialogCodeDialog", "Displays the name of the file containing the code", None, QtGui.QApplication.UnicodeUTF8))
        self.filterEdit.setToolTip(QtGui.QApplication.translate("CreateDialogCodeDialog", "Enter a regular expression to filter the list below", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(QtGui.QApplication.translate("CreateDialogCodeDialog", "Filter &with:", None, QtGui.QApplication.UnicodeUTF8))

