Example #1
0
 def select_field_on_mouse_move(evt, po_fields, image_panel, table):
     field_before = image_panel.selected_field
     image_panel.set_po_fields(po_fields)
     ImageWithElements.on_mouse_move(image_panel, evt)
     field_after = image_panel.selected_field
     if field_after and field_after != field_before:
         row = po_fields.index(field_after)
         table.select_row(row)
Example #2
0
 def select_field_on_mouse_move(evt, po_fields, image_panel, table):
     field_before = image_panel.selected_field
     image_panel.set_po_fields(po_fields)
     ImageWithElements.on_mouse_move(image_panel, evt)
     field_after = image_panel.selected_field
     if field_after and field_after != field_before:
         row = po_fields.index(field_after)
         table.select_row(row)