Commit Graph

278 Commits

Author SHA1 Message Date
Émilie Feral
78198a5dcf [escher] In metric, add a constant: ParameterCellHeight
Change-Id: I6d90c9083d3d6de2308e86800b39104af5fc0457
2017-01-09 15:08:56 +01:00
Émilie Feral
eb976ad0cf [apps/graph/values] Enable to delete row by row
Change-Id: I25b14091711af3d7afd64413839a2664fc98a051
2017-01-09 15:08:56 +01:00
Émilie Feral
498aa77268 [apps/graph/graph][apps] Factorize methods to draw grid in curve views
to be used in regression app

Change-Id: I5c76c3bb6eb5bdccf799098278734a5c8ad7c32d
2017-01-09 15:08:55 +01:00
Émilie Feral
ff6d0a64bd [apps/graph/grpah] Correct implementation of the default initialisation
parameter page

Change-Id: If25c5b6fd80a78017386522c693ec6389154faab
2017-01-09 15:08:55 +01:00
Émilie Feral
1067dc0c4e [apps/graph/graph][apps/regression] Make specific default window
parameters for the 2 apps

Change-Id: Id592b6ec19e4283116aea47da09b37764e7c9643
2017-01-09 15:08:55 +01:00
Émilie Feral
23f2ddaced [apps] Factorize the graph view controller of regression and graph apps
Change-Id: Ib586376c3afc0738ea39dd86fb693ec08811281e
2017-01-09 15:08:55 +01:00
Émilie Feral
a6ce2e2c1c [apps] Move the zoom parameter controller from apps/raph/graph to apps
to use it with the regression graph

Change-Id: Ia86cd9d085f990b329db55e7e841c9ea2571a2be
2017-01-09 15:08:55 +01:00
Émilie Feral
2293d9f933 [apps] Factorize the reload methods in all subclasses of curve view
Change-Id: I77e04df7ab36b46582c221f7e07797e6d1bce0e2
2017-01-09 15:08:55 +01:00
Émilie Feral
ce7aa7f2ab [apps] Create an abstract class for banner view
Change-Id: Ib0235866a2850caa78dc7caf246b42a5c4bc7db5
2017-01-09 15:08:55 +01:00
Émilie Feral
a7b2a235de [apps][apps/graph] Move window parameter controller to be used in graph
and regression

Change-Id: I469e06bfd0e20fe7d93c66c38a53a9a0189de99b
2017-01-09 15:08:55 +01:00
Émilie Feral
aa91ebfb14 [apps] Delete useless obsoletfunction in float parameter controller
Change-Id: I2421de22519aacc2ef329cca12dc6fa3b6ad845d
2017-01-09 15:08:55 +01:00
Émilie Feral
4688f8cbf9 [apps] Factorize methods requiered in graph/graphview and regression
graphview in the class Curve view window with cursor

Change-Id: I9039e78804f827cc882c124f37a4e67450bd0e6e
2017-01-09 15:08:55 +01:00
Émilie Feral
33133648b7 [apps/graph] When possible, call the method to init the cursor position
directly in graph window methods

Change-Id: Icd9c29657a11e3a76cfc2e1232221b7428794019
2017-01-09 15:08:55 +01:00
Émilie Feral
a75e163e32 [apps/graph] Make graph view inherit from curve view with banner and
cursor

Change-Id: Ibc3239a1e0e16d53510f8e1a75699a8a00a6d91e
2017-01-09 15:08:55 +01:00
Émilie Feral
c4e0e7f750 [apps/graph] Make graph window inherit from window curve view with
cursor

Change-Id: Ib787e5175e74c41b08bda59d25740a83f726146f
2017-01-09 15:08:55 +01:00
Émilie Feral
71f9913b08 [apps] Move the graph/cursor view to the apps root to be used by other
app (as regression app)

Change-Id: Ie3b7f1028333fe136b0ac761cc728a05a90ffc7f
2017-01-09 15:08:55 +01:00
Émilie Feral
bc38d3db4b [escher] When using input view controller, init the text content to the
previous text edited

Change-Id: Id201196f38e8f2b6cd909c7e52708f2e84ab8a47
2017-01-09 15:08:54 +01:00
Émilie Feral
3c313cc50d [apps/graph/graph] Make graph view inherit from curve view with banner
Change-Id: Iec003055a0974d0111f81d68771982192ffb8d1f
2017-01-09 15:08:54 +01:00
É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