Commit Graph

88 Commits

Author SHA1 Message Date
Romain Goyet
84561a929f [escher] Clean the ScrollView, TableView and SelectableTableView constructors 2018-04-18 18:08:07 +02:00
Léa Saviot
3e66d51a6e [apps/sequence] Reset first rank when changing sequence type to Explicit
Change-Id: I3f356ebf95f1f81ab4601f0654166f146a505c27
2018-04-09 14:44:20 +02:00
Émilie Feral
aade7cb2fe [escher] Create a class TextInput (from which derived TextField,
TextArea)
2018-03-22 13:12:12 +01:00
Émilie Feral
576caa039f [apps][escher] Add methods 'handleEventWithText' in TextField and
TextArea to fix bug in probability (adding a toolbox text from the
calculations controller)
2018-03-22 13:12:12 +01:00
Émilie Feral
7026abdc5c [apps] Sequence: fix toolbox handleEvent 2018-02-14 12:04:18 +01:00
Émilie Feral
9443fcb043 [apps] Sequence: in the toolbox, update the extra-cells when updating
the hold layout to avoid unvalid read
2018-01-25 15:48:35 +01:00
Émilie Feral
479d86a38e [apps] Sequence: when setting a next first term index, forbid negative
index
2018-01-25 15:48:23 +01:00
Émilie Feral
945d6df444 [apps] Fix typo: Explicite->Explicit 2017-12-20 17:41:03 +01:00
Émilie Feral
509ee874b4 [apps] In sequence: enable to change initial sequence index 2017-12-20 17:41:03 +01:00
Émilie Feral
45908263ff [apps] Sequence: add other sequence shortcuts in toolbox call from the
list controller
2017-12-20 17:41:03 +01:00
Émilie Feral
80defaad50 [apps] Sequence: reload table data when displaying the type parameter
controller to update the sequence name
2017-12-20 17:41:03 +01:00
Émilie Feral
cb754ab6d5 [apps] Sequence: invalidate the context cache when the sequences are
redefined
2017-12-20 17:41:03 +01:00
Émilie Feral
032cafdb04 [apps] Sequence: enable to defined dependent sequences 2017-12-20 17:41:03 +01:00
Émilie Feral
15610064fa Coverity: fix unitialized pointer fields, out of bounds reads ...
Change-Id: Iae0656ffe667692dfb3bebf9bb7913b5872175c6
2017-12-06 14:50:26 +01:00
Léa Saviot
bc4d2768d0 [escher/code] Cleaned Toolbox rowHeight().
Now it is set in escher/toolbox.h, with value 40 and no differentiation Node/Leaf.

Change-Id: I0809d87a5df5b8bffe201c9faf72ff901430cbe5
2017-12-01 12:06:05 +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
Léa Saviot
eadf4a018a [escher] New handling of stack view headers in StackViewController.
A boolean in ViewController states if the ViewController wants MaximumSpace (do
not show any stack view headers), or if it does not want to add its own title to
the stack view headers. If the ViewController's title is null, it is not added
to the stack view headers.
By default, ButtonRowControllers do not want to add their title (because they
are only used for now in TabViews, where the title is already displayed in the
tab).

Change-Id: I9e4c64b845262e4d44eb03cf769950f9c9e67a3a
2017-11-17 11:59:50 +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
26512a2229 [apps/sequence] Deselect table in when type paramater controller
disappears

Change-Id: I9390d34858740e9372c9576a0304453188e33d6c
2017-06-12 10:41:30 +02:00
Émilie Feral
cb2a790b66 [apps/sequence] Fix bug in sequence toolbox
Change-Id: I52dab30f183ad770a225643b5f0b7bd5104690ee
2017-06-05 13:54:20 +02:00
Émilie Feral
ce09d2f9c4 [apps] Event 'right' on chevron cells behaves as OK and 'left' on the
next cell as 'back'

Change-Id: I2470659d8237373b21ad106c79cc5f8945f0edb5
2017-06-02 14:07:56 +02:00
Émilie Feral
af4d6b6e81 [escher] Divide class selectable table view delegate in 2: selectable
table view data source & selectable table view delegate

Change-Id: I90fbd61e271db3754c13bd0069b95c2026de6814
2017-05-18 14:16:41 +02:00
Émilie Feral
61681c6878 [apps/sequence] When changing the type of a sequence, jumpt directly to
the list controller

Change-Id: I66393fbc8caae3e8a11f52304ea0bc1e28cf8001
2017-05-10 16:30:41 +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
9b119942a2 [apps] Cap the size of stores (memory issue)
Change-Id: I69dbb593b42615d601b0adcf7580c740ecd22e4b
2017-05-09 17:00:32 +02:00
Émilie Feral
95396ded15 [apps/sequence] Changing sequence type automatically reinit sequence
Change-Id: I1342f5a2a8ca5dd4ff02178c3b2d6c6f44a8c194
2017-05-09 14:54:44 +02:00
Émilie Feral
96733dbbdc [apps] Rule of 5 (3)
Change-Id: Ia85b23a09e9debd62b4f3590463a4f16454ef4b7
2017-05-09 14:33:53 +02:00
Émilie Feral
d8f7e2f41d [apps/sequence] Initiate variable
Change-Id: I6fafaf8ed3f5d8ea8a2695263e075201c4e88ac7
2017-05-05 10:19:05 +02:00
Émilie Feral
ad8501e46c [apps/sequence] Non-initialized variable
Change-Id: Iaca7e1117d1a15fce08ebea13f58233abf9196a6
2017-05-05 10:19:05 +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
847a8e02e7 [apps/sequence||graph] Improve hiding of function color
Change-Id: I658fe107413dc500b526b3a13bc3ab19202a7a04
2017-05-03 14:22:51 +02:00
Émilie Feral
0517066cc0 [escher] Extrude scroll view model to its delegate
Change-Id: If863de63f5f77edb5e2905633067e03aecdd8937
2017-05-03 10:22:01 +02:00
Émilie Feral
3f98061a4c [escher] Extrude the model in selectable table view controller to its
delegate

Change-Id: I4d49e0098d501e1419f7b216e828b13efbf74f81
2017-05-03 10:22:01 +02:00
Émilie Feral
2ce50b761b [apps/sequence][apps/list] Hide the function color choice
Change-Id: I1bcb5092ab278b1c557890768cf0dabf9b178935
2017-04-26 09:39:15 +02:00
Émilie Feral
e2bba16738 [apps/graph] [apps/sequence] Implement copy paste
Change-Id: I7e33e24565b18e771ec530c74fb2a74ade5c3c85
2017-04-25 16:59:35 +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
024e55abeb [apps][escher] Delete magic numbers
Change-Id: If7a589d9f02895fc1b2e8b496133ab11381e733c
2017-04-14 18:30:58 +02:00
Émilie Feral
db7aeba16a [apps/sequence] Fix bug: confusing rows and columns
Change-Id: I7fd6a620ab8e950342aad67a302657f974dced44
2017-03-29 18:36:46 +02:00
Émilie Feral
6d8d105d7e [escher][apps] Clean and fix bug in text field
function application)

Change-Id: I5d425ea7752a054ea6b05735b12442c4429f13b4
2017-03-29 15:04:37 +02:00
Émilie Feral
d1b382b23d [apps/sequence] Fix bug in type change
Change-Id: I5240ce17168c2b870fcea456dbfc091e2fddd8bc
2017-03-29 11:35:30 +02:00
Émilie Feral
b1fb4f5393 [escher] Correct commit : Enable to draw the outline of cells in table
view

Change-Id: If2eadc0b9987678c0ccc56401bd46835d861a436
2017-03-16 17:35:43 +01:00
Émilie Feral
1f21251011 [escher] Change name: pointer->message
Change-Id: I0bd7a7d8da047b03342bec1ff31f29ad7efcc2f6
2017-03-16 15:12:12 +01:00
Émilie Feral
adc80cd71b [apps][escher] I18n
Change-Id: I4d6f40155a8a182184af9ef2a583d0469196ffd5
2017-03-16 15:12:12 +01:00
Émilie Feral
406fc0e0a5 [escher] Enable to draw the outline of cells in table view
Change-Id: I2842e9fdada4ebdc3fe49608e6f7886d831aa98b
2017-03-16 15:12:11 +01:00
Émilie Feral
7406e0d775 [apps][escher] Do not forget to delete dynamic objects when reassigning
then or destructing them

Change-Id: If2b4de460163bf187152389e419d87329b83fc39
2017-03-07 15:03:11 +01:00
Émilie Feral
78de0de16a [apps/sequence] Change name: addCells->setExtraCells
Change-Id: I1d19283fe2997668e78e91881f31f28efcbffe66
2017-03-07 14:37:54 +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
a126a9ad0b [apps/sequence] In sequence toolbox, do not suggest other sequence terms
Change-Id: Ia85b04cdcdcfbc74615652144ae3aacf4e5f6f4e
2017-03-07 13:28:26 +01:00