Radio Tuner Demo

From Qt Wiki
Revision as of 08:59, 24 February 2015 by Maintenance script (talk | contribs)
Jump to navigation Jump to search


English 日本語

Radio Tuner Demo

[YouTubeID:GuAxYgOjOVA]

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://qt.gitorious.org/qt-labs/mobile-demos/trees/master/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^3 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.