Ruben Dashyan
a3fe99da21
[escher] Simplify TableView::scrollToCell
2019-05-03 15:54:20 +02:00
Ruben Dashyan
b3d15d7e7f
[escher/table_view] layoutSubviews of m_contentView first
2019-02-18 16:49:58 +01:00
Ruben Dashyan
b5dc7f738e
[escher/table_view] scrollToCell includes CellOverlap
...
In passing, factorize duplicate code.
2019-02-18 16:49:58 +01:00
Ruben Dashyan
08e8bf0eeb
[escher] Implement ScrollView::minimalSizeForOptimalDisplay including margins
...
Remove from derived classes:
- apps/calculation/scrollable_expression_view
- apps/code/consol_line_cell
- apps/shared/scrollable_exact_approximate_expressions_view
- escher/layout_field
- escher/table_view
- escher/text_field
2019-02-18 16:49:58 +01:00
Ruben Dashyan
cda88b3c3b
[escher/scroll_view] Fix virtuality issues of layoutSubviews
...
Method contentSize() made virtual and overridden by ScrollableView
so that ScrollableView and TableView do not need to setSize themselves
and that setSize/setFrame is not called twice over m_contentView.
2019-02-18 16:49:58 +01:00
Émilie Feral
55be86ef50
[escher] TableView::cellAtLocation should return nullptr if the cell is
...
invisible and therefore no view displays it.
Fix bug: add 4 functions, in the values table one cell is wrong as soon
as you edit an x value
2018-11-26 11:24:30 +01:00
Léa Saviot
b3269a2dc0
[escher] Remove duplicate call in TableView
2018-11-23 12:04:03 +01:00
Émilie Feral
bd8abaf735
[escher] TableView: resizeToFitContent does not do anything if the frame
...
is null
2018-09-21 09:29:15 +02:00
Émilie Feral
42c7c26414
[escher] TableView: when the TableView has a null frame, its
...
numberOfSubviews is 0
2018-09-14 11:55:09 +02:00
Léa Saviot
090f27c107
[escher] Add comment in table view
2018-06-11 13:57:54 +02:00
Léa Saviot
249b15750a
[apps/stats] Display all non empty series in calculation
2018-06-11 13:56:32 +02:00
Romain Goyet
84561a929f
[escher] Clean the ScrollView, TableView and SelectableTableView constructors
2018-04-18 18:08:07 +02:00
Émilie Feral
126212e25b
[escher] SelectableTableView: add an option when reloading data
2018-01-30 18:09:59 +01:00
Émilie Feral
faac0d7a58
[escher] Change TableView::size() to
...
TableView::minimalSizeForOptimalDisplay()
2018-01-04 15:48:06 +01:00
Émilie Feral
66ba406093
[escher] In table view: change the order of the layout: reload the data
...
BEFORE resizing and layouting cells
2018-01-04 15:48:06 +01:00
Émilie Feral
ee51729eba
[escher] Move from table view to scroll view the method a update the
...
scroll to the size of the content view
Change-Id: I2c4aa457425bf5a8a484aecc061ae27453e9aabb
2017-08-18 13:34:29 +02:00
Émilie Feral
e0a1653ff7
[escher] Fix bug in table view
...
Change-Id: I2082f827b0480ad7e40e8439c5f0c65449010f1f
2017-08-17 16:21:22 +02:00
Émilie Feral
319955424b
[escher] In table view, use scrollToContentRect instead of recomputing
...
everything
Change-Id: Idb3ec8218386b03bc34d08fcd888d1a671ea98f9
2017-08-17 16:21:20 +02:00
Émilie Feral
f43b307856
[escher] In table view, add method 'reloadCellAtLocation'
...
Change-Id: I2d662669621392698ee963a6c8e70d3d2f4ee829
2017-06-02 16:56:41 +02:00
Émilie Feral
30d3ff16a8
[escher][apps/shared] In table view, when scrolling to a cell, check if
...
the table size has not decreased to adjust the offset
Change-Id: Ifd89ec2b51b2adb9ca860ce0b58f2b6e58b838a1
2017-05-31 11:54:54 +02:00
Émilie Feral
af4d6b6e81
[escher] Divide class selectable table view delegate in 2: selectable
...
table view data source & selectable table view delegate
Change-Id: I90fbd61e271db3754c13bd0069b95c2026de6814
2017-05-18 14:16:41 +02:00
Émilie Feral
96733dbbdc
[apps] Rule of 5 (3)
...
Change-Id: Ia85b23a09e9debd62b4f3590463a4f16454ef4b7
2017-05-09 14:33:53 +02:00
Émilie Feral
5a78411dc6
[escher] Fix bug
...
Change-Id: I8e76c1ffa597e06d32e0627e0070be04307ee43e
2017-05-03 14:22:52 +02:00
Émilie Feral
0517066cc0
[escher] Extrude scroll view model to its delegate
...
Change-Id: If863de63f5f77edb5e2905633067e03aecdd8937
2017-05-03 10:22:01 +02:00
Émilie Feral
255648e6f4
[escher] In table view, correct error (seen in values table)
...
Change-Id: I8482823b55b93a49ae94e943a74792192b9d39a4
2017-04-14 15:00:31 +02:00
Émilie Feral
869179a363
[escher] Fix bug (due to expression view, pointer to deleted object)
...
Change-Id: Ib3ca7b3b0ed8eb5ebafab7270b090798c09b0007
2017-03-29 11:34:42 +02:00
Émilie Feral
b1fb4f5393
[escher] Correct commit : Enable to draw the outline of cells in table
...
view
Change-Id: If2eadc0b9987678c0ccc56401bd46835d861a436
2017-03-16 17:35:43 +01:00
Émilie Feral
406fc0e0a5
[escher] Enable to draw the outline of cells in table view
...
Change-Id: I2842e9fdada4ebdc3fe49608e6f7886d831aa98b
2017-03-16 15:12:11 +01:00
Émilie Feral
2e16365100
[escher] Reorganize all cells'name and factorize their layouts
...
Change-Id: I69900ee98ff6a6868f96d70a0e335a589ef16c3f
2017-02-20 10:54:02 +01:00
Émilie Feral
8eefe8e490
[escher] Improve scroll indicator render
...
Change-Id: I22fa1035ba33d2cadfc68fa6727fbaecdadd4efe
2017-01-27 11:52:02 +01:00
Émilie Feral
37da7b95a2
[escher] add a boolean in table constructor to choose whether to paint
...
the backgroung
Change-Id: Idee8aff20ab86011775e9a995a2d2f425b60df67
2016-12-08 15:21:52 +01:00
Émilie Feral
e368b24240
[escher] add method to get the size of table view
...
Change-Id: If59f78a9c685aeb6ed065508669b0a5d9bbc3eb0
2016-11-04 10:18:59 +01:00
Émilie Feral
5d7e57b228
[escher] Add method to get data source in table view
...
Change-Id: I511bbbfa7727216bcd1d02b9df93491061f6a9a8
2016-10-25 17:55:28 +02:00
Émilie Feral
f809d089d6
[escher] Make table view accept only table view cell
...
Change-Id: I393375d0887e692a85747198d5b42d26d207dc83
2016-10-25 17:55:28 +02:00
Émilie Feral
d14107b2bc
[escher] add a method reloadData to table view
...
Change-Id: I1b07a323d2f83783dd81fe870a461e5851163501
2016-10-14 12:39:02 +02:00
Émilie Feral
ab37a15b3b
[escher] Correct bug: update the subview layout when resizing the content view
...
Change-Id: I5941ca52d2b53332ab6d4cd03312862e9f48c71c
2016-10-12 17:39:54 +02:00
Romain Goyet
091de58335
[escher] Avoid repositionning the ScrollView's content
...
Change-Id: Ia23cb4414efc7adef91e4f4b2befe1a2cf3e12fa
2016-10-04 17:07:48 +02:00
Émilie Feral
dad80001af
[escher] break table view and table view data source in two files
...
Change-Id: I98407e8900727d1ce8fea78c721f56192a24e1f8
2016-09-29 17:47:26 +02:00
Émilie Feral
7130496707
[escher] add a table view handling cells of different types and sizes
...
Change-Id: I678aa4273ccea33fd293205407c51c162515786e
2016-09-29 17:46:10 +02:00
Émilie Feral
ca27adc25f
[escher] rename the table view class in "simple table view"
...
Change-Id: Ie94f445ae2f830254373d7e7d0917884d88a66fb
2016-09-29 15:56:56 +02:00
Émilie Feral
7283a0c13a
[escher] implement list view to inherit from table view
...
Change-Id: I4bee7292fa7d21ad4d24a86a287857309933d78f
2016-09-28 15:09:14 +02:00
Émilie Feral
0c51c8aee1
[escher] in table view, handle cellWidth = 0
...
Change-Id: Ib9efaa78e52e74a2b3e2904d776dc509c12a085b
2016-09-28 15:07:03 +02:00
Émilie Feral
97541b170c
[escher] create a class table view
...
Change-Id: Ieb339468cdd4cdb5b36c023ed64dcf10c0434b97
2016-09-28 14:12:14 +02:00
Émilie Feral
f7779e2257
[escher] change table view name into list view
...
Change-Id: I56884819d1d049b8b63457edae01400644fd560e
2016-09-28 14:12:14 +02:00
Émilie Feral
1ab75e8298
[escher] modify the constructor of table view to choose the margins at construction
...
Change-Id: Iadfc9e4b3142d5c0b4ec3b75db5a598eb40ffab7
2016-09-26 12:25:24 +02:00
Émilie Feral
0418f76ce1
[escher] modify the drawing of scrollview
...
Change-Id: I9398e2a539bcfb1991948f8afa1cb66c55857f30
2016-09-23 09:41:29 +02:00
Émilie Feral
219d6e6731
[escher] change structure of table view cell and define label view
...
Change-Id: Iaeb3f567c4e1be6dfea3076ee7465c21e5ad98e9
2016-09-21 11:55:01 +02:00
Émilie Feral
6594628fa8
[apss/graph/list] implement the parameter page as a table view data source
...
Change-Id: Id27758683f67419c3741754dc40ead6712bd1232
2016-09-20 12:08:45 +02:00
Romain Goyet
5de28e01db
Migrate Kandinsky to C++
...
Change-Id: I2752a8db84ad0bb817119cf6c2993c1622621150
2016-07-21 13:42:32 +02:00
Romain Goyet
954295f47f
Escher: Some more cleanup
...
Change-Id: Ia3c77717f082f82bbf97393614f21996ab964cdb
2016-06-20 10:54:04 +02:00