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

# Form implementation generated from reading ui file 'eric/Project/NewDialogClassDialog.ui'
#
# Created by: PyQt4 UI code generator 4.11.4
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    def _fromUtf8(s):
        return s

try:
    _encoding = QtGui.QApplication.UnicodeUTF8
    def _translate(context, text, disambig):
        return QtGui.QApplication.translate(context, text, disambig, _encoding)
except AttributeError:
    def _translate(context, text, disambig):
        return QtGui.QApplication.translate(context, text, disambig)

class Ui_NewDialogClassDialog(object):
    def setupUi(self, NewDialogClassDialog):
        NewDialogClassDialog.setObjectName(_fromUtf8("NewDialogClassDialog"))
        NewDialogClassDialog.resize(600, 124)
        NewDialogClassDialog.setSizeGripEnabled(True)
        self.verticalLayout = QtGui.QVBoxLayout(NewDialogClassDialog)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.gridLayout = QtGui.QGridLayout()
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.label = QtGui.QLabel(NewDialogClassDialog)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
        self.classnameEdit = QtGui.QLineEdit(NewDialogClassDialog)
        self.classnameEdit.setObjectName(_fromUtf8("classnameEdit"))
        self.gridLayout.addWidget(self.classnameEdit, 0, 1, 1, 1)
        self.label_2 = QtGui.QLabel(NewDialogClassDialog)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1)
        self.filenameEdit = QtGui.QLineEdit(NewDialogClassDialog)
        self.filenameEdit.setObjectName(_fromUtf8("filenameEdit"))
        self.gridLayout.addWidget(self.filenameEdit, 1, 1, 1, 1)
        self.label_3 = QtGui.QLabel(NewDialogClassDialog)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridLayout.addWidget(self.label_3, 2, 0, 1, 1)
        self.pathnamePicker = E5PathPicker(NewDialogClassDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pathnamePicker.sizePolicy().hasHeightForWidth())
        self.pathnamePicker.setSizePolicy(sizePolicy)
        self.pathnamePicker.setFocusPolicy(QtCore.Qt.StrongFocus)
        self.pathnamePicker.setObjectName(_fromUtf8("pathnamePicker"))
        self.gridLayout.addWidget(self.pathnamePicker, 2, 1, 1, 1)
        self.verticalLayout.addLayout(self.gridLayout)
        self.buttonBox = QtGui.QDialogButtonBox(NewDialogClassDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.verticalLayout.addWidget(self.buttonBox)
        self.label.setBuddy(self.classnameEdit)
        self.label_2.setBuddy(self.filenameEdit)
        self.label_3.setBuddy(self.pathnamePicker)

        self.retranslateUi(NewDialogClassDialog)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), NewDialogClassDialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), NewDialogClassDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(NewDialogClassDialog)
        NewDialogClassDialog.setTabOrder(self.classnameEdit, self.filenameEdit)
        NewDialogClassDialog.setTabOrder(self.filenameEdit, self.buttonBox)

    def retranslateUi(self, NewDialogClassDialog):
        NewDialogClassDialog.setWindowTitle(_translate("NewDialogClassDialog", "New Dialog Class", None))
        self.label.setText(_translate("NewDialogClassDialog", "&Classname:", None))
        self.classnameEdit.setToolTip(_translate("NewDialogClassDialog", "Enter the name of the new class", None))
        self.label_2.setText(_translate("NewDialogClassDialog", "&Filename:", None))
        self.filenameEdit.setToolTip(_translate("NewDialogClassDialog", "Enter the name of the file for the forms code", None))
        self.label_3.setText(_translate("NewDialogClassDialog", "&Path:", None))
        self.pathnamePicker.setToolTip(_translate("NewDialogClassDialog", "Enter the path of the file for the forms code", None))

from E5Gui.E5PathPicker import E5PathPicker
