summaryrefslogtreecommitdiffstats
path: root/qml/pages/LongTermPage.qml
Commit message (Collapse)AuthorAgeFilesLines
* Make each row in the list accessible as one item.Jan Arve Saether2014-10-081-25/+1
| | | | | | | | This also gets rid of the usage of the Repeater in order to render the background Rectangle and MouseArea, which is nicer. Change-Id: I0382878225f197ceaed648be45dde421610f7731 Reviewed-by: Caroline Chao <caroline.chao@digia.com>
* Adjust the pages design dynamically for narrow screensCaroline Chao2014-06-251-1/+27
| | | | | Change-Id: I64a46ef883cd4d12848ba66b34a45d0916ac4796 Reviewed-by: Andrew Knight <andrew.knight@digia.com>
* Fix incorrect row height in LongTermPageCaroline Chao2014-06-231-2/+2
| | | | | | | | Each LongTermDay item and its associated rectangle drawn under it should have the same height. Change-Id: If0b5b5a8ac57516666b1af12be0c6aa6c0881575 Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
* Update the source link for the weather dataCaroline Chao2014-06-231-1/+3
| | | | | | | Instead of opening the xml file, open the relative page. Change-Id: I4fadf6d8f6ad5763d57a6c321d21a2ec9f064d00 Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
* Simplify the "isLocked" logic for the pagesCaroline Chao2014-05-231-5/+0
| | | | | | | Use a binding instead. Change-Id: If302c9a5fa7f4b37d1be1fbbbf4771e327d2c26f Reviewed-by: Andrew Knight <andrew.knight@digia.com>
* Make the height of the row delegate an application constantCaroline Chao2014-05-151-1/+1
| | | | | | | Since it is used at different places. Change-Id: I9cecc118871d948f0cabd80d35cb07a12ccd1b88 Reviewed-by: Andrew Knight <andrew.knight@digia.com>
* Review LongTermPage to improve performance on mobile devicesCaroline Chao2014-03-191-5/+16
| | | | | | | | | | | | | | | | | | | | The Separator has its implicitWidth and implicitHeight changing when the screen rotates. This causes the layout to be redrawn. Its implicitWidth is only used as margin, thus rewriting the LongTermPage to use left/right margins instead of left/right Separator as part of the layout. The ApplicationInfo.isMobile property was not defined, which caused an additional and unnecessary binding on page width/height changes. When the screen rotates the width and height change, thus the physicalSizeChanged signal is emitted twice. Use primaryOrientationChanged instead now. Those changes improve the performance when redrawing the screen while rotating a device. Change-Id: I09d3b370d45e7bb62ba20dd1fc7182747c468225 Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
* Refactor long term page.Caroline Chao2014-03-141-8/+37
| | | | | | | | | | | The previous design makes it to cumbersome to adjust properly to strings in different languages. Now the GridLayout will take care of the column widths according to the content. Change-Id: I702c708ea58731c5a0e213f70507e7b49b621743 Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
* Fix typoCaroline Chao2014-02-251-1/+1
| | | | | Change-Id: I3d2fe06ba84adf7aeada5b8a7ff0825756c488a7 Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
* Fix license headersCaroline Chao2013-12-131-27/+26
| | | | | | | Change-Id: I68dc519a7177810dcc39e9c648cf823904a949ef Reviewed-by: Hanne Linaae <hanne.linaae@digia.com> Reviewed-by: Sami Makkonen <sami.makkonen@digia.com> Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
* Initial commitv1.1Caroline Chao2013-12-101-0/+135