1 Star 0 Fork 0

dodofung/DemoCloudMusicPlayer

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
DetailLocalPageView.qml 1.28 KB
一键复制 编辑 原始数据 按行查看 历史
fengchao 提交于 2024-12-13 16:54 . AppBackground.qml
import QtQuick 2.0
import QtQuick.Controls 2.12
import QtQuick.Layouts 1.12
import QtQuick.Dialogs
ColumnLayout {
Rectangle
{
Layout.preferredHeight: 40
Layout.fillWidth: true
Layout.leftMargin: 10
color: "transparent"
Text {
text: qsTr("本地")
font.pointSize: 16
}
}
RowLayout{
Layout.leftMargin: 10
Layout.rightMargin: 10
Layout.fillWidth: true
Layout.preferredHeight: 50
Button{
text: "添加本地音乐"
width: 100
height: 40
onClicked: {
diagOpenMusic.open()
}
}
Button{
text: "刷新记录"
width: 100
height: 40
}
Button{
text: "情况记录"
width: 100
height: 40
}
}
MusicSongListView{
Layout.leftMargin: 10
Layout.rightMargin: 10
Layout.fillHeight: true
Layout.fillWidth: true
id:localSongListView
}
FileDialog{
id:diagOpenMusic
fileMode: FileDialog.OpenFiles
nameFilters: ["MP3 (*.mp3)","FLAC (*.flac)","All (*.*)"]
onAccepted: {
console.log(selectedFiles)
}
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/dodofung/demo-cloud-music-player.git
git@gitee.com:dodofung/demo-cloud-music-player.git
dodofung
demo-cloud-music-player
DemoCloudMusicPlayer
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385