Beispiel #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()
Beispiel #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()
Beispiel #3
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()
Beispiel #4
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()
Beispiel #5
0
 def removeTopic(self):
     selectedItemIndex = self.ui.topicList.currentRow()
     selectedTopic = self.topicList[selectedItemIndex]
     classifier.removeTopic(selectedTopic)
     self.displayTopics()
Beispiel #6
0
 def removeTopic(self):
     selectedIndex = self.ui.topicListCombo.currentIndex()
     selectedTopic = self.topicList[selectedIndex]
     classifier.removeTopic(selectedTopic)
     self.close()