Commit Graph

44 Commits

Author SHA1 Message Date
Émilie Feral
c19ecaeebe [apps] In curve view, avoid to reload the whole view when reloading
cursor

Change-Id: Ie8c0e100159201cc6b11122eeb567c68092a7b06
2017-01-15 20:09:18 +01:00
Émilie Feral
a74eef903a [poincare] Redesign Float::convertTotext
Change-Id: Id27d9472147b5e443ee296feca891392fad735c8
2017-01-15 20:04:59 +01:00
Émilie Feral
245400015f [apps/home][apps/regression] Add comments to explain how we prevent
selecting unwanted cell.

Change-Id: I5c4379b9f4b721a123da7c81d1609f082847affd
2017-01-15 20:04:59 +01:00
Émilie Feral
ca1b61c97a [apps] Avoid switch() {} when possible.
Change-Id: I4e050dcb761fe5ca6a12af375537f3554f324f68
2017-01-15 20:04:59 +01:00
Émilie Feral
affda5eae9 [apps] Modular reimplementation of application models (stores and
ranges) and of curve views/curve view controllers.

Change-Id: If4ca9bf1bec024917ef540a3fc7baefa8700f7ba
2017-01-10 13:35:19 +01:00
Émilie Feral
6e9528103b [apps] Factorize banner view implementation.
Change-Id: Iedc4350d2bed0f1b1c597c2492e028293f58d5f2
2017-01-09 15:08:56 +01:00
Émilie Feral
b17222112a [apps] Change model data -> float pair store.
Change-Id: I72d5291f3168f2588e2a955476724ce95e32e6f5
2017-01-09 15:08:56 +01:00
Émilie Feral
78198a5dcf [escher] In metric, add a constant: ParameterCellHeight
Change-Id: I6d90c9083d3d6de2308e86800b39104af5fc0457
2017-01-09 15:08:56 +01:00
Émilie Feral
e0b56e6588 [apps] add methods to the abstract model "data"
Change-Id: I24993d6ffcee9b030716c310f48260a78fe61546
2017-01-09 15:08:56 +01:00
Émilie Feral
176cd6d539 [apps/regression] Avoid displaying the regression graph in there is not
enough data for a regression

Change-Id: If0f65e2a377fb3f91d008d21812e318e92583548
2017-01-09 15:08:56 +01:00
Émilie Feral
066878e4a7 [apps/regression] Display the goto parameter page from the prediction
parameter page

Change-Id: I942873a29e78af76edd349467c5d3e9155b27fb6
2017-01-09 15:08:56 +01:00
Émilie Feral
3e7a46db86 [apps/regression] Create a class go to parameter controller
Change-Id: I941a8c338f6530f0a5470ed79829323a8dc27262
2017-01-09 15:08:56 +01:00
Émilie Feral
7e66949900 [apps/regression] Add methods in data model to set the cursor position
at a specific abscissa/ordinate

Change-Id: I95cde32b36405f57e3e6ccfa37e6e0cda70da59a
2017-01-09 15:08:56 +01:00
Émilie Feral
7d799057fd [apps/regression] In graph view, avoid the window to be initialized with
a null area

Change-Id: If493fcd357cfa5e3d7edd595660681d2c987dacd
2017-01-09 15:08:56 +01:00
Émilie Feral
07cd605234 [apps/regression] Display the prediction parameter page when clicking on
the regression curve

Change-Id: Iac2750ac855a285d607edeac0da5d82b4ad674a3
2017-01-09 15:08:55 +01:00
Émilie Feral
09e6e511dc [apps/regression] Create a class prediction parameter controller
Change-Id: I135096e00263cc427974870025cc310c6420dc33
2017-01-09 15:08:55 +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
029b75793d [apps/regression] In graph view, display a specific legend when the mean
dot is selected

Change-Id: Ib55101435c1205709ea5a17616e7daa09ae388bc
2017-01-09 15:08:55 +01:00
Émilie Feral
3b7f0ae1b5 [apps/regression] In graph view, handle edge cases for cursor selection
Change-Id: Ibeeb32696232b1cff25f36301a7d6685f090a69b
2017-01-09 15:08:55 +01:00
Émilie Feral
4c5016006a [apps/regression] display the initialisation parameter page when
clicking on the right button

Change-Id: I7bf5c9752ab5e63a1be96d5993d305ba86b87a72
2017-01-09 15:08:55 +01:00
Émilie Feral
5c61c25f3a [apps/regression] Create a initialisation parameter page
Change-Id: Ie7487094923ecb900f69517b693d3acef11c30bb
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
87c784e68d [apps/regression] Display a zoom view controller when clicking on the
zoom button on the graph view

Change-Id: I82607bb99675d3c7c1b0d34c64c460a08c19b340
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
6012ba3ecd [apps/regression] Unable reaching dots whose abscissa is outside the
window

Change-Id: I679fb24e1d6c87592105634a387d82aee8127f08
2017-01-09 15:08:55 +01:00
Émilie Feral
3e74503e22 [apps/regression] In graph tab, display the window parameter page when
clicking on the window button

Change-Id: Ieea50d5eae0bc998cb0d2df51a4e961a573bd1cd
2017-01-09 15:08:55 +01:00
Émilie Feral
8e1a3ff6e8 [apps/regression] In graph, display the cursor position in the banner
Change-Id: Ie3bd6f2836250c8310cc468408bc9db757343365
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
e6e526c2cb [apps/regression] Fix bug: in the graph page, correctly redraw the dots when needed
Change-Id: I23c729003bccaaa91b593b636eee8a49ac6c6ffc
2017-01-09 15:08:55 +01:00
Émilie Feral
9d35d76e45 [apps/regression] Improve the page calculations
Change-Id: I78c67cf3cff2d94265491c82a05d5721f9c52e4b
2017-01-09 15:08:55 +01:00
Émilie Feral
2527e5434a [apps/regression] Create a class even odd double buffer text cell
Change-Id: I1e22de8ebe6110244184c4006cf459cf1ac4f6ec
2017-01-09 15:08:55 +01:00
Émilie Feral
545d3239ec [apps/regression] Enable the graph controller to move cursor position
Change-Id: I1ccfea8795d809085470c3d91f60118df28b125b
2017-01-09 15:08:55 +01:00
Émilie Feral
b0a9d23ce3 [apps/regression] Make graph view inherits from Curve view with banner
and cursor

Change-Id: I3d63eb2b0750ba7c11374bb608347efc2418ccfd
2017-01-09 15:08:55 +01:00
Émilie Feral
1c7be02d3c [apps/regression] Make data model inherits from curve view window with
cursor

Change-Id: I619a759550b785d1da24b106a380953fdabc8ae4
2017-01-09 15:08:55 +01:00
Émilie Feral
7e44dfee12 [apps/regression] Improve the data model with methods to move the cursor
position

Change-Id: Ie18080e66776d334fd2c02915bd93fc7ff6e286b
2017-01-09 15:08:55 +01:00
Émilie Feral
45f266c7fe [apps/regression] Set the graph view as main view of graph controller
Change-Id: Id644559371fb593c90b7e85f317875b521828a43
2017-01-09 15:08:55 +01:00
Émilie Feral
948a98905f [apps//regression] Create a graph view
Change-Id: I434e3647f7acf7b1358203f894d5847b787a2375
2017-01-09 15:08:55 +01:00
Émilie Feral
280fe277ca [apps/regression] Create a banner view class
Change-Id: I30ad498b2c63c1a7edb09a05c40dd1f94373ead1
2017-01-09 15:08:55 +01:00
Émilie Feral
2aea72d228 [apps/regression] Add a method to data model
Change-Id: Ic08de61e87a0886dfb2520bf9292ba1176b3d84a
2017-01-09 15:08:55 +01:00
Émilie Feral
4801577bf1 [apps/regression] Add methods in data model
Change-Id: I20670142f632b09c2af89d3f32c6bc3dc18ffd77
2017-01-09 15:08:55 +01:00
Émilie Feral
764f12124b [apps/regression] Create a model data inheriting from the Apps::data
Change-Id: Ie0aed12437f63176329625da30986e4eff91d877
2017-01-09 15:08:55 +01:00
Émilie Feral
60cb611278 [apps/regression] Create the structure of the application regression
Change-Id: I2433a5e6dabdd9a15d87c8e2ddf3cea5ad329a0e
2017-01-09 15:08:54 +01:00