[apps/graph] Copy/Cut events on the values controller turn the "(1;3)"

notation into "[[1][3]]" in order to create a matrix layout when paste
into a layout field
This commit is contained in:
Émilie Feral
2019-09-26 10:35:11 +02:00
committed by LeaNumworks
parent c982b4c452
commit ff6eb7525f
6 changed files with 64 additions and 11 deletions

View File

@@ -10,6 +10,7 @@ namespace Sequence {
ValuesController::ValuesController(Responder * parentResponder, InputEventHandlerDelegate * inputEventHandlerDelegate, ButtonRowController * header) :
Shared::ValuesController(parentResponder, header),
m_selectableTableView(this),
m_sequenceTitleCells{},
m_floatCells{},
m_abscissaTitleCell(),
@@ -30,7 +31,7 @@ ValuesController::ValuesController(Responder * parentResponder, InputEventHandle
for (int i = 0; i < k_maxNumberOfSequences; i++) {
m_sequenceTitleCells[i].setOrientation(Shared::FunctionTitleCell::Orientation::HorizontalIndicator);
}
setupAbscissaCellsAndTitleCells(inputEventHandlerDelegate);
setupSelectableTableViewAndCells(inputEventHandlerDelegate);
}
KDCoordinate ValuesController::columnWidth(int i) {