At a loss
QML and Qt Quick
4
Posts
3
Posters
1.2k
Views
1
Watching
-
How can I have this only be shown is a specific state?
@ ListView {
width: 800; height: 600
FolderListModel {
id: folderModel
nameFilters: ["*.jpg"]
folder: "film_images"
}
Component {
id: fileDelegate
Column {
Image {
width: 165; height: 244
// fillMode: Image.PreserveAspectFit
smooth: true
source: folderModel.folder + "/" + fileName
}
Text { text: fileName }
}
}
orientation: ListView.Horizontal
spacing: 42
x: 260
y:422
model: folderModel
delegate: fileDelegate
}@