Changeset 9362:c04805b542a5 in orange


Ignore:
Timestamp:
12/16/11 11:28:02 (2 years ago)
Author:
miha <miha.stajdohar@…>
Branch:
default
Convert:
0609200861b835505b46db04f20f3a6620b8441c
Message:

Fixed selections to marked only.

Location:
orange/OrangeWidgets/Unsupervised
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • orange/OrangeWidgets/Unsupervised/OWNxCanvasQt.py

    r9359 r9362  
    742742        self.networkCurve.set_use_animations(self.use_animations) 
    743743 
    744     def set_labels_on_marked_only(self, labelsOnMarkedOnly): 
    745         self.networkCurve.set_labels_on_marked_only(labelsOnMarkedOnly) 
     744    def set_labels_on_marked(self, labelsOnMarkedOnly): 
     745        self.networkCurve.set_labels_on_marked(labelsOnMarkedOnly) 
    746746        self.replot() 
    747747     
  • orange/OrangeWidgets/Unsupervised/OWNxExplorer.py

    r9359 r9362  
    217217            ib = OWGUI.widgetBox(self.verticesTab, "General", orientation="vertical") 
    218218            OWGUI.checkBox(ib, self, 'networkCanvas.show_indices', 'Show indices', callback=self.networkCanvas.set_node_labels) 
    219             OWGUI.checkBox(ib, self, 'labelsOnMarkedOnly', 'Show labels on marked nodes only', callback=(lambda: self.networkCanvas.set_labels_on_marked_only(self.labelsOnMarkedOnly))) 
     219            OWGUI.checkBox(ib, self, 'labelsOnMarkedOnly', 'Show labels on marked nodes only', callback=(lambda: self.networkCanvas.set_labels_on_marked(self.labelsOnMarkedOnly))) 
    220220             
    221221            ib = OWGUI.widgetBox(self.markTab, "Info", orientation="vertical") 
     
    983983            self.networkCanvas.minComponentEdgeWidth = self.minComponentEdgeWidth 
    984984            self.networkCanvas.maxComponentEdgeWidth = self.maxComponentEdgeWidth 
    985             self.networkCanvas.set_labels_on_marked_only(self.labelsOnMarkedOnly) 
     985            self.networkCanvas.set_labels_on_marked(self.labelsOnMarkedOnly) 
    986986             
    987987            self.compute_network_info() 
Note: See TracChangeset for help on using the changeset viewer.