Пример #1
0
    def update(self):
        data = {
            'id': self._id,
            'id_task': self.comboBox_tasks.currentData(),
            'id_attachment': 1,
            'name': self.lineEdit_name.text(),
            'description': self.textEdit.toPlainText(),
            'archived': False
        }

        idea_pool.update_idea(data)
        self.hide()
        self.saveSignal.emit(data)
Пример #2
0
    def update(self):
        data = {
            'id': self._id,
            'id_task': self.comboBox_tasks.currentData(),
            'id_attachment': 1,
            'name': self.lineEdit_name.text(),
            'description': self.textEdit.toPlainText(),
            'archived': False
        }

        idea_pool.update_idea(data)
        self.hide()
        self.saveSignal.emit(data)
Пример #3
0
 def update_idea(row):
     idea_pool.update_idea(row)