Commit Graph

260 Commits

Author SHA1 Message Date
Émilie Feral
b8eba2c42a [apps/graph/graph] Make the cursor position belong to th emodel
"GraphWindow"

Change-Id: I8cdcda85f0e29e4b678829f39b8bd212cd8d1086
2017-01-09 15:08:54 +01:00
Émilie Feral
63376e100c [apps] Change method names in editable cell table view controller
Change-Id: Ife743d81a0a3293fbfb37c2ed1a5b1be4baf1b39
2017-01-09 15:08:54 +01:00
Émilie Feral
7d8a7527e6 [escher] Simplify the constructor of tab view controller
Change-Id: If430a627c451636e44e8d713f3a902cb5bdeed75
2017-01-09 15:08:54 +01:00
Émilie Feral
699ee7ddc5 [apps] CHange name in curve view:
evaluateCurveAtAbscissa->evaluateModelWithParameter

Change-Id: Iface679b85d20fc59e8197eb14b516ad86d97862
2017-01-09 15:08:54 +01:00
Émilie Feral
e8bb416bec [apps] In cuve view, always put KDContext and KDRect as first parameters
Change-Id: I606f6bbe798fba9c75cd98e8857cd020b0eb0ca0
2017-01-09 15:08:54 +01:00
Émilie Feral
924b0372d0 [escher][apps] Move value cell class to escher folder renamed even odd
buffer text view

Change-Id: I6c8b8fdcd90d2b6847ec94f65c4b2e64204b52ba
2017-01-09 15:08:54 +01:00
Émilie Feral
43ac44c1b6 [apps/graph/list] Fix error: Avoid editing the button add new function
Change-Id: I4999765eacef9e2bdac5aad467d0cc99d35de2e9
2017-01-09 15:08:54 +01:00
Émilie Feral
fd8613ac7a [apps/statistics] Redesign data API with Romain
Change-Id: I666125ae85e04311806379a4ec2255c256f253f2
2017-01-09 15:08:53 +01:00
Émilie Feral
453891c0da [apps] Factorize the method textFieldDidReceiveEvent in the abstract
class float parameter controller

Change-Id: I374e46664f6514246fff6378d97ae142c7130ca9
2017-01-09 15:08:53 +01:00
Émilie Feral
4d62c6c9bd [apps] Use curve view window in the abstract class curve view
Change-Id: I2c54cb111944f294e00d45244f23cdda9984bf02
2016-12-21 14:50:36 +01:00
Émilie Feral
2f3bfaf209 [apps/graph/graph] Make the model graph window inherit from curve view
window

Change-Id: I21a08f181725800937ec5ee043cc40a0ac301a6a
2016-12-21 14:50:35 +01:00
Émilie Feral
ba67ef4a2e [apps/graph/graph] Add a banner view in the graph view
Change-Id: Iafa0dcfc730911264d5b045c14bde54f432f53a2
2016-12-21 14:50:35 +01:00
Émilie Feral
30fb8307bc [apps/graph/graph] Create a class banner view
Change-Id: I76e4f1a4300f631bbd93855bc992beb81bc5fecf
2016-12-21 14:50:27 +01:00
Émilie Feral
59347f0c84 [apps/graph/values] Make values controller inherit from editable cell
table view controller

Change-Id: I9871d3a1ee062205c8db64ee60ee8aa68761bcd1
2016-12-20 09:31:55 +01:00
Émilie Feral
983905af59 [apps] Factorize app classes by creating a text field delegate app
Change-Id: Ic9c1ed5ba6eb620389cbe4a009f703ecbfe98c55
2016-12-19 17:30:29 +01:00
Émilie Feral
4b4aad556f [escher] Change even odd editable cell constructor
Change-Id: I2a4e5223e0806433e2e8ece998e0207dcab10e9e
2016-12-19 17:00:49 +01:00
Émilie Feral
77b9630086 [apps/graph/value] Use even odd editable pointer cell in values
controller instead of title cell

Change-Id: Ic6b2fa6dad45f4d56a6cf0a2d7708894a92c1a96
2016-12-19 17:00:49 +01:00
Émilie Feral
3cc4ebf83f [apps] Use even odd editable text cell in values controller
Change-Id: I8d5f6dc7656a50000849de85f5b3ba537756eaf1
2016-12-19 17:00:49 +01:00
Émilie Feral
31be51143b [escher] In tab view controller, enable a fourth tab
Change-Id: Ifffc59044146ea08f27d00b2c40c692554e609ba
2016-12-19 14:13:13 +01:00
Émilie Feral
c38adbd6c5 [apps] In curve view, add a boolean to decide whether to shift the
origin label

Change-Id: Id5701df32e08030cfd3a2c9e3f7fbc08fc1e2136
2016-12-16 15:15:55 +01:00
Émilie Feral
38b8c6dbd7 [apps] Change curve view API
Change-Id: I77984536d1a8b4197b02e2f005590537a46d8084
2016-12-15 13:51:41 +01:00
Émilie Feral
7af3979d3b [poincare] Change Context API
Change-Id: I2818866fb41bf73c39396fbd85600e586a79065c
2016-12-15 13:51:41 +01:00
Émilie Feral
bbe1b06eae [apps][escher] Use only one draftTextBuffer by controller (as you cannot
edit all cells at the same time)

Change-Id: Ifbc6e8c7b7f2dd17539666ed3b1253f1c28ef873
2016-12-15 13:51:40 +01:00
Émilie Feral
8c284ba34f [escher][apps] CHange textField API
Change-Id: I766d153b7f7429473f297707a08358051123accc
2016-12-15 13:51:40 +01:00
Émilie Feral
ca4b5d511a [apps/graph/graph] Optimize the redrawing of the graph view when only
the cursor has changed

Change-Id: I34fbe3d4599474ae821f508078d5236362260dc0
2016-12-15 13:51:32 +01:00
Émilie Feral
810fdde40e [apps/graph/graph] Modify the law model method panToMakePointVisible to return a
boolean

Change-Id: Ib61a7c96d3716cc25e03b056c1ed3864db82f60d
2016-12-13 15:10:03 +01:00
Émilie Feral
579da2384e [apps/graph/graph] In graphWindow, use constexpr to compute grid units
Change-Id: I4cb42e1eb13d6d16ffb7d6e373c6bf12d8ecbdbe
2016-12-13 15:10:03 +01:00
Émilie Feral
50513126d7 [apps/graph/graph] Delete antialiasing on cursor
Change-Id: If2f69c07997f8c8f6298cb64743a767747e4e72a
2016-12-13 15:10:03 +01:00
Émilie Feral
140e943021 [apps/graph/graph] Merge two redundant methods in graph view
Change-Id: Icc154656143e81696abba18574c3806bcfdd4c7a
2016-12-13 15:10:03 +01:00
Émilie Feral
32d9f9516a [apps] Change name: scale->gridUnit
Change-Id: I1616bdf2c317fa2c8d35ff243ca5ae125ef9a799
2016-12-13 15:10:02 +01:00
Émilie Feral
e42f23f56a [apps/graph/graph] Reinit the cursor position if the window was changed
Change-Id: I840d73b8b3224c614773e09fed8de1ecc7a7a1c0
2016-12-13 15:09:58 +01:00
Émilie Feral
9b2e39f2cf [apps/graph/graph] Add methods to the graph window model
Change-Id: I3361b76c87a79d0f997e51ad62c7687b2ac313e5
2016-12-12 15:31:25 +01:00
Émilie Feral
7554046ecd [apps/graph/graph] Change name: AxisInterval-> GraphWindow
Change-Id: Ia67c7a3feaeb5a0db34099f65e6335fdbf91e1ef
2016-12-09 11:26:03 +01:00
Émilie Feral
9f18606926 [apps/graph/graph] Reinit the cursor position when zooming
Change-Id: I7e6710db8525b7905dfc95723ebd3b06bfe0296e
2016-12-08 15:21:52 +01:00
Émilie Feral
4bef23b7e2 [apps] Make the abstract curve view hold methods to draw labels
Change-Id: Ib1451b51c6d16db27487b5c9d34cd345fcf379f0
2016-12-08 15:21:52 +01:00
Émilie Feral
58185a6237 [apps/graph/graph] Draw labels directly in graph view instead of using
subviews

Change-Id: Ic500d480e898b95995d8dbfb88bebb4b7fb9b3c5
2016-12-08 15:21:52 +01:00
Émilie Feral
eeb17625d1 [apps] Create a curve view to draw curves from any expression
Change-Id: I6e1183a560042688c596e3aa2385ab3bf0dcda2c
2016-12-08 15:21:52 +01:00
Émilie Feral
cb4eb743fb [apps] clean
Change-Id: I0f1709c1559109628ffe0f21a0b29751cfca46aa
2016-12-08 15:21:52 +01:00
Émilie Feral
f95e49929b [apps] Move float parameter controller from apps/graph to apps/ to be
used in apps/robability

Change-Id: I00ab38bd35d2b3ad77d9aee3072422b9bd36fe01
2016-12-08 15:21:52 +01:00
Émilie Feral
306d36ca69 [apps/graph] Use editable text menu list cell in float parameter
controller to enable editing parameter "inline"

Change-Id: Ibfb8134242ebdcdc8e17027f31196b94a537bd1b
2016-12-08 15:21:52 +01:00
Émilie Feral
5ff87c1ba2 [apps/graph/values] Make editable value cell inherit from value cell
Change-Id: I7aa93c4a5b70d892966bf65ec53f942bafb7cc86
2016-12-08 15:21:52 +01:00
Émilie Feral
a45582bde7 [apps/graph/grpah] Prevent initiating the cursor when no function in
store

Change-Id: I6e2ef2faa1cda34f96ab425bfdf9327faee7f204
2016-12-08 15:21:52 +01:00
Émilie Feral
0e0bbddebc [apps/graph/values] Edit abscissa values directly in their cell
Change-Id: I9f15f828c38edb8e06c7ca7d1956c4c9fa479994
2016-12-08 15:21:52 +01:00
Émilie Feral
471cf95b5e [apps/graph/graph] Simplify the curve parameter controller constructor
Change-Id: I5ee00e2585c11f8648fa12de9d0940f22df09c98
2016-12-08 15:21:52 +01:00
Émilie Feral
89248a9072 [apps/graph/graph] Implement "aller a (abscisse)"
Change-Id: I167f38b61be530fecb8c276f61785a7d1c373c36
2016-12-08 15:21:52 +01:00
Émilie Feral
073f209165 [apps/graph/graph] Correct error: set the graph view as first responder
when deselecting header

Change-Id: I3b5543186209255d072e2ad3ce11c24d6a3c7ce7
2016-12-08 15:21:52 +01:00
Émilie Feral
8942c00a46 [apps/graph/graph] Move window when the cursor goes out of view
Change-Id: I098f1911fcefeb2f42886a33f078fa12b34fc273
2016-12-08 15:21:52 +01:00
Émilie Feral
df790ac071 [apps/graph/graph] display correctly cursor at the right position
Change-Id: I9244d06fd92f51b7fd3cc5d8093b41e0818d962d
2016-12-08 15:21:52 +01:00
Émilie Feral
48c953dd56 [apps/graph/graph] Display a curve parameter page when ckicking on a
curve in the graph view

Change-Id: I4ca2ee01bf29b850d72fdb9d4748f7c7ddc400d0
2016-12-08 15:21:52 +01:00
Émilie Feral
a18bde0745 [apps/graph/graph] Delete useless cast
Change-Id: I41c9dc5e0098395750c5abcbe95d58d4208ea133
2016-12-08 15:21:52 +01:00