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

# Form implementation generated from reading ui file 'eric/Project/CreateDialogCodeDialog.ui'
#
# Created: Mon May 10 20:39:41 2010
#      by: PyQt4 UI code generator 4.4.4
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_CreateDialogCodeDialog(object):
    def setupUi(self, CreateDialogCodeDialog):
        CreateDialogCodeDialog.setObjectName("CreateDialogCodeDialog")
        CreateDialogCodeDialog.resize(584, 466)
        CreateDialogCodeDialog.setSizeGripEnabled(True)
        self.vboxlayout = QtGui.QVBoxLayout(CreateDialogCodeDialog)
        self.vboxlayout.setObjectName("vboxlayout")
        self.gridlayout = QtGui.QGridLayout()
        self.gridlayout.setObjectName("gridlayout")
        self.label_2 = QtGui.QLabel(CreateDialogCodeDialog)
        self.label_2.setObjectName("label_2")
        self.gridlayout.addWidget(self.label_2, 1, 0, 1, 1)
        self.newButton = QtGui.QPushButton(CreateDialogCodeDialog)
        self.newButton.setObjectName("newButton")
        self.gridlayout.addWidget(self.newButton, 0, 2, 1, 2)
        self.label = QtGui.QLabel(CreateDialogCodeDialog)
        self.label.setObjectName("label")
        self.gridlayout.addWidget(self.label, 0, 0, 1, 1)
        self.clearFilterButton = QtGui.QToolButton(CreateDialogCodeDialog)
        self.clearFilterButton.setObjectName("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("classNameCombo")
        self.gridlayout.addWidget(self.classNameCombo, 0, 1, 1, 1)
        self.filenameEdit = QtGui.QLineEdit(CreateDialogCodeDialog)
        self.filenameEdit.setReadOnly(True)
        self.filenameEdit.setObjectName("filenameEdit")
        self.gridlayout.addWidget(self.filenameEdit, 1, 1, 1, 3)
        self.filterEdit = QtGui.QLineEdit(CreateDialogCodeDialog)
        self.filterEdit.setObjectName("filterEdit")
        self.gridlayout.addWidget(self.filterEdit, 2, 1, 1, 2)
        self.label_3 = QtGui.QLabel(CreateDialogCodeDialog)
        self.label_3.setObjectName("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("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("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("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))

