示例#1
0
    def removeTopic(self):
        selectedItemIndex = self.ui.topicList.currentRow()
        selectedTopic = self.topicList[selectedItemIndex]
        classifier.removeTopic(selectedTopic)

        #Set the refreshDisplay status to true.
        self.parent.parent.refreshDisplay = True

        self.displayTopics()
示例#2
0
    def removeTopic(self):
        selectedIndex = self.ui.topicListCombo.currentIndex()
        selectedTopic = self.topicList[selectedIndex]
        classifier.removeTopic(selectedTopic)

        #Set the refreshDisplay status to true.
        self.parent.parent.refreshDisplay = True

        self.close()
示例#3
0
文件: ui.py 项目: vagner4work/feedIO
    def removeTopic(self):
        selectedItemIndex = self.ui.topicList.currentRow()
        selectedTopic = self.topicList[selectedItemIndex]
        classifier.removeTopic(selectedTopic)

        #Set the refreshDisplay status to true.
        self.parent.parent.refreshDisplay = True

        self.displayTopics()
示例#4
0
文件: ui.py 项目: vagner4work/feedIO
    def removeTopic(self):
        selectedIndex = self.ui.topicListCombo.currentIndex()
        selectedTopic = self.topicList[selectedIndex]
        classifier.removeTopic(selectedTopic)

        #Set the refreshDisplay status to true.
        self.parent.parent.refreshDisplay = True

        self.close()
示例#5
0
文件: ui.py 项目: Lanka/feedIO
 def removeTopic(self):
     selectedItemIndex = self.ui.topicList.currentRow()
     selectedTopic = self.topicList[selectedItemIndex]
     classifier.removeTopic(selectedTopic)
     self.displayTopics()
示例#6
0
文件: ui.py 项目: Lanka/feedIO
 def removeTopic(self):
     selectedIndex = self.ui.topicListCombo.currentIndex()
     selectedTopic = self.topicList[selectedIndex]
     classifier.removeTopic(selectedTopic)
     self.close()