コード例 #1
0
ファイル: ui.py プロジェクト: onenonlycasper/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()
コード例 #2
0
ファイル: ui.py プロジェクト: onenonlycasper/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()
コード例 #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()