summaryrefslogtreecommitdiff
path: root/examples/declarative/common/imports
Commit message (Collapse)AuthorAgeFilesLines
* Reorder example dir structure according to Qt conventionAlex Blasche2013-11-1817-1391/+0
| | | | | | | | Causes undesirable example structure in Qt release package Task-number: QTBUG-34907 Change-Id: I47e2205aa6faef388792146b36cf6ae6cae863da Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
* Update copyright year to 2013Sergio Ahumada2013-06-1316-16/+16
| | | | | Change-Id: I5b0cb7d56997ad7b91c073b3e02b31d0368fdcfa Reviewed-by: Alex <alexander.blasche@digia.com>
* Change copyrights from Nokia to DigiaIikka Eklund2012-09-2416-96/+96
| | | | | | | | Change copyrights and license headers from Nokia to Digia Change-Id: Ic1390da64a219642fa1e1482a7677a4c2db15cbc Reviewed-by: Janne Anttila <janne.anttila@digia.com> Reviewed-by: Lars Knoll <lars.knoll@digia.com>
* Use enabled property in Menu to receive mouse eventsIan Chen2012-07-121-0/+1
| | | | | Change-Id: Ibea44442d9fb6ff56c2724186f32d90923a9f392 Reviewed-by: Natalia Shubina <natalia.shubina@nokia.com>
* Use enabled property for intercepting mouse eventsIan Chen2012-07-091-0/+1
| | | | | | | | | Cannot rely on opacity anymore since items with 0 opacity now also gets mouse events. Task-number: QTBUG-26443 Change-Id: Ia0ad221a73df48d04f9edd30f5a05fe49e4d6b01 Reviewed-by: Natalia Shubina <natalia.shubina@nokia.com>
* Remove tile prefetch code in app layer (slider component)Ian Chen2012-06-261-2/+0
| | | | | | | | | | | | We should not rely on various qml components to tell the map to prefetch tiles (by calling "map.cameraStopped()" which also doesn't tell you much what it actually does). Prefetching will still work after the patch, but just won't be triggered by releasing the slider. Change-Id: I6a78cfc294696cd29c1680faa60e8463e0aca72e Reviewed-by: Alex Wilson <alex.wilson@nokia.com>
* Simple prefetch schemeThomas Lowe2012-05-161-0/+2
| | | | | | | | | | | | | | | | | | | | | Prefetches larger set of tiles when camera is stopped QTBUG-25136 Prefetch implementation including zoom-level prefetching Two prefetching options- pan buffer, or pan buffer for two nearest zoom levels Code simplified by removing all three visibleTiles lists, so they can't go out of sync Textures not promoted up the cache if they aren't visible when retrieved from server Also: Prefetch on map initialize + optimisation This ensures that the prefetch is called at the end of initialisation Useful if the location is not already in disk cache. And makes no difference if it is already in disk cache. QTBUG-25786 Change-Id: Ife7c1d103f83695659f4534880268fa5afd8f7c7 Reviewed-by: Alex Wilson <alex.wilson@nokia.com>
* Use toFixed for rounding zoomLevel in MapViewerAlex Wilson2012-04-131-1/+1
| | | | | | | | | Was previously using Math.round, which can sometimes result longer numbers than 2 decimal places after conversion to a string. toFixed() always rounds correctly into a string. Change-Id: I2e77e8d080757b993e0cfe444620813936ed510d Reviewed-by: Natalia Shubina <natalia.shubina@nokia.com>
* Fixed Mapviewer to highlight the current maptype in the menuThomas Lowe2012-04-131-0/+1
| | | | | | | | | | The maptype menu wasn't highlighting the current map type. I fixed this by adjusting Menu.qml, it needed to reset the exclusiveButton in clear() Task-number:QTBUG-24752 Change-Id: I502796e9a1e08a158c6f953423eda8888c71353e Reviewed-by: Ian Chen <ian.1.chen@nokia.com> Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
* Remove use of Loader element in Dialogs.Aaron McCarthy2012-03-264-100/+152
| | | | | | | | | | | | | | | Simplify the code by removing the Loader element. There is really no need for it as a content item can be constructed directly. Factor out the code for text field entry dialogs into a separate InputDialog element. Dialogs that create a custom content item no longer carry around unneeded API. Account for the possibility of an on screen virtual keyboard. Change-Id: I808e040c264b8c8389a03070cc628e2e4518d118 Reviewed-by: Alex Wilson <alex.wilson@nokia.com> Reviewed-by: abcd <amos.choy@nokia.com>
* disable mouse hovered eventsNatalia Shubina2012-03-225-5/+5
| | | | | | | disable mouse hovered events for consistent behavior on desktop and device Change-Id: If8a943b4d461d5b16f63f27575fab0d931910dd4 Reviewed-by: Alex Wilson <alex.wilson@nokia.com>
* Reset view index when PlaceDialog is closedabcd2012-03-202-11/+17
| | | | | | | | | | | | | Previously if a user switched to the categories page and clicked close the dialog stayed on that page. So now reset to the initial page whenever the opacity reaches 0. An immediate switch to the initial page is not done because the transition is viewable as the close button is pressed, so wait until the dialog has faded out of view before switching. Change-Id: I1b96fc95a309edbc1a739e4ceddb38a6b25b6cba Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
* Example to allow assignment of categories to placesabcd2012-03-194-31/+102
| | | | | Change-Id: I8a8cb8588d5ad9d640c684d8b924f7c059b3e941 Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
* Fix Category View + fix usability issuesabcd2012-03-161-0/+1
| | | | | | | | | | | | | The edit and remove options were not available due to changes in the feature detection mechanism. Fix these so they are available. Whenever there were icons, sometimes the back button would be difficult to press Also fix alignment issues of the buttons so they are straight. Change-Id: Iaa933c55b6eec82304091c28c1255e071290713d Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
* Fix keyboard focus in examples.Aaron McCarthy2012-02-281-1/+0
| | | | | Change-Id: Ifc6dbef4568dac3d487edea63c8edef376be98ff Reviewed-by: Alex Wilson <alex.wilson@nokia.com>
* Fixed warning about wrong anchoring in Places app (SearchBox/TextWithLabel).Jean Gressmann2012-02-231-0/+13
| | | | | | | | Moved SearchBox.BusyIndicator into TextWithLabel. Indicator visibility can be controlled via TextWithLabel.busy. Change-Id: Ifca030466f9434465a082edac619e3b2ec01310f Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
* Only animate BusyIndicator when it is visible.Aaron McCarthy2012-02-151-2/+1
| | | | | Change-Id: I0299541a286fd9d255e93305c1cea779ceaf49a8 Reviewed-by: Natalia Shubina <natalia.shubina@nokia.com>
* Fix displaying large dialogs on small screens.Aaron McCarthy2012-02-131-4/+6
| | | | | | | | Bound the maximum size of a dialog to 70% of the screen size. If the dialog content does not fit enable interactive mode in the ListView. Change-Id: I2c5d200721a84b626450d794ba3b409f818b989b Reviewed-by: Natalia Shubina <natalia.shubina@nokia.com>
* Remove "All rights reserved" line from license headers.Jason McDonald2012-01-3014-14/+14
| | | | | | | | | | As in the past, to avoid rewriting various autotests that contain line-number information, an extra blank line has been inserted at the end of the license text to ensure that this commit does not change the total number of lines in the license header. Change-Id: I00c66363046e475e6924aafd221483c7fad5c0d9 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Update obsolete contact address.Jason McDonald2012-01-2314-14/+14
| | | | | | | Replace Nokia contact email address with Qt Project website. Change-Id: I3850177e14291901e924f9c27ba09e75df00f96a Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Update example look and feel. Part 3.Natalia Shubina2012-01-202-2/+2
| | | | | | | | Update example look and feel Removing unused images Change-Id: Id57f12354cf13e23432cdd14c5c7169996a473a6 Reviewed-by: abcd <amos.choy@nokia.com>
* Update example look and feel. Part 2.Natalia Shubina2012-01-188-46/+34
| | | | | Change-Id: Ia3523f4b21b05cbc61aaa3638d6dc0386b9cf006 Reviewed-by: abcd <amos.choy@nokia.com>
* Update example look and feelabcd2012-01-175-11/+8
| | | | | | Change-Id: I95420b774e6ca18b47540fb4cc768522032672d3 Reviewed-by: Natalia Shubina <natalia.shubina@nokia.com> Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
* Implement cross-referencing of Placesabcd2012-01-131-2/+13
| | | | | | | | Cross referenceing means we can detect whether a place from one plugin/manager is already in another plugin/manager Change-Id: Ice1834446a61e30e02f869e1d383f6d8698b8db6 Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
* Move location of common components to an imports subdirectory.Aaron McCarthy2012-01-1115-0/+1249
Change-Id: Ibbd1ce48c20c5064f439759cc2f1bb52d3ae2799 Reviewed-by: Natalia Shubina <natalia.shubina@nokia.com>