Commit Graph

77 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
6402e5c647 [apps] Clean
Change-Id: Iddd7cbdb4a396a86ec5e86731503b6927022eee7
2017-01-15 20:04:59 +01:00
Émilie Feral
a74eef903a [poincare] Redesign Float::convertTotext
Change-Id: Id27d9472147b5e443ee296feca891392fad735c8
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
40482b89c6 [apps/statistics] In box view, define a enum class for quantile
Change-Id: Id213508fb36027e7521152cb74e724b4ed2f4322
2017-01-15 20:04:58 +01:00
Émilie Feral
9c6100d5dc [apps/statistics] Correct brace error
Change-Id: I31f5337f2b46b8a1f5e410df9dbb4bb6ec2e4555
2017-01-15 20:04:58 +01:00
Émilie Feral
b49a27ac38 [apps/statistics] Delete absurd comment
Change-Id: I22de1ad346e72f6cb4309c946788e885bacb45ad
2017-01-15 20:04:58 +01:00
Émilie Feral
ea96360388 [apps/statistics] Correct language typo
Change-Id: Ib8b3257abae192cefbc7d03bef36d3413a8b7574
2017-01-15 20:04:58 +01:00
Émilie Feral
e9e171935c [apps] Use crc32 methods in models
Change-Id: I2c0588eef90c8015d13fd7aed87a4b615243fe5c
2017-01-10 13:35:25 +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
e0b56e6588 [apps] add methods to the abstract model "data"
Change-Id: I24993d6ffcee9b030716c310f48260a78fe61546
2017-01-09 15:08:56 +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
aa91ebfb14 [apps] Delete useless obsoletfunction in float parameter controller
Change-Id: I2421de22519aacc2ef329cca12dc6fa3b6ad845d
2017-01-09 15:08:55 +01:00
Émilie Feral
6d528036f6 [apps/statistics] Center calculation view
Change-Id: I6f43269422e0e0509807e54eaf8c1ce94ca6a03e
2017-01-09 15:08:55 +01:00
Émilie Feral
a1b14762b2 [apps/statistics] Do not shit the origin label in histogram view
Change-Id: I4c3f67e6284a8fdc2d6850e278a414968c232184
2017-01-09 15:08:55 +01:00
Émilie Feral
aec9f8db2a [apps] Delete redundant constexpr definition
Change-Id: Ibc72723a576cc69a692b2dc263576a4d0d9d8161
2017-01-09 15:08:55 +01:00
Émilie Feral
9c1095092a [apps/statistics] Make data and data controller inherit from classes in
apps/

Change-Id: Ie6a0b95c13a212321c1bf8132c39255f31a71429
2017-01-09 15:08:55 +01:00
Émilie Feral
3c3a900bb7 [apps/statistics] Handle the edge case with only one pair of value and
size

Change-Id: I812ffea48b7a06d0646d044aacd811c48fa95d9e
2017-01-09 15:08:54 +01:00
Émilie Feral
852a6146e8 [apps] Rename methods in curve view with banner
Change-Id: I676ea90c241de1ade692fa04ee9c1daa89f3480f
2017-01-09 15:08:54 +01:00
Émilie Feral
77b4187888 [apps/statistics] Change name: banner view -> histogram banner view
Change-Id: Ib8b864b7b17f7cd3ad028701380bf949a0915876
2017-01-09 15:08:54 +01:00
Émilie Feral
ad93c1efd2 [apps/statistics] Make histogram view and box view inherits from curve
view with banner

Change-Id: Iab25cb2442ee7b20a97dfa4e4fce9742f16e5a96
2017-01-09 15:08:54 +01:00
Émilie Feral
6753974724 [apps/statistics] Add a banner to the box page
Change-Id: I26623369cc2fcf192582eb6fb618e1711da4baea
2017-01-09 15:08:54 +01:00
Émilie Feral
b9de56148b [apps/statistics] Create a class banner view
x

Change-Id: Ifad6658d49638739f4875914faeefa10ccba080c
2017-01-09 15:08:54 +01:00
Émilie Feral
035673dc61 [apps/statistics] Make the histogram banner appears and dispapears when
navigating on the histogram page

Change-Id: I2a00f2f29fe462638513af0d3f62394fb2f29e32
2017-01-09 15:08:54 +01:00
Émilie Feral
d1686ecfeb [apps/statistics] Avoid rounding error
Change-Id: I92e2a5d29ac18cbb3559f0cd30eeb9e921b31780
2017-01-09 15:08:54 +01:00
Émilie Feral
95daa6ccc0 [apps/statistics] Unable the user to set the bar width with a INF/ NAN
value

Change-Id: I42963c034a269971c332888839b940ea9bdec3c1
2017-01-09 15:08:54 +01:00
Émilie Feral
8d94b4f26b [apps]Make the curve view margins customisable
Change-Id: I7a632ae9ad98ae0b92a2259fa8465c3aecfbf570
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
88166440b0 [apps] In curve view, merge drawDiscreteHistogram and drawHistogram
methods in a unique method

Change-Id: I7093f1c0d639cc77f7e73bddf15fadc5c967823b
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
fecf0eb3a5 [apps/statistics] Change name: barStart -> firsBarAbscissa
Change-Id: Ia5d39ff3d4b8539b9028afd55476a0d310578dde
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
22716b55a8 [apps/statistics] In histogram page, unable to change selection when the
header button is selected

Change-Id: Ifa75a747648325adac84264a148390ebf5a2c497
2017-01-09 15:08:54 +01:00
Émilie Feral
97cbd64a59 [apps/statistics] In calculations page, display results in grey
Change-Id: I7070c874f025161f3daae6c18d36ca593972d270
2017-01-09 15:08:54 +01:00
Émilie Feral
fa5abce291 [apps/statistics] Handle selection in box
Change-Id: Id48d4f2af324bd53e8137b66695632f97396a196
2017-01-09 15:08:54 +01:00
Émilie Feral
2dc695bdec [apps/statistics] Display the box view in the box controller
Change-Id: Ib8b1aa35283a29bcbc94dfbe81ef551e42ae353f
2017-01-09 15:08:54 +01:00
Émilie Feral
7e05126d2c [apps/statistics] Create a class box view
Change-Id: I06e04cc701e20b83b9c6569901a6fcca9e963bfd
2017-01-09 15:08:54 +01:00
Émilie Feral
921781cc50 [apps/statistics] Create a model box window inheriting from curve view
window

Change-Id: Ib6bafaeaf10a0f8dbe4a5dfda1c7edd085913c57
2017-01-09 15:08:54 +01:00
Émilie Feral
939a2eacb5 [apps/statistics] Improve the calculation page based on the data model
Change-Id: I5b49d3aee0cae503e6bb35079c98d37c943b2458
2017-01-09 15:08:54 +01:00
Émilie Feral
c1dc9b972a [apps/stastistics] Add methods to compute statistics calculation in the
data model

Change-Id: I5c32b9ec391631cefc68996410802adbf6ca1775
2017-01-09 15:08:54 +01:00
Émilie Feral
014a9dc125 [apps/stastistics] Delete useless stack view controller of the app
Change-Id: Ia9adefffa0058fd422872d0ece83af24e071a0d7
2017-01-09 15:08:54 +01:00
Émilie Feral
50ac7d3fd7 [apps/statistics] Display an empty page in calculation tab if no data to
calculate on

Change-Id: Ib4e0c57485fd1bf3c4e7a1cd07f8f1d63cd17f6d
2017-01-09 15:08:53 +01:00
Émilie Feral
91e168e4ee [apps/statistics] Fix error: writing title text on editable cells
Change-Id: Iac82f14a7e83620a968084489ede27350bfdfdef
2017-01-09 15:08:53 +01:00
Émilie Feral
1de9e3d4b3 [apps/statisstics] Avoid displaying histogram or box when all data have
0 size

Change-Id: I14206cab379d5560e66360b0131e5a939ad9ad29
2017-01-09 15:08:53 +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
a9433779a3 [apps/statistics] Give the data model to the box controller
Change-Id: I2ccb0747853675b9a4b9a89b091767c6f75570ac
2017-01-09 15:08:53 +01:00