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

# Form implementation generated from reading ui file 'eric/Tasks/TaskPropertiesDialog.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_TaskPropertiesDialog(object):
    def setupUi(self, TaskPropertiesDialog):
        TaskPropertiesDialog.setObjectName("TaskPropertiesDialog")
        TaskPropertiesDialog.resize(579, 297)
        TaskPropertiesDialog.setSizeGripEnabled(True)
        self.gridlayout = QtGui.QGridLayout(TaskPropertiesDialog)
        self.gridlayout.setObjectName("gridlayout")
        self.label = QtGui.QLabel(TaskPropertiesDialog)
        self.label.setObjectName("label")
        self.gridlayout.addWidget(self.label, 0, 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.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop)
        self.textLabel1.setObjectName("textLabel1")
        self.gridlayout.addWidget(self.textLabel1, 1, 0, 1, 1)
        self.longtextEdit = QtGui.QTextEdit(TaskPropertiesDialog)
        self.longtextEdit.setObjectName("longtextEdit")
        self.gridlayout.addWidget(self.longtextEdit, 1, 1, 1, 3)
        self.textLabel2 = QtGui.QLabel(TaskPropertiesDialog)
        self.textLabel2.setObjectName("textLabel2")
        self.gridlayout.addWidget(self.textLabel2, 2, 0, 1, 1)
        self.creationLabel = QtGui.QLabel(TaskPropertiesDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
        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, 2, 1, 1, 3)
        self.textLabel4 = QtGui.QLabel(TaskPropertiesDialog)
        self.textLabel4.setObjectName("textLabel4")
        self.gridlayout.addWidget(self.textLabel4, 3, 0, 1, 1)
        self.priorityCombo = QtGui.QComboBox(TaskPropertiesDialog)
        self.priorityCombo.setObjectName("priorityCombo")
        self.priorityCombo.addItem(QtCore.QString())
        self.priorityCombo.addItem(QtCore.QString())
        self.priorityCombo.addItem(QtCore.QString())
        self.gridlayout.addWidget(self.priorityCombo, 3, 1, 1, 1)
        self.projectCheckBox = QtGui.QCheckBox(TaskPropertiesDialog)
        self.projectCheckBox.setObjectName("projectCheckBox")
        self.gridlayout.addWidget(self.projectCheckBox, 3, 2, 1, 1)
        self.completedCheckBox = QtGui.QCheckBox(TaskPropertiesDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        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, 3, 3, 1, 1)
        self.textLabel5 = QtGui.QLabel(TaskPropertiesDialog)
        self.textLabel5.setObjectName("textLabel5")
        self.gridlayout.addWidget(self.textLabel5, 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, 4, 1, 1, 3)
        self.textLabel6 = QtGui.QLabel(TaskPropertiesDialog)
        self.textLabel6.setObjectName("textLabel6")
        self.gridlayout.addWidget(self.textLabel6, 5, 0, 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, 5, 1, 1, 3)
        self.buttonBox = QtGui.QDialogButtonBox(TaskPropertiesDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName("buttonBox")
        self.gridlayout.addWidget(self.buttonBox, 6, 0, 1, 4)
        self.label.setBuddy(self.descriptionEdit)
        self.textLabel1.setBuddy(self.longtextEdit)
        self.textLabel4.setBuddy(self.priorityCombo)

        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.longtextEdit)
        TaskPropertiesDialog.setTabOrder(self.longtextEdit, self.priorityCombo)
        TaskPropertiesDialog.setTabOrder(self.priorityCombo, self.projectCheckBox)
        TaskPropertiesDialog.setTabOrder(self.projectCheckBox, self.completedCheckBox)
        TaskPropertiesDialog.setTabOrder(self.completedCheckBox, self.buttonBox)

    def retranslateUi(self, TaskPropertiesDialog):
        TaskPropertiesDialog.setWindowTitle(QtGui.QApplication.translate("TaskPropertiesDialog", "Task Properties", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("TaskPropertiesDialog", "&Summary:", None, QtGui.QApplication.UnicodeUTF8))
        self.descriptionEdit.setToolTip(QtGui.QApplication.translate("TaskPropertiesDialog", "Enter the task summary", None, QtGui.QApplication.UnicodeUTF8))
        self.textLabel1.setText(QtGui.QApplication.translate("TaskPropertiesDialog", "&Description:", None, QtGui.QApplication.UnicodeUTF8))
        self.longtextEdit.setToolTip(QtGui.QApplication.translate("TaskPropertiesDialog", "Enter the task description", None, QtGui.QApplication.UnicodeUTF8))
        self.textLabel2.setText(QtGui.QApplication.translate("TaskPropertiesDialog", "Creation Time:", None, QtGui.QApplication.UnicodeUTF8))
        self.textLabel4.setText(QtGui.QApplication.translate("TaskPropertiesDialog", "&Priority:", None, QtGui.QApplication.UnicodeUTF8))
        self.priorityCombo.setToolTip(QtGui.QApplication.translate("TaskPropertiesDialog", "Select the task priority", None, QtGui.QApplication.UnicodeUTF8))
        self.priorityCombo.setItemText(0, QtGui.QApplication.translate("TaskPropertiesDialog", "High", None, QtGui.QApplication.UnicodeUTF8))
        self.priorityCombo.setItemText(1, QtGui.QApplication.translate("TaskPropertiesDialog", "Normal", None, QtGui.QApplication.UnicodeUTF8))
        self.priorityCombo.setItemText(2, 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.textLabel5.setText(QtGui.QApplication.translate("TaskPropertiesDialog", "Filename:", None, QtGui.QApplication.UnicodeUTF8))
        self.textLabel6.setText(QtGui.QApplication.translate("TaskPropertiesDialog", "Line:", None, QtGui.QApplication.UnicodeUTF8))

