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

# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric4/eric4_0/eric4/Project/CreateDialogCodeDialog.ui'
#
# Created: Sun Apr  1 13:42: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_CreateDialogCodeDialog(object):
    def setupUi(self, CreateDialogCodeDialog):
        CreateDialogCodeDialog.setObjectName("CreateDialogCodeDialog")
        CreateDialogCodeDialog.resize(QtCore.QSize(QtCore.QRect(0,0,584,466).size()).expandedTo(CreateDialogCodeDialog.minimumSizeHint()))
        CreateDialogCodeDialog.setSizeGripEnabled(True)

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

        self.gridlayout = QtGui.QGridLayout()
        self.gridlayout.setMargin(0)
        self.gridlayout.setSpacing(6)
        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.Policy(7),QtGui.QSizePolicy.Policy(0))
        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.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.NoButton|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))



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