Changeset 1378:b17690b7fcd9 in orange-bioinformatics


Ignore:
Timestamp:
04/21/11 10:59:04 (3 years ago)
Author:
ales_erjavec <ales.erjavec@…>
Branch:
default
Convert:
f623664fa30d73594fcacc5d7d81fb5827351e8f
Message:

Setting default buttons (clicked when pressing enter) on all widgets where applicable.

Location:
widgets
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • widgets/OWBioMart.py

    r1310 r1378  
    767767        self.commitButton = OWGUI.button(box, self, "Get Results", 
    768768                                         callback=self.commit, 
    769                                          tooltip="Query the BioMart server for results and output the results") 
     769                                         tooltip="Query the BioMart server for results and output the results", 
     770                                         autoDefault=True) 
    770771        self.commitButton.setEnabled(False) 
    771772         
  • widgets/OWGenotypeDistances.py

    r1375 r1378  
    211211        b = OWGUI.button(box, self, "Commit", 
    212212                         tooltip="Compute and send the distances.", 
    213                          callback=self.commit) 
     213                         callback=self.commit, 
     214                         default=True) 
    214215         
    215216        OWGUI.setStopper(self, b, cb, "changed_flag", callback=self.commit) 
  • widgets/OWKEGGPathwayBrowser.py

    r1331 r1378  
    220220        box = OWGUI.widgetBox(self.controlArea, "Selection") 
    221221        OWGUI.checkBox(box, self, "autoCommit", "Commit on update") 
    222         OWGUI.button(box, self, "Commit", callback=self.Commit) 
     222        OWGUI.button(box, self, "Commit", callback=self.Commit, default=True) 
    223223        OWGUI.rubber(self.controlArea) 
    224224         
  • widgets/OWVulcanoPlot.py

    r1322 r1378  
    310310 
    311311        box = OWGUI.widgetBox(self.controlArea, "Commit") 
    312         b = OWGUI.button(box, self, "Commit", callback=self.commit) 
     312        b = OWGUI.button(box, self, "Commit", callback=self.commit, default=True) 
    313313        cb = OWGUI.checkBox(box, self, "autoCommit", "Commit automatically") 
    314314        OWGUI.setStopper(self, b, cb, "selectionChangedFlag", self.commitIf) 
Note: See TracChangeset for help on using the changeset viewer.