1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-29 16:50:11 +02:00

added a completion list to InputField, use it for all genres input field

This commit is contained in:
Michael Zanetti
2013-08-04 22:27:53 +02:00
parent 439730ee8a
commit 1131840a23
4 changed files with 79 additions and 4 deletions

View File

@@ -53,10 +53,12 @@ Item {
height: parent.height * 0.2
spacing: defaultFontHeight * 0.5
anchors.horizontalCenter: parent.horizontalCenter
z: 2
InputField {
id: genreInputField
width: parent.width - createFromInputButton.width - parent.spacing
completionModel: allGenres
onAccepted: createStation(text);
}
@@ -81,7 +83,7 @@ Item {
TagCloud {
anchors.fill: parent
anchors.margins: parent.width / 6
model: styleModel
model: allGenres
onTagClicked: {
root.createStation(tag);