Émilie Feral
aaa20a58fa
[poincare] Implement SerializationHelper and
...
SerializationHelperInterface. WriteTextInBuffer->serialize
2018-08-08 15:31:40 +02:00
Émilie Feral
cb4bb4f8f0
[poincare] Engine-->Helper and break LayoutHelper into LayoutHelper and
...
SerializationHelper
2018-08-08 14:00:52 +02:00
Léa Saviot
fba21344b1
[poincare] Put margins in sequence list
2018-07-19 10:16:31 +02:00
Léa Saviot
d890168241
[poincare] Change all subscripts font-size to base layout font-size
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
5b67269e72
[poincare] Fix SequenceToolbox special cells display when scrolling
...
When scrolling from "v(n+1)" to "abs(x)", the "v(n+1)" cell disappeared
2018-07-19 09:55:46 +02:00
Émilie Feral
e61a408a0a
[poincare] Get rid of AngleUnit::Default
2018-07-18 17:09:07 +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
0b51b6e4fe
[solver][graph][sequence] Force input edition when adding a new
...
Function/Sequence/Equation
2018-06-07 13:46:17 +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
837e0694d1
[shared] Remove New Function Cell class which is a duplicate of Even Odd
...
Message Text Cell
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
Émilie Feral
58d10403e2
[apps/sequence] Fix maxFirstIndex for double recursive sequences
2018-05-17 17:32:55 +02:00
Émilie Feral
8541c2cb7e
[sequence] Add a pop-up when the user tries to set the first term
...
index to a value above 1000
2018-05-17 15:39:14 +02:00
Léa Saviot
3b582a2e46
Merge branch 'SaisieJolie30Apr' into SaisieJolie8May
...
Change-Id: Ia4196119fc56c5bc3423aea752b49f3f7ba39499
2018-05-08 15:17:51 +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
Romain Goyet
84561a929f
[escher] Clean the ScrollView, TableView and SelectableTableView constructors
2018-04-18 18:08:07 +02:00
Léa Saviot
0fcd2a90f6
[apps] Fix comment aesthetics
...
Change-Id: I3e91391f0751515efe50ec4e4335a2421f2acbee
2018-04-11 17:11:05 +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
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
Léa Saviot
95f859ce80
[apps/sequence] Set sender for sequence toolbox.
...
Change-Id: I3fe78127273083fb4f8f680ea3e6394f99913a12
2018-01-26 11:55:04 +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
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
e29691e1f1
[apps/sequence] Fix the insertion of sequence terms in text fields.
...
For instance, the serialization of the V_n layout is "v_{n}", which is
what we want to insert in an EditableExpressionView, but not in a Text
Field for which we want "v(n)".
Change-Id: Iab38058d982322891b530b3afd2d303a266643f9
2018-01-19 17:31:37 +01:00
Léa Saviot
251c4d01af
[apps/sequence] Fix math_toolbox wrong functions calls.
...
Change-Id: I0b7871e87ea64ef9fbd008d9fb3e6d4cce2e97ca
2018-01-19 17:04:50 +01:00
Léa Saviot
a435c548da
[apps/sequence] Use the new layouts in the Sequence app.
...
Change-Id: I8b079bfabccd54472e0ba0fac17b87dbaf3678ee
2018-01-15 11:58:07 +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
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