Beispiel #1
0
    def addTopic(self):
        topic = unicode(self.ui.topicLine.text())
        classifier.addTopic(topic)
        self.ui.topicLine.clear()

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

        self.displayTopics()
Beispiel #2
0
    def addTopic(self):
        topic = unicode(self.ui.addTopicLinedit.text())
        #topic = purify.cleanText(topic) # gave an error when adding
        classifier.addTopic(topic)

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

        self.close()
Beispiel #3
0
    def addTopic(self):
        topic = unicode(self.ui.topicLine.text())
        classifier.addTopic(topic)
        self.ui.topicLine.clear()

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

        self.displayTopics()
Beispiel #4
0
    def addTopic(self):
        topic = unicode(self.ui.addTopicLinedit.text())
        #topic = purify.cleanText(topic) # gave an error when adding
        classifier.addTopic(topic)

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

        self.close()
Beispiel #5
0
 def addTopic(self):
     topic = unicode(self.ui.topicLine.text())
     classifier.addTopic(topic)
     self.ui.topicLine.clear()
     self.displayTopics()
Beispiel #6
0
 def addTopic(self):
     topic = unicode(self.ui.addTopicLinedit.text())
     topic = purify.cleanText(topic)
     classifier.addTopic(topic)
     self.close()