Émilie Feral
01e433a9f2
[escher] Clean Field and Input class hierarchy:
...
Class hierarchy:
- InputEventHandler
- TextInput
- EditableField derives from InputEventHandler
- LayoutField, TextField and ExpressioField derives from EditableField
- TextArea and TextField derives from TextInput
2018-11-23 12:04:02 +01:00
Léa Saviot
21b214e60f
[apps] Build all apps
2018-11-23 12:04:01 +01:00
Émilie Feral
dcf88eae01
[sequence] Revert: when editing expression with other event than OK or
...
EXE, we do not want to edit the previous text but to override it
2018-10-08 13:16:40 +02:00
Da Costa Faro Rémy
9a58f25646
Reindent
2018-10-02 09:49:11 +02:00
Da Costa Faro Rémy
dd678fd66b
Fix sequence field
2018-10-02 09:49:11 +02:00
Émilie Feral
365b145cf3
[poincare] Change names: LayoutReference-->Layout
2018-09-18 16:29:44 +02:00
Émilie Feral
616e4c0bcc
[poincare] Change name: LayoutRef --> LayoutReference
2018-09-14 16:57:12 +02:00
Émilie Feral
0fbab2f35c
[apps] Get rid of DynamicViewController
2018-09-07 17:55:42 +02:00
Émilie Feral
b6b5821bb6
[sequence] Fix ListController with new Poincare API
2018-09-07 10:17:52 +02:00
Émilie Feral
30f83cde2c
[apps] Change names: ExpressionLayout -> Layout
2018-09-06 14:23:57 +02:00
Léa Saviot
fba21344b1
[poincare] Put margins in sequence list
2018-07-19 10:16:31 +02:00
Léa Saviot
63ebf895df
[apps/sequence] Change method name
2018-07-19 09:55:46 +02:00
Léa Saviot
acc49412f1
[apps/escher] EvenOddExpressionCell has left and right margins
2018-06-12 15:50:50 +02:00
Émilie Feral
ad6c985111
[solver] ExpressionCell are EvenOddExpressionCell rather than former
...
ModelExpressionCell
2018-06-08 15:13:50 +02:00
Émilie Feral
ac9da8d559
[escher] Handle copy/cut event on Expression in selectable table view
2018-06-07 14:46:14 +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
a5c50f8887
[apps] Fix function name that was the same as virtual function.
...
Change-Id: Idec43b9427571dbd5752ac551424447cbdb08d27
2018-04-25 13:58:42 +02:00
Léa Saviot
13ae1d2545
[apps/escher/toolbox] handleEventWithText for all responders.
...
This makes the code in the various toolbox more generic. The arguments
of the text to insert are each replaced by a Ion::Charset::Empty.
These Empty chars are used to create layouts in ExpressionLayoutFields,
and to compute the position of the cursor in other fields, before being
removed.
Change-Id: Ie81c1e394b06fef2ab801ccff919d6550f70ec30
2018-04-23 17:18:48 +02:00
Léa Saviot
22ab94209f
[apps/escher] Rename EditableExpressionView -> ExpressionField
...
Change-Id: Iadfb220ee94e68762305060215f1ead0cac951fb
2018-04-23 09:41:20 +02:00
Léa Saviot
31face58a2
[apps/escher] ScrollableEVWithCursor renamed ExpressionLayoutField
...
Change-Id: Id0e4610fb677d8ad36721eef1a85f1c424d1743e
2018-04-23 09:41:20 +02:00
Léa Saviot
749c93e1af
[apps/sequence] Fix obsolete code.
...
Change-Id: I4f6c1792ac245c072a3d70108a55518473c3fe80
2018-04-11 16:56:35 +02:00
Léa Saviot
c4b5d4cf40
Merge branch 'SaisieJolieRebase1201' into SaisieJolieMerge10Apr
...
Change-Id: I802dbb9f7c0eebf75a1b6cd21ddd194e89b53752
2018-04-10 17:21:54 +02:00
Émilie Feral
aade7cb2fe
[escher] Create a class TextInput (from which derived TextField,
...
TextArea)
2018-03-22 13:12:12 +01:00
Léa Saviot
95f859ce80
[apps/sequence] Set sender for sequence toolbox.
...
Change-Id: I3fe78127273083fb4f8f680ea3e6394f99913a12
2018-01-26 11:55:04 +01:00
Léa Saviot
4d778b5d9f
[apps/escher/poincare] Use 2D Edition in Sequence and Graph apps.
...
EditableExpressionView is renamed ScrollableViewWithCursor.
EditableExpressionView is now a View that displays either a TextField or
a ScrollableViewWithCursor, depending on Poincare::Preferences.
Change-Id: Id44ddcd9a83f5fd17d65753ca4c94c5c7cda9b8a
2018-01-23 10:28:02 +01:00
Léa Saviot
4ad3adaab2
[apps/escher] Changed setExpression to setExpressionLayout.
...
Change-Id: I095a12868fd7eaf8d4eb2408617941a86f43e1ee
2018-01-15 11:58:01 +01:00
Émilie Feral
945d6df444
[apps] Fix typo: Explicite->Explicit
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
cb754ab6d5
[apps] Sequence: invalidate the context cache when the sequences are
...
redefined
2017-12-20 17:41:03 +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
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
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
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
adc80cd71b
[apps][escher] I18n
...
Change-Id: I4d6f40155a8a182184af9ef2a583d0469196ffd5
2017-03-16 15:12:12 +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