Blame view

build2/epsilon-master/apps/statistics/calculation_selectable_table_view.cpp 433 Bytes
6663b6c9   adorian   projet complet av...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
  #include "calculation_selectable_table_view.h"
  
  namespace Statistics {
  
  bool CalculationSelectableTableView::handleEvent(Ion::Events::Event event) {
    if (event == Ion::Events::Up && selectedColumn() == 0 && selectedRow() == 1) {
      return false;
    }
    if (event == Ion::Events::Left && selectedColumn() == 1 && selectedRow() == 0) {
      return selectCellAtLocation(0, 1);
    }
    return SelectableTableView::handleEvent(event);
  }
  
  }