Radio Tuner Demo: Difference between revisions
No edit summary |
Henri Vikki (talk | contribs) No edit summary |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
==Description== | [[Category:Developing_with_Qt::Qt Quick::Demos]] | ||
[[Category:Learning::Demos_and_Examples]] | |||
'''English''' [[Radio_Tuner_Demo_Japanese|日本語]] | |||
[https://www.youtube.com/watch?v=GuAxYgOjOVA YouTube Video] | |||
== Description == | |||
In this app there is a radio fine tuning simulation just to demonstrate the most important ListView elements. There are two types of navigation, pressing the left or right arrows to find the next valid station or just moving the list around. | In this app there is a radio fine tuning simulation just to demonstrate the most important ListView elements. There are two types of navigation, pressing the left or right arrows to find the next valid station or just moving the list around. | ||
Line 11: | Line 18: | ||
You can also try to change the ListView properties like highlightRangeMode and see how it changes the list behavior. Another useful property for you to check is the onCurrentIndexChanged list signal, it is really simple to track the current radio station number with it. | You can also try to change the ListView properties like highlightRangeMode and see how it changes the list behavior. Another useful property for you to check is the onCurrentIndexChanged list signal, it is really simple to track the current radio station number with it. | ||
==Downloads | == Downloads == | ||
=== Source code === | |||
http://code.qt.io/cgit/%7bnon-gerrit%7d/qt-labs/mobile-demos.git/tree/RadioTuner | |||
=== Binaries === | |||
Mac: http://get.qt.nokia.com/demos/mac/radiotuner.dmg <br> | |||
Maemo: http://get.qt.nokia.com/demos/maemo/radiotuner_1.0-maemo1_armel.deb <br> | |||
Symbian: http://get.qt.nokia.com/demos/symbian/radiotuner_installer.sis <br> | |||
Windows: http://get.qt.nokia.com/demos/windows/radiotuner_setup.exe <br> | |||
'''NOTE:''' Installing this Qt Quick demo app on your Symbian device will also install a beta version of Qt 4.7.1 which may cause the Ovi Store client or other Qt-based applications to fail. Until we update the apps with Qt 4.7.2 we advise you to not use your personal phone. | |||
Latest revision as of 08:03, 19 March 2015
English 日本語
Description
In this app there is a radio fine tuning simulation just to demonstrate the most important ListView elements. There are two types of navigation, pressing the left or right arrows to find the next valid station or just moving the list around.
In this demo you can see how a model is created dynamically and also change its view according to its index position. A good thing to pay attention to this app is that there are two ListModels. The one that is populated using javascript and a fixed one that contains all radio stations. Inside the JavaScript file there is a function called createModel that you can check how both ListModels get together and how they will be used on a ListView.
You can also try to change the ListView properties like highlightRangeMode and see how it changes the list behavior. Another useful property for you to check is the onCurrentIndexChanged list signal, it is really simple to track the current radio station number with it.
Downloads
Source code
http://code.qt.io/cgit/%7bnon-gerrit%7d/qt-labs/mobile-demos.git/tree/RadioTuner
Binaries
Mac: http://get.qt.nokia.com/demos/mac/radiotuner.dmg
Maemo: http://get.qt.nokia.com/demos/maemo/radiotuner_1.0-maemo1_armel.deb
Symbian: http://get.qt.nokia.com/demos/symbian/radiotuner_installer.sis
Windows: http://get.qt.nokia.com/demos/windows/radiotuner_setup.exe
NOTE: Installing this Qt Quick demo app on your Symbian device will also install a beta version of Qt 4.7.1 which may cause the Ovi Store client or other Qt-based applications to fail. Until we update the apps with Qt 4.7.2 we advise you to not use your personal phone.