Exemplo n.º 1
0
	def timeEdited(self, cell, path, newText):
		index = int(path)
		parts = newText.split(':')
		h = numDecode(parts[0])
		m = numDecode(parts[1])
		hm = hmEncode((h, m))
		self.trees[index][0] = hm
Exemplo n.º 2
0
	def timeEdited(self, cell, path, newText):
		index = int(path)
		parts = newText.split(":")
		h = numDecode(parts[0])
		m = numDecode(parts[1])
		hm = hmEncode((h, m))
		self.trees[index][0] = hm
Exemplo n.º 3
0
	def setData(self, hmList):
		self.trees.clear()
		for hm in hmList:
			self.trees.append([hmEncode(hm)])
Exemplo n.º 4
0
	def setData(self, hmList):
		self.trees.clear()
		for hm in hmList:
			self.trees.append([hmEncode(hm)])