~ubuntu-clock-dev/ubuntu-clock-app/reboot-packaging

« back to all changes in this revision

Viewing changes to app/clock/ClockPage.qml

  • Committer: Nekhelesh Ramananthan
  • Date: 2014-07-15 12:50:49 UTC
  • mfrom: (20.1.24 10-world-clocks)
  • Revision ID: krnekhelesh@gmail.com-20140715125049-hhsn7hpe6tqrn3vz
- Added a page to select world cities. It provides search as you type using the new SDK SortFilterModel feature.
- Added a XML file with a list of popular cities.
- The local time at the cities are retrieved using QTimezone and QDateTime classes and used via a QAbstractListModel to automatically update the city list every second.

Show diffs side-by-side

added added

removed removed

Lines of Context:
109
109
 
110
110
        onDragEnded: {
111
111
            if(contentY < _minThreshold) {
112
 
                Utils.log(debugMode, "Activate add city signal")
 
112
                mainStack.push(Qt.resolvedUrl("../worldclock/WorldCityList.qml"))
113
113
            }
114
114
        }
115
115