Commit Graph

95 Commits

Author SHA1 Message Date
Émilie Feral
7a4ee746b2 [escher] TextField: call reinitDraftBuffer after edition is complete to
avoid erasing text that is required later.

Fix bug: OK handling on function list in linear mode did not copy the
function expression into the textfield before editing
2019-07-30 11:47:42 +02:00
Ruben Dashyan
44809f4b3f Substitute Escher app() by Container::activeApp() 2019-07-19 15:06:25 +02:00
Ruben Dashyan
055d601854 [apps] Define TextFieldDelegate::textFieldDelegateApp() directly from ::app() 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
Ruben Dashyan
eb3da7f395 [apps] Substitute "app()->container()" by "AppsContainer::sharedAppsContainer()" 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
c5f86e136b [apps] Delete unused ListController 2018-11-23 12:04:01 +01:00
Émilie Feral
0fbab2f35c [apps] Get rid of DynamicViewController 2018-09-07 17:55:42 +02:00
Léa Saviot
acc49412f1 [apps/escher] EvenOddExpressionCell has left and right margins 2018-06-12 15:50:50 +02:00
Émilie Feral
67cddf554d Merge branch 'lea-statistics' into upgrade-1.6.0 2018-06-12 10:25:54 +02:00
Émilie Feral
ad6c985111 [solver] ExpressionCell are EvenOddExpressionCell rather than former
ModelExpressionCell
2018-06-08 15:13:50 +02:00
Émilie Feral
021262e3aa [apps] Split List Controller in Expression Model List Controller and
Function List Controller (factorize code for future solver app)
2018-06-07 13:46:17 +02:00
Émilie Feral
e05709f097 [shared] Factorize FunctionStore in ModelStore<T> (for future
implementation of equation store)
2018-06-07 13:46:17 +02:00
Émilie Feral
e160282e06 [escher] Change the function expression cell to inherit from
even odd expression cell
2018-06-07 13:46:17 +02:00
Léa Saviot
b1e732e135 [apps] Color Series names if not empty in Statistics 2018-05-29 15:34:49 +02:00
Léa Saviot
4ad3adaab2 [apps/escher] Changed setExpression to setExpressionLayout.
Change-Id: I095a12868fd7eaf8d4eb2408617941a86f43e1ee
2018-01-15 11:58:01 +01:00
Léa Saviot
57633829a9 [code] Split the Menu Controller in two columns.
The scripts names are on the right and open the script edition.
The left cells open the script options.

Change-Id: I3fbab8c3861f3395c3206775c92cda3470963b26
2017-11-17 14:05:23 +01:00
Émilie Feral
5c4740913b [kandinsky] Replace KDText::stringSize(" ") by KDText::charSize()
Change-Id: Ie962d7784b54ff41431d21f64d9af0887a86f9b7
2017-08-17 16:21:17 +02:00
Émilie Feral
bf2a2971ab [apps/sequence][apps/graph] Avoid blinking when deleting functions
Change-Id: I820358f4968e65a54162d16f732bd51e19aca4ad
2017-05-10 13:34:49 +02:00
Émilie Feral
4e0e285501 [apps][escher] EXE and OK trigger the same behaviour
Change-Id: Ide7d38fbc445be717e50ed46f2d784c02c9830e4
2017-05-10 12:04:30 +02:00
Émilie Feral
96733dbbdc [apps] Rule of 5 (3)
Change-Id: Ia85b23a09e9debd62b4f3590463a4f16454ef4b7
2017-05-09 14:33:53 +02:00
Émilie Feral
62c93e49a6 [apps] AppsContainer does not own the apps but a pointer to the apps
Change-Id: I9b6787be2cd143b52fd8dd60f3528fed2f74e4bb
2017-05-03 15:32:54 +02:00
Émilie Feral
70fc734f7b [escher] Change dynamic view controller paradigm
Change-Id: I57fd41c9b9ad8a1e8b684b97fdf80ddffd71881d
2017-05-03 14:22:51 +02:00
Émilie Feral
9295a5f107 [apps/sequence][apps/graph] Make list controller a dynamic view
controller

Change-Id: I1c6036861bddcb45169bb6c71f75c90ffd949a44
2017-04-21 10:08:04 +02:00
Émilie Feral
30c035cdb2 [apps/sequence][Apps/graph] Delete function row when clicking on del
Change-Id: I7dfc8261aa63161b061fc7eaf32f57263fee7a72
2017-04-18 10:28:03 +02:00
Émilie Feral
024e55abeb [apps][escher] Delete magic numbers
Change-Id: If7a589d9f02895fc1b2e8b496133ab11381e733c
2017-04-14 18:30:58 +02:00
Émilie Feral
adc80cd71b [apps][escher] I18n
Change-Id: I4d6f40155a8a182184af9ef2a583d0469196ffd5
2017-03-16 15:12:12 +01:00
Émilie Feral
b36e5dc67c [escher] Generelize header view controller to button row controller and
use it to add two buttons: "tracer" "afficher valeurs"

Change-Id: I8ee9afec9e381de367133e6b3f5ceb738b9790ab
2017-03-07 13:28:26 +01:00
Émilie Feral
6d47bc0073 [apps/shared] Add a method symbol in function store
Change-Id: I9f85f815d3ab28425d4df77b6ff4880efde17909
2017-03-02 18:15:48 +01:00
Émilie Feral
cfd518283f [apps/shared] In list controller, factorize handle event
Change-Id: I0e00f1cf3b217782ec6f858d60954733e2be5276
2017-02-20 10:54:03 +01:00
Émilie Feral
828e4795b9 [apps/sequence][apps/graph]Correct bug: Enable to edit the last added function by
clicking on a text event

Change-Id: I03fa5f45febb1241290612cf25008026631c91e6
2017-02-20 10:54:02 +01:00
Émilie Feral
2e16365100 [escher] Reorganize all cells'name and factorize their layouts
Change-Id: I69900ee98ff6a6868f96d70a0e335a589ef16c3f
2017-02-20 10:54:02 +01:00
Émilie Feral
51c33b0a5b [apps/sequence] Redesign list controller
Change-Id: If114a643b0f682e98076cf1ec9f4479b3dafdfa6
2017-02-20 10:52:02 +01:00
Émilie Feral
f605963588 [apps/graph/list] Simplify funciton expression cell to be used by
sequence

Change-Id: I12f5e15c10544294292866b395066bc675b26067
2017-02-20 10:52:02 +01:00
Émilie Feral
6b524737b4 [apps/graph] Change name: function->cartesian_function
Change-Id: I138bd13fec8514144cfde7164ec9aff081454609
2017-02-20 09:39:25 +01:00
Émilie Feral
6f138e6b1c [escher] Add methods viewWillAppear/Disappear in view controller instead
of keeping track of dataHasChanged in the selectable table view

Change-Id: Id2626f527f44714e29b9bd66e2c843193e1b57b5
2017-02-17 16:35:07 +01:00
Émilie Feral
4ba14c8597 [apps/sequence] Personalize the button "add a function" for sequence app
Change-Id: Ie84757feec57a934c80573ad24b71e868c0d7b81
2017-02-16 16:34:12 +01:00
Émilie Feral
607d9c00bf [apps/sequence/list] Display the list parameter when clicking on the
sequence name

Change-Id: I09deb2f19e35af3b44e33b94310c26a9f5e7706d
2017-02-16 16:34:11 +01:00
Émilie Feral
08a663a64f [apps/sequence] Do no add a new function as long as the user did not
choose a type

Change-Id: I67c3172b416d7d80a3bd9a4eb18091ab72626e4b
2017-02-16 14:46:04 +01:00
Émilie Feral
0f4d7f0914 [apps/shared][apps/graph][apps/sequence] Reorganise list controllers,
function title cells and function expression cells

Change-Id: Idbdae4975c8ed83a023c781dc14929b8c2053bb0
2017-02-16 14:46:04 +01:00
Émilie Feral
9d6a945fbe [apps] Switch to mode editing when clicking on toolbox or variable box
Change-Id: Iff6a00234ac95c6519fba8046149d2f645f8ca86
2017-02-16 14:46:04 +01:00
Émilie Feral
20c13c172c [apps/shared] Do no display button to add a new cell when the maximum
number of functions is reached

Change-Id: I0717998ee3ae9ca575462ee0139182c698ea6c02
2017-02-16 14:45:59 +01:00
Émilie Feral
9a4873a3ec [apps/shared] Move part of apps/graph/list/list_controller to the shared
folder to be used by sequence

Change-Id: I3b2235d4869f7e589bad1fb31334d04c80e40dc3
2017-02-13 17:15:08 +01:00
Émilie Feral
0478817040 [apps/shared] Move apps/graph/list/function_expression_cell in shared
folder to be used by sequence

Change-Id: I4a019c322cc7cb864479b200ee56d05234f5491c
2017-02-13 17:15:07 +01:00
Émilie Feral
44317d5c95 [apps/shared] Move apps/graph/list/parameter_controller to shared/
folder to be used by sequence

Change-Id: I33d245c819ceb01bf5b0b277a0faebfc99a66c68
2017-02-13 17:15:07 +01:00
Émilie Feral
a6ee2c6ef0 [apps/graph/list] Clean
Change-Id: I2404c746b71a83b52f5d78a7bac4f76179868ef8
2017-02-13 17:15:07 +01:00
Émilie Feral
8b5e2be1b7 [escher] In selectable table view, avoid reloading all table cells when
not required

Change-Id: I31bdb1567eed6ebaa839672df61472994ab89b05
2017-02-06 16:30:41 +01:00
Émilie Feral
9d0354f3bd [kandinsky] Add a default font size : large
Change-Id: I6b9f1a7b09292f120074c8957e328ddc33023c67
2017-01-27 12:03:06 +01:00
Émilie Feral
a2a7f7883c [apps] Do not display the scroller in function list and store controller
Change-Id: I5b1551ec057c428b70e2d15eeaee25029127c5c6
2017-01-27 11:51:51 +01:00
Émilie Feral
d45000b3d9 [escher] In palette, improve colors
Change-Id: I2c8f33764cf2befeb994b9b47b46d39f116ae96c
2017-01-27 11:46:05 +01:00