Exemplo n.º 1
0
 def on_cellChanged(self, i, j, counter_id):
     tw = self.tables["%i"%counter_id]
     recordingId = int(tw.item(i,0).text())
     r = Recording.findById(recordingId)
     r.value = int(tw.item(i,3).text())
     r.update()
     self.setupTabs()
Exemplo n.º 2
0
 def on_removeClicked(self, counter_id, recording_id):
     r = Recording.findById(recording_id)
     r.remove()
     self.setupTabs()