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

# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric4/eric4_0/eric4/Project/NewDialogClassDialog.ui'
#
# Created: Fri Mar 30 18:08: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_NewDialogClassDialog(object):
    def setupUi(self, NewDialogClassDialog):
        NewDialogClassDialog.setObjectName("NewDialogClassDialog")
        NewDialogClassDialog.resize(QtCore.QSize(QtCore.QRect(0,0,600,136).size()).expandedTo(NewDialogClassDialog.minimumSizeHint()))
        NewDialogClassDialog.setSizeGripEnabled(True)

        self.vboxlayout = QtGui.QVBoxLayout(NewDialogClassDialog)
        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.pathnameEdit = QtGui.QLineEdit(NewDialogClassDialog)
        self.pathnameEdit.setObjectName("pathnameEdit")
        self.gridlayout.addWidget(self.pathnameEdit,2,1,1,1)

        self.label = QtGui.QLabel(NewDialogClassDialog)
        self.label.setObjectName("label")
        self.gridlayout.addWidget(self.label,0,0,1,1)

        self.pathButton = QtGui.QPushButton(NewDialogClassDialog)
        self.pathButton.setObjectName("pathButton")
        self.gridlayout.addWidget(self.pathButton,2,2,1,1)

        self.label_2 = QtGui.QLabel(NewDialogClassDialog)
        self.label_2.setObjectName("label_2")
        self.gridlayout.addWidget(self.label_2,1,0,1,1)

        self.label_3 = QtGui.QLabel(NewDialogClassDialog)
        self.label_3.setObjectName("label_3")
        self.gridlayout.addWidget(self.label_3,2,0,1,1)

        self.classnameEdit = QtGui.QLineEdit(NewDialogClassDialog)
        self.classnameEdit.setObjectName("classnameEdit")
        self.gridlayout.addWidget(self.classnameEdit,0,1,1,2)

        self.filenameEdit = QtGui.QLineEdit(NewDialogClassDialog)
        self.filenameEdit.setObjectName("filenameEdit")
        self.gridlayout.addWidget(self.filenameEdit,1,1,1,2)
        self.vboxlayout.addLayout(self.gridlayout)

        self.buttonBox = QtGui.QDialogButtonBox(NewDialogClassDialog)
        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.setBuddy(self.classnameEdit)
        self.label_2.setBuddy(self.filenameEdit)
        self.label_3.setBuddy(self.pathnameEdit)

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

    def retranslateUi(self, NewDialogClassDialog):
        NewDialogClassDialog.setWindowTitle(QtGui.QApplication.translate("NewDialogClassDialog", "New Dialog Class", None, QtGui.QApplication.UnicodeUTF8))
        self.pathnameEdit.setToolTip(QtGui.QApplication.translate("NewDialogClassDialog", "Enter the path of the file for the forms code", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("NewDialogClassDialog", "&Classname:", None, QtGui.QApplication.UnicodeUTF8))
        self.pathButton.setToolTip(QtGui.QApplication.translate("NewDialogClassDialog", "Select the source file path via a directory selection dialog", None, QtGui.QApplication.UnicodeUTF8))
        self.pathButton.setText(QtGui.QApplication.translate("NewDialogClassDialog", "...", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("NewDialogClassDialog", "&Filename:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(QtGui.QApplication.translate("NewDialogClassDialog", "&Path:", None, QtGui.QApplication.UnicodeUTF8))
        self.classnameEdit.setToolTip(QtGui.QApplication.translate("NewDialogClassDialog", "Enter the name of the new class", None, QtGui.QApplication.UnicodeUTF8))
        self.filenameEdit.setToolTip(QtGui.QApplication.translate("NewDialogClassDialog", "Enter the name of the file for the forms code", None, QtGui.QApplication.UnicodeUTF8))



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