Commit Graph

220 Commits

Author SHA1 Message Date
Léa Saviot
4caf9f5197 [coding style] Make some methods const 2019-09-09 20:05:14 +02:00
Léa Saviot
a50c1aafbf [apps/shared] Separable class 2019-09-09 19:10:17 +02:00
Léa Saviot
8726f1d621 [apps/graph] Display parametric name in the middle of values cell 2019-09-05 15:43:55 +02:00
Ruben Dashyan
00b1320eb6 [apps/graph/values_controller] Fix text in hidden cells 2019-09-05 15:10:36 +02:00
Léa Saviot
6b25060dc5 [apps/graph] Put parameter name in interval controller
For instance:
X Start ...
X End ...
Step
2019-09-05 14:54:59 +02:00
Léa Saviot
f867019928 [apps/graph] Handle only 1 type of curve in set the interval button 2019-09-05 14:54:28 +02:00
Ruben Dashyan
aa5c5219da [apps/*/values_controller] Set correct parameter message 2019-09-05 11:58:51 +02:00
Léa Saviot
3a0f883838 [apps/graph] Fix cell colors in values
Scenario: add two functions with different plot types. Scroll to the
bottom of the table, delete some vlaues then scroll up and down
2019-09-05 11:16:09 +02:00
Léa Saviot
58ac80783a [apps/graph] Handle navigation on hidden cells 2019-09-05 10:49:43 +02:00
Léa Saviot
af3d1456e0 [apps/graph] Hideable cells in values controller 2019-09-05 10:25:01 +02:00
Ruben Dashyan
f70fb98a23 [apps/graph/values/interval_parameter_selector_controller] Hide irrelevant rows
Hide those rows corresponding to plot types, not used by any function
in the store.
2019-09-04 17:44:49 +02:00
Léa Saviot
811768dcc2 [apps/graph] Fix missing const_cast 2019-09-04 15:25:41 +02:00
Ruben Dashyan
48be600d89 [apps/graph] App holds an Interval for each plot type 2019-09-04 15:07:40 +02:00
Ruben Dashyan
b522131efd [apps/graph/values/interval_parameter_selector_controller] Add all intervals to list 2019-09-04 15:07:40 +02:00
Ruben Dashyan
a8b469cc65 [apps/graph/values_controller] Factor with plotTypeAtColumn 2019-09-04 15:07:40 +02:00
Ruben Dashyan
157edcd18c [apps/*/values_controller] Get interval from App according to column index 2019-09-04 15:07:40 +02:00
Ruben Dashyan
7ef63f2c61 [apps] IntervalParameterController::m_interval is set right before the controller appears
and not at controller's construction.
2019-09-04 15:07:40 +02:00
Léa Saviot
6fb7d74e4d [apps/graph] Values are correcty computed in the values tab 2019-09-04 14:21:06 +02:00
Léa Saviot
f4bbab76ed [apps/graph] Margins in values title cells 2019-09-04 13:43:37 +02:00
Léa Saviot
9120e17009 [apps/graph] Correct parameter name 2019-09-03 17:32:04 +02:00
Léa Saviot
ea586d1ac5 [apps/graph] Add margins in values
+ Fix parameter titles
2019-09-03 17:32:04 +02:00
Léa Saviot
7265c369d3 [apps/graph] Replace magic number 2019-09-03 15:39:45 +02:00
Léa Saviot
a3b59a585c [apps/values_controller] Cell types naming for typeAtLocation 2019-09-03 15:33:37 +02:00
Ruben Dashyan
7ff8fdf44f [apps/graph/values_controller] Split table into three pieces 2019-09-03 15:05:53 +02:00
Ruben Dashyan
90014f0062 [apps/graph/values] Add IntervalParameterSelectorController 2019-09-03 14:49:26 +02:00
Ruben Dashyan
4fdc7c60c2 [apps/*/values_controller] Make intervalParameterController() public 2019-09-03 14:49:26 +02:00
Ruben Dashyan
dd0be4471c [apps/*/values_controller] Move m_setIntervalButton to derived classes 2019-09-03 14:49:26 +02:00
Ruben Dashyan
634e812806 [apps] Shared::ValuesParameterController gets the IntervalParameterController through FunctionApp 2019-09-03 14:49:26 +02:00
Ruben Dashyan
5effb5f6b2 [apps/*/values_controller] Inline intervalParameterController getter in header
and make it private
2019-08-29 13:51:49 +02:00
Ruben Dashyan
c0197f3b01 [apps] ValuesParameterController page title may be set dynamically 2019-08-29 13:51:49 +02:00
Ruben Dashyan
580f0f79f5 [apps/graph/values_controller] Define numberOfColumnsForRecord 2019-08-29 13:51:49 +02:00
Ruben Dashyan
b0d7344d6b [apps/graph/values_controller] Clean handling of (in)active functions 2019-08-29 13:51:49 +02:00
Ruben Dashyan
fce39adb8b [apps/graph/values_controller] Remove the isDerivativeColumn method
and fill instead a boolean isDerivative through recordAtColumn.
2019-08-29 13:51:49 +02:00
Ruben Dashyan
4a0746fd44 [apps/graph/values_controller] functionParameterController() returns the derivative controller
when a derivative function column is selected.
Remove configureDerivativeFunction and handleEvent.
2019-08-29 13:51:49 +02:00
Ruben Dashyan
6bee336349 [apps/*/values_controller] functionParameterController() returns a ViewController * 2019-08-29 13:51:49 +02:00
Ruben Dashyan
04fcc0eac4 [apps/*/editable_cell_table_view_controller] Use typeAtLocation 2019-08-29 13:51:49 +02:00
Léa Saviot
c71ef7ff79 [apps/graph] Evaluation methods renaming 2019-08-29 11:07:22 +02:00
Léa Saviot
28a721e96e [apps] Start fixing apps as cursor has new member variable 2019-08-29 11:07:22 +02:00
Ruben Dashyan
b665e841ad [apps] Remove arg parameter in Shared::Function::nameWithArgument and Shared::CartesianFunction::derivativeNameWithArgument 2019-08-29 11:07:21 +02:00
Ruben Dashyan
4396a82452 [apps/*/values*function_parameter_controller] Get the symbol from the FunctionStore 2019-08-29 11:07:21 +02:00
Ruben Dashyan
eb6d697927 [apps] Make app accessors static members of App classes 2019-07-19 15:06:25 +02:00
Ruben Dashyan
44809f4b3f Substitute Escher app() by Container::activeApp() 2019-07-19 15:06:25 +02:00
Ruben Dashyan
3e992a3560 [apps] Replace app() by textFieldDelegateApp() in TextFieldDelegates 2019-07-19 15:06:25 +02:00
Romain Goyet
21907fb89a [apps] Get rid of App casts 2019-07-19 15:06:25 +02:00
Émilie Feral
578c65d5dd [shared] Clean class names containing storage 2019-05-03 15:53:20 +02:00
Émilie Feral
57da4ea618 [shared] Rename classes:
ExpressionModelHandle --> ExpressionModel
SingleExpressionModelHandle --> ExpressionModelHandle
StorageFunction --> Function
StorageCartesianFunction --> CartesianFunction
StorageFunctionApp --> FunctionApp
2019-05-03 15:53:20 +02:00
Émilie Feral
178a064c29 [apps/shared] ExpressionModelHandle: specify the symbol that is turned
into Unknown X in Derived classes
2019-05-03 15:53:20 +02:00
Émilie Feral
e40e626eec [graph] Values tab: select the right cell of the values table when
displaying/undisplaying the derivative column
2019-03-12 16:21:30 +01:00
Léa Saviot
be195ce70e [apps/graph] Fix storage pointers that expired 2018-11-23 12:04:04 +01:00
Émilie Feral
e8b58a2b5b [shared] Create ExpiringPointer: in DEBUG, check that pointers to
memoized functions are not used when invalid
2018-11-23 12:04:03 +01:00