コード例 #1
0
ファイル: ptm_app3.py プロジェクト: myCodeTD/ptm
	def setSelectionData(self) : 
		project = str(self.ui.project_comboBox.currentIndex())
		user = str(self.ui.user_comboBox.currentIndex())
		entity = str(self.ui.entity_comboBox.currentIndex())
		step = str(self.ui.step_comboBox.currentIndex())

		self.optionVar['data']['project'] = project 
		self.optionVar['data']['user'] = user
		self.optionVar['data']['entity'] = entity 
		self.optionVar['data']['step'] = step

		hook.setOptionVar(self.optionVarName, str(self.optionVar))
コード例 #2
0
ファイル: ptm_app2.py プロジェクト: ChanonVilaiyuk/ptm
    def setSelectionData(self):
        project = str(self.ui.project_comboBox.currentIndex())
        user = str(self.ui.user_comboBox.currentIndex())
        entity = str(self.ui.entity_comboBox.currentIndex())
        step = str(self.ui.step_comboBox.currentIndex())

        self.optionVar['data']['project'] = project
        self.optionVar['data']['user'] = user
        self.optionVar['data']['entity'] = entity
        self.optionVar['data']['step'] = step

        hook.setOptionVar(self.optionVarName, str(self.optionVar))
コード例 #3
0
ファイル: ptm_app3.py プロジェクト: myCodeTD/ptm
	def initOptionVar(self, data) : 
		value = hook.getOptionVar(self.optionVarName)

		if value == 0 : 
			hook.setOptionVar(self.optionVarName, self.optionVar)
コード例 #4
0
	def initOptionVar(self, data) : 
		value = hook.getOptionVar(self.optionVarName)

		if value == 0 : 
			hook.setOptionVar(self.optionVarName, self.optionVar)