Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Window {
- id:_root
- width: 640
- height: 480
- visible: true
- title: qsTr("Hello World")
- ListView{
- id:_audioList
- clip: true
- width: 250
- height: 250
- anchors.right: _root.right
- model:AudioModel{
- list: audioWork
- }
- delegate:Button{
- id:_playAudioButton
- property var _pathToAudio: model.audioPath
- width: _audioList.width
- text: model.audioName
- onClicked: {
- audioWork.playAudio(_pathToAudio);
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement