コード例 #1
0
ファイル: universityTerm.py プロジェクト: ubuntu-ir/starcal
	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
コード例 #2
0
ファイル: universityTerm.py プロジェクト: ilius/starcal
	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
コード例 #3
0
ファイル: universityTerm.py プロジェクト: ubuntu-ir/starcal
	def setData(self, hmList):
		self.trees.clear()
		for hm in hmList:
			self.trees.append([hmEncode(hm)])
コード例 #4
0
ファイル: universityTerm.py プロジェクト: ilius/starcal
	def setData(self, hmList):
		self.trees.clear()
		for hm in hmList:
			self.trees.append([hmEncode(hm)])