Example #1
0
 def setTaskStatus(self, taskId, status):
     task = Task.get(taskId)
     status = unicode(status)
     task.status = status
     if status == "done":
         task.doneDate = datetime.now()
Example #2
0
 def setTaskStatus(self, taskId, status):
     task = Task.get(taskId)
     status = unicode(status)
     task.status = status
     if status == "done":
         task.doneDate = datetime.now()
Example #3
0
 def editTask(self, taskId):
     task = Task.get(taskId)
     dlg = AddTaskDialog(task, self)
     if dlg.exec_() == QDialog.Accepted:
         self.updateViewAndKeepPosition()
Example #4
0
 def editTask(self, taskId):
     task = Task.get(taskId)
     dlg = AddTaskDialog(task, self)
     if dlg.exec_() == QDialog.Accepted:
         self.updateViewAndKeepPosition()