Esempio n. 1
0
    def __init__(self, parent=None):
        super(Window, self).__init__(parent)

        # Set Features List
        self.selectedFeatures = Clusterer.getDefaultFeatures()
        self.availableFeatures = Clusterer.getAllFeatures()
        self.availableFeatures &= ~self.selectedFeatures

        self.initUI()

        sys.stdout = EmittingStream(textWritten=self.normalOutputWritten)
        self.clustererThread = ClustererThread(self)
        self.clusterer = None
        self.clusters = None
        self.currentCluster = 0
        self.backgroundColor = QtGui.QColor(0, 0, 0)
Esempio n. 2
0
    def __init__(self, parent=None):
        super(Window, self).__init__(parent)

        # Set Features List
        self.selectedFeatures = Clusterer.getDefaultFeatures()
        self.availableFeatures = Clusterer.getAllFeatures()
        self.availableFeatures &= ~self.selectedFeatures

        self.initUI()

        sys.stdout = EmittingStream(textWritten=self.normalOutputWritten)
        self.clustererThread = ClustererThread(self)
        self.clusterer = None
        self.clusters = None
        self.currentCluster = 0
        self.backgroundColor = QtGui.QColor(0, 0, 0)