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

# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric4/eric4_0/eric4/Tasks/TaskPropertiesDialog.ui'
#
# Created: Sat Feb  3 15:33:54 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_TaskPropertiesDialog(object):
    def setupUi(self, TaskPropertiesDialog):
        TaskPropertiesDialog.setObjectName("TaskPropertiesDialog")
        TaskPropertiesDialog.resize(QtCore.QSize(QtCore.QRect(0,0,579,165).size()).expandedTo(TaskPropertiesDialog.minimumSizeHint()))
        TaskPropertiesDialog.setSizeGripEnabled(True)

        self.gridlayout = QtGui.QGridLayout(TaskPropertiesDialog)
        self.gridlayout.setMargin(6)
        self.gridlayout.setSpacing(6)
        self.gridlayout.setObjectName("gridlayout")

        self.buttonBox = QtGui.QDialogButtonBox(TaskPropertiesDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.NoButton|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName("buttonBox")
        self.gridlayout.addWidget(self.buttonBox,5,0,1,4)

        self.priorityCombo = QtGui.QComboBox(TaskPropertiesDialog)
        self.priorityCombo.setObjectName("priorityCombo")
        self.gridlayout.addWidget(self.priorityCombo,2,1,1,1)

        self.projectCheckBox = QtGui.QCheckBox(TaskPropertiesDialog)
        self.projectCheckBox.setObjectName("projectCheckBox")
        self.gridlayout.addWidget(self.projectCheckBox,2,2,1,1)

        self.completedCheckBox = QtGui.QCheckBox(TaskPropertiesDialog)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Policy(7),QtGui.QSizePolicy.Policy(0))
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.completedCheckBox.sizePolicy().hasHeightForWidth())
        self.completedCheckBox.setSizePolicy(sizePolicy)
        self.completedCheckBox.setObjectName("completedCheckBox")
        self.gridlayout.addWidget(self.completedCheckBox,2,3,1,1)

        self.linenoEdit = QtGui.QLineEdit(TaskPropertiesDialog)
        self.linenoEdit.setFocusPolicy(QtCore.Qt.NoFocus)
        self.linenoEdit.setReadOnly(True)
        self.linenoEdit.setObjectName("linenoEdit")
        self.gridlayout.addWidget(self.linenoEdit,4,1,1,3)

        self.textLabel6 = QtGui.QLabel(TaskPropertiesDialog)
        self.textLabel6.setObjectName("textLabel6")
        self.gridlayout.addWidget(self.textLabel6,4,0,1,1)

        self.filenameEdit = QtGui.QLineEdit(TaskPropertiesDialog)
        self.filenameEdit.setFocusPolicy(QtCore.Qt.NoFocus)
        self.filenameEdit.setReadOnly(True)
        self.filenameEdit.setObjectName("filenameEdit")
        self.gridlayout.addWidget(self.filenameEdit,3,1,1,3)

        self.textLabel5 = QtGui.QLabel(TaskPropertiesDialog)
        self.textLabel5.setObjectName("textLabel5")
        self.gridlayout.addWidget(self.textLabel5,3,0,1,1)

        self.textLabel4 = QtGui.QLabel(TaskPropertiesDialog)
        self.textLabel4.setObjectName("textLabel4")
        self.gridlayout.addWidget(self.textLabel4,2,0,1,1)

        self.creationLabel = QtGui.QLabel(TaskPropertiesDialog)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Policy(7),QtGui.QSizePolicy.Policy(5))
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.creationLabel.sizePolicy().hasHeightForWidth())
        self.creationLabel.setSizePolicy(sizePolicy)
        self.creationLabel.setObjectName("creationLabel")
        self.gridlayout.addWidget(self.creationLabel,1,1,1,3)

        self.textLabel2 = QtGui.QLabel(TaskPropertiesDialog)
        self.textLabel2.setObjectName("textLabel2")
        self.gridlayout.addWidget(self.textLabel2,1,0,1,1)

        self.descriptionEdit = QtGui.QLineEdit(TaskPropertiesDialog)
        self.descriptionEdit.setObjectName("descriptionEdit")
        self.gridlayout.addWidget(self.descriptionEdit,0,1,1,3)

        self.textLabel1 = QtGui.QLabel(TaskPropertiesDialog)
        self.textLabel1.setObjectName("textLabel1")
        self.gridlayout.addWidget(self.textLabel1,0,0,1,1)
        self.textLabel4.setBuddy(self.priorityCombo)
        self.textLabel1.setBuddy(self.descriptionEdit)

        self.retranslateUi(TaskPropertiesDialog)
        self.priorityCombo.setCurrentIndex(1)
        QtCore.QObject.connect(self.buttonBox,QtCore.SIGNAL("accepted()"),TaskPropertiesDialog.accept)
        QtCore.QObject.connect(self.buttonBox,QtCore.SIGNAL("rejected()"),TaskPropertiesDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(TaskPropertiesDialog)
        TaskPropertiesDialog.setTabOrder(self.descriptionEdit,self.priorityCombo)
        TaskPropertiesDialog.setTabOrder(self.priorityCombo,self.projectCheckBox)
        TaskPropertiesDialog.setTabOrder(self.projectCheckBox,self.completedCheckBox)

    def retranslateUi(self, TaskPropertiesDialog):
        TaskPropertiesDialog.setWindowTitle(QtGui.QApplication.translate("TaskPropertiesDialog", "Task Properties", None, QtGui.QApplication.UnicodeUTF8))
        self.priorityCombo.setToolTip(QtGui.QApplication.translate("TaskPropertiesDialog", "Select the task priority", None, QtGui.QApplication.UnicodeUTF8))
        self.priorityCombo.addItem(QtGui.QApplication.translate("TaskPropertiesDialog", "High", None, QtGui.QApplication.UnicodeUTF8))
        self.priorityCombo.addItem(QtGui.QApplication.translate("TaskPropertiesDialog", "Normal", None, QtGui.QApplication.UnicodeUTF8))
        self.priorityCombo.addItem(QtGui.QApplication.translate("TaskPropertiesDialog", "Low", None, QtGui.QApplication.UnicodeUTF8))
        self.projectCheckBox.setToolTip(QtGui.QApplication.translate("TaskPropertiesDialog", "Select to indicate a task related to the current project", None, QtGui.QApplication.UnicodeUTF8))
        self.projectCheckBox.setText(QtGui.QApplication.translate("TaskPropertiesDialog", "Project &Task", None, QtGui.QApplication.UnicodeUTF8))
        self.completedCheckBox.setToolTip(QtGui.QApplication.translate("TaskPropertiesDialog", "Select to mark this task as completed", None, QtGui.QApplication.UnicodeUTF8))
        self.completedCheckBox.setText(QtGui.QApplication.translate("TaskPropertiesDialog", "T&ask completed", None, QtGui.QApplication.UnicodeUTF8))
        self.textLabel6.setText(QtGui.QApplication.translate("TaskPropertiesDialog", "Line:", None, QtGui.QApplication.UnicodeUTF8))
        self.textLabel5.setText(QtGui.QApplication.translate("TaskPropertiesDialog", "Filename:", None, QtGui.QApplication.UnicodeUTF8))
        self.textLabel4.setText(QtGui.QApplication.translate("TaskPropertiesDialog", "&Priority:", None, QtGui.QApplication.UnicodeUTF8))
        self.textLabel2.setText(QtGui.QApplication.translate("TaskPropertiesDialog", "Creation Time:", None, QtGui.QApplication.UnicodeUTF8))
        self.descriptionEdit.setToolTip(QtGui.QApplication.translate("TaskPropertiesDialog", "Enter the task description", None, QtGui.QApplication.UnicodeUTF8))
        self.textLabel1.setText(QtGui.QApplication.translate("TaskPropertiesDialog", "&Description:", None, QtGui.QApplication.UnicodeUTF8))



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