Commit Graph

788 Commits

Author SHA1 Message Date
Léa Saviot
8fdad3aed8 [apps/graph] Remove unneeded vertical scroll bar 2019-09-05 17:32:47 +02:00
Léa Saviot
3014e8c3ca [apps/graph] Shorter messages and margins
To fit if the interval is -9.9E30..-9.8E29, in the parameter controller
2019-09-05 17:19:16 +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
Ruben Dashyan
86768b2eec [apps/*/go_to_parameter_controller] Remove I18n::Message parameter from constructor 2019-09-05 11:58:51 +02:00
Ruben Dashyan
8a2ceb0440 [apps/*/go_to_parameter_controller] Use setParameterName 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
Émilie Feral
aa1d1165e8 [apps/graph] Fix function name edition: the cursor is positioned right
after the '(' (bug due to the fact that θ takes 2 bytes)
2019-09-05 09:37:23 +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
a565cb32b9 [apps] Move interval from FunctionApp to derived classes 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
Émilie Feral
ed2a15dd03 [apps/graph] Enable infinite values as domain bounds for cartesian
functions
2019-09-03 16:21:28 +02:00
Émilie Feral
dba9912bbe [apps/graph] ListParameterController: display only 2 significant digits
on the definition domain
2019-09-03 16:21:28 +02:00
Léa Saviot
7265c369d3 [apps/graph] Replace magic number 2019-09-03 15:39:45 +02:00
Émilie Feral
3a47793f2d [apps/graph] DomainParameterController is a floatParameter controller
instead of a double one
2019-09-03 15:34:35 +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
bb7fa9dfe6 [apps/graph/i18n] Add x, t, θ interval 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
8053e683c0 [apps/*/function_app] Inline inputViewController getter in header 2019-09-03 14:49:26 +02:00
Léa Saviot
4ecf6835e7 [apps] Code cleaning 2019-09-03 14:21:14 +02:00
Léa Saviot
c3ee6a71e7 [apps/graph] Fix computeYRange for polar/cartesian functions
Was very slow, compute only 1000 values to evaluate the yRange
2019-09-03 14:21:14 +02:00
Léa Saviot
a4099c4c3e [apps/graph] xAuto and YAuto for polar/param 2019-09-03 14:21:14 +02:00
Léa Saviot
18a458bae5 [apps/graph] init Range to -5..5 if polar/param 2019-09-02 17:56:56 +02:00
Émilie Feral
beac710e0e [apps/graph] Do not restrain the cursor to the domain of definition in
the Graph
2019-09-02 16:55:40 +02:00
Émilie Feral
a7285ba1ca [apps/graph] Implement defaultCursorT for FunctionGraphController 2019-09-02 16:55:39 +02:00
Émilie Feral
f017ac014d [apps/graph] GraphController: when moving cursor vertically (on non
cartesian functions), going down increases the function index (to mimic
their vertical order in the function list)
2019-09-02 16:55:39 +02:00
Émilie Feral
6de497c2ed [apps/shared] Templatize FloatParameterController to handle float/double
parameters.

Fix bug: when entering "e^234" as a parameter of a model keeping floats,
the FloatParameterController would accept the number (because e^234 is
defined in double) and store an undefined value in the model (because
e^234 is undefined in float).
2019-09-02 16:55:39 +02:00
Léa Saviot
c6fb5e5dfa [apps/graph] Pop twice after plot type change 2019-09-02 11:12:18 +02:00
Émilie Feral
0f43a04225 [apps/graph] Implement move cursor vertically on graph with
parametric/polar curves
2019-08-30 17:15:12 +02:00
Émilie Feral
2d5b60640d [apps/shared] Fix InteractiveCurveViewController::moveCursorVertically
for Sequence and Regression (add a TODO for Graph)
2019-08-30 17:14:26 +02:00
Léa Saviot
8b7e243d2d [apps/graph/list] Handle right event to open submenu 2019-08-30 16:05:29 +02:00
Léa Saviot
fa413edc61 [apps/graph] fix banner view for polar and parametric 2019-08-30 15:04:27 +02:00