Changeset 9254:f834ed5eeef6 in orange


Ignore:
Timestamp:
11/23/11 15:26:36 (2 years ago)
Author:
ales_erjavec <ales.erjavec@…>
Branch:
default
Convert:
4c2db77bc2802fe5cee62f10851929a9c15829b6
Message:

Added list views in Select Attributes (Mk2) to _guiElements list to enable automatic testing of attribute selection.
Added a rule for interaction with QListView in widget testing scripts.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orange/OrangeWidgets/Prototypes/OWDataDomainMk2.py

    r9236 r9254  
    434434        self.data = None 
    435435        self.original_completer_items = [] 
    436          
     436 
    437437        self.resize(500, 600) 
     438         
     439        # For automatic widget testing using 
     440        self._guiElements.extend( \ 
     441                  [(QListView, self.available_attrs_view), 
     442                   (QListView, self.used_attrs_view), 
     443                   (QListView, self.class_attrs_view), 
     444                   (QListView, self.meta_attrs_view), 
     445                  ]) 
    438446         
    439447    def set_data(self, data=None): 
Note: See TracChangeset for help on using the changeset viewer.