1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-09-03 02:42:52 +02:00

reworked buttons

This commit is contained in:
Michael Zanetti
2012-12-16 17:25:19 +01:00
parent 37996178b7
commit 1486a6a200
5 changed files with 77 additions and 20 deletions

View File

@@ -22,14 +22,13 @@ Rectangle {
subtitle: generator.summary
showSearchField: false
showBackButton: stationListView.currentIndex > 0
showNextButton: dynamicModel.rowCount() > 0 && stationListView.currentIndex < 2
showSaveButton: stationListView.currentIndex === 2
showNextButton: stationListView.currentIndex == 2
nextButtonText: "Save"
z: 1 //cover albumcovers that may leave their area
onBackPressed: stationListView.decrementCurrentIndex()
onNextPressed: stationListView.incrementCurrentIndex()
onSavePressed: print("should save station now")
}
ListModel {