Ignore:
Timestamp:
07/02/13 15:23:49 (10 months ago)
Author:
Ales Erjavec <ales.erjavec@…>
Branch:
default
Message:

Refactored widget state messages handling.

Moved the resposibility for handling messages (OWBaseWidget.widgetStateChanged)
to WidgetsScheme.

Added support for messages in base SchemeNode class.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Orange/OrangeCanvas/canvas/scene.py

    r11558 r11614  
    333333        node.progress_changed.connect(item.setProgress) 
    334334        node.processing_state_changed.connect(item.setProcessingState) 
     335        node.state_message_changed.connect(item.setStateMessage) 
    335336 
    336337        return self.add_node_item(item) 
     
    388389        node.progress_changed.disconnect(item.setProgress) 
    389390        node.processing_state_changed.disconnect(item.setProcessingState) 
     391        node.state_message_changed.disconnect(item.setStateMessage) 
    390392 
    391393        self.remove_node_item(item) 
Note: See TracChangeset for help on using the changeset viewer.