[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

@@ -41,17 +41,15 @@ protected:
constexpr static int k_maxNumberOfRows = 10;
static constexpr const KDFont * k_font = KDFont::SmallFont;
void setupAbscissaCellsAndTitleCells(InputEventHandlerDelegate * inputEventHandlerDelegate);
void setupSelectableTableViewAndCells(InputEventHandlerDelegate * inputEventHandlerDelegate);
StackViewController * stackController() const;
bool setDataAtLocation(double floatBody, int columnIndex, int rowIndex) override;
virtual void updateNumberOfColumns() const;
virtual FunctionStore * functionStore() const;
virtual Ion::Storage::Record recordAtColumn(int i);
int numberOfElementsInColumn(int columnIndex) const override;
SelectableTableView * selectableTableView() override { return &m_selectableTableView; }
mutable int m_numberOfColumns;
mutable bool m_numberOfColumnsNeedUpdate;
SelectableTableView m_selectableTableView;
private:
virtual void setStartEndMessages(Shared::IntervalParameterController * controller, int column) = 0;
Responder * tabController() const override;