1 Star 0 Fork 2

JIANCAI/MusicPlayer_QT5

forked from fword/MusicPlayer_QT5 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
widget.ui 19.49 KB
一键复制 编辑 原始数据 按行查看 历史
fword 提交于 2022-01-12 22:19 . add song duration
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>Widget</class>
<widget class="QWidget" name="Widget">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>1468</width>
<height>900</height>
</rect>
</property>
<property name="windowTitle">
<string>Widget</string>
</property>
<widget class="QWidget" name="layoutWidget">
<property name="geometry">
<rect>
<x>-1</x>
<y>0</y>
<width>1472</width>
<height>902</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout">
<property name="spacing">
<number>0</number>
</property>
<item row="0" column="0">
<widget class="QWidget" name="top_widget" native="true">
<property name="minimumSize">
<size>
<width>1470</width>
<height>80</height>
</size>
</property>
<property name="autoFillBackground">
<bool>false</bool>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<widget class="QPushButton" name="close_btn">
<property name="geometry">
<rect>
<x>1420</x>
<y>20</y>
<width>31</width>
<height>31</height>
</rect>
</property>
<property name="toolTip">
<string>关闭程序</string>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="Resources.qrc">
<normaloff>:/resource/close.svg</normaloff>:/resource/close.svg</iconset>
</property>
<property name="iconSize">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</widget>
<widget class="QPushButton" name="max_btn">
<property name="geometry">
<rect>
<x>1360</x>
<y>20</y>
<width>31</width>
<height>31</height>
</rect>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="Resources.qrc">
<normaloff>:/resource/chuangkou.svg</normaloff>:/resource/chuangkou.svg</iconset>
</property>
<property name="iconSize">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</widget>
<widget class="QPushButton" name="min_btn">
<property name="geometry">
<rect>
<x>1300</x>
<y>20</y>
<width>31</width>
<height>31</height>
</rect>
</property>
<property name="toolTip">
<string>最小化</string>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="Resources.qrc">
<normaloff>:/resource/minisize.svg</normaloff>:/resource/minisize.svg</iconset>
</property>
<property name="iconSize">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</widget>
<widget class="QPushButton" name="icon_btn">
<property name="geometry">
<rect>
<x>10</x>
<y>10</y>
<width>61</width>
<height>61</height>
</rect>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="Resources.qrc">
<normaloff>:/resource/icon.png</normaloff>:/resource/icon.png</iconset>
</property>
<property name="iconSize">
<size>
<width>40</width>
<height>40</height>
</size>
</property>
</widget>
<widget class="QPushButton" name="add_song">
<property name="geometry">
<rect>
<x>1240</x>
<y>20</y>
<width>31</width>
<height>31</height>
</rect>
</property>
<property name="toolTip">
<string>添加本地文件</string>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="Resources.qrc">
<normaloff>:/resource/open_folder.svg</normaloff>:/resource/open_folder.svg</iconset>
</property>
<property name="iconSize">
<size>
<width>25</width>
<height>25</height>
</size>
</property>
</widget>
</widget>
</item>
<item row="1" column="0">
<widget class="QWidget" name="show_widget" native="true">
<property name="minimumSize">
<size>
<width>1470</width>
<height>720</height>
</size>
</property>
<property name="autoFillBackground">
<bool>false</bool>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<widget class="QWidget" name="left_widget" native="true">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>231</width>
<height>731</height>
</rect>
</property>
<widget class="QListWidget" name="musiclist_listWidget">
<property name="geometry">
<rect>
<x>0</x>
<y>41</y>
<width>231</width>
<height>681</height>
</rect>
</property>
<property name="autoFillBackground">
<bool>false</bool>
</property>
</widget>
<widget class="QPushButton" name="add_music">
<property name="geometry">
<rect>
<x>180</x>
<y>10</y>
<width>21</width>
<height>20</height>
</rect>
</property>
<property name="toolTip">
<string>添加歌单</string>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="Resources.qrc">
<normaloff>:/resource/add.svg</normaloff>:/resource/add.svg</iconset>
</property>
<property name="iconSize">
<size>
<width>15</width>
<height>15</height>
</size>
</property>
</widget>
<widget class="QLabel" name="music_label">
<property name="geometry">
<rect>
<x>1</x>
<y>10</y>
<width>100</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>我的音乐</string>
</property>
</widget>
</widget>
<widget class="QTableWidget" name="music_list_table">
<property name="geometry">
<rect>
<x>230</x>
<y>0</y>
<width>1241</width>
<height>721</height>
</rect>
</property>
<property name="autoFillBackground">
<bool>true</bool>
</property>
<column>
<property name="text">
<string>音乐标题</string>
</property>
</column>
<column>
<property name="text">
<string>歌手</string>
</property>
</column>
<column>
<property name="text">
<string>专辑</string>
</property>
</column>
<column>
<property name="text">
<string>时长</string>
</property>
</column>
</widget>
<widget class="QWidget" name="lyrics_widget" native="true">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>1471</width>
<height>721</height>
</rect>
</property>
<widget class="QListWidget" name="lyrics_listwidget">
<property name="geometry">
<rect>
<x>660</x>
<y>110</y>
<width>721</width>
<height>541</height>
</rect>
</property>
</widget>
<widget class="QPushButton" name="picture_lw">
<property name="geometry">
<rect>
<x>120</x>
<y>150</y>
<width>400</width>
<height>400</height>
</rect>
</property>
<property name="text">
<string/>
</property>
</widget>
<widget class="QPushButton" name="collect_btn">
<property name="geometry">
<rect>
<x>220</x>
<y>570</y>
<width>41</width>
<height>41</height>
</rect>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="Resources.qrc">
<normaloff>:/resource/collect.svg</normaloff>:/resource/collect.svg</iconset>
</property>
<property name="iconSize">
<size>
<width>40</width>
<height>40</height>
</size>
</property>
</widget>
<widget class="QPushButton" name="favorite_btn">
<property name="geometry">
<rect>
<x>370</x>
<y>570</y>
<width>41</width>
<height>41</height>
</rect>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="Resources.qrc">
<normaloff>:/resource/favor.svg</normaloff>:/resource/favor.svg</iconset>
</property>
<property name="iconSize">
<size>
<width>35</width>
<height>35</height>
</size>
</property>
</widget>
<widget class="QLabel" name="songname_lw">
<property name="geometry">
<rect>
<x>660</x>
<y>10</y>
<width>191</width>
<height>51</height>
</rect>
</property>
<property name="text">
<string>未知歌名</string>
</property>
</widget>
<widget class="QLabel" name="singer_lw">
<property name="geometry">
<rect>
<x>660</x>
<y>70</y>
<width>121</width>
<height>21</height>
</rect>
</property>
<property name="text">
<string>歌手:未知歌手</string>
</property>
</widget>
<widget class="QLabel" name="album_lw">
<property name="geometry">
<rect>
<x>890</x>
<y>70</y>
<width>121</width>
<height>21</height>
</rect>
</property>
<property name="text">
<string>专辑:未知专辑</string>
</property>
</widget>
</widget>
<widget class="QWidget" name="playlist_widget" native="true">
<property name="geometry">
<rect>
<x>1020</x>
<y>0</y>
<width>451</width>
<height>721</height>
</rect>
</property>
<widget class="QTableWidget" name="playlist_tabel">
<property name="geometry">
<rect>
<x>0</x>
<y>91</y>
<width>451</width>
<height>631</height>
</rect>
</property>
<column>
<property name="text">
<string>歌曲</string>
</property>
</column>
<column>
<property name="text">
<string>歌手</string>
</property>
</column>
<column>
<property name="text">
<string>专辑</string>
</property>
</column>
</widget>
<widget class="QLabel" name="playlist_label">
<property name="geometry">
<rect>
<x>180</x>
<y>10</y>
<width>91</width>
<height>31</height>
</rect>
</property>
<property name="text">
<string>播放列表</string>
</property>
</widget>
<widget class="QLabel" name="playlist_num">
<property name="geometry">
<rect>
<x>0</x>
<y>50</y>
<width>91</width>
<height>31</height>
</rect>
</property>
<property name="text">
<string>数量:</string>
</property>
</widget>
</widget>
</widget>
</item>
<item row="2" column="0">
<widget class="QWidget" name="bottom_widget" native="true">
<property name="minimumSize">
<size>
<width>1470</width>
<height>100</height>
</size>
</property>
<widget class="MySlider" name="play_ctl_slider">
<property name="geometry">
<rect>
<x>390</x>
<y>60</y>
<width>681</width>
<height>20</height>
</rect>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
<widget class="QPushButton" name="pre_btn">
<property name="geometry">
<rect>
<x>620</x>
<y>20</y>
<width>50</width>
<height>41</height>
</rect>
</property>
<property name="toolTip">
<string>上一首</string>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="Resources.qrc">
<normaloff>:/resource/pre.svg</normaloff>:/resource/pre.svg</iconset>
</property>
<property name="iconSize">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</widget>
<widget class="QPushButton" name="play_btn">
<property name="geometry">
<rect>
<x>700</x>
<y>20</y>
<width>61</width>
<height>40</height>
</rect>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="Resources.qrc">
<normaloff>:/resource/play.svg</normaloff>:/resource/play.svg</iconset>
</property>
<property name="iconSize">
<size>
<width>40</width>
<height>40</height>
</size>
</property>
</widget>
<widget class="QPushButton" name="next_btn">
<property name="geometry">
<rect>
<x>790</x>
<y>20</y>
<width>50</width>
<height>41</height>
</rect>
</property>
<property name="toolTip">
<string>下一首</string>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="Resources.qrc">
<normaloff>:/resource/next.svg</normaloff>:/resource/next.svg</iconset>
</property>
<property name="iconSize">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</widget>
<widget class="QLabel" name="cur_music_time">
<property name="geometry">
<rect>
<x>340</x>
<y>60</y>
<width>50</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>00:00</string>
</property>
</widget>
<widget class="QLabel" name="total_music_time">
<property name="geometry">
<rect>
<x>1070</x>
<y>60</y>
<width>50</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>00:00</string>
</property>
</widget>
<widget class="QLabel" name="name_label">
<property name="geometry">
<rect>
<x>90</x>
<y>20</y>
<width>191</width>
<height>31</height>
</rect>
</property>
<property name="text">
<string/>
</property>
</widget>
<widget class="QLabel" name="singer_label">
<property name="geometry">
<rect>
<x>90</x>
<y>50</y>
<width>181</width>
<height>31</height>
</rect>
</property>
<property name="text">
<string/>
</property>
</widget>
<widget class="QPushButton" name="album">
<property name="geometry">
<rect>
<x>20</x>
<y>20</y>
<width>60</width>
<height>60</height>
</rect>
</property>
<property name="toolTip">
<string>打开/关闭歌词面板</string>
</property>
<property name="text">
<string/>
</property>
<property name="iconSize">
<size>
<width>55</width>
<height>55</height>
</size>
</property>
</widget>
<widget class="QSlider" name="voice_ctl_slider">
<property name="geometry">
<rect>
<x>1320</x>
<y>60</y>
<width>111</width>
<height>18</height>
</rect>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
<widget class="QPushButton" name="sound_btn">
<property name="geometry">
<rect>
<x>1280</x>
<y>50</y>
<width>41</width>
<height>41</height>
</rect>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="Resources.qrc">
<normaloff>:/resource/sound.svg</normaloff>:/resource/sound.svg</iconset>
</property>
<property name="iconSize">
<size>
<width>30</width>
<height>30</height>
</size>
</property>
</widget>
<widget class="QPushButton" name="playlist_btn">
<property name="geometry">
<rect>
<x>1230</x>
<y>50</y>
<width>41</width>
<height>41</height>
</rect>
</property>
<property name="toolTip">
<string>打开/关闭播放列表</string>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="Resources.qrc">
<normaloff>:/resource/playlist.svg</normaloff>:/resource/playlist.svg</iconset>
</property>
<property name="iconSize">
<size>
<width>30</width>
<height>30</height>
</size>
</property>
</widget>
<widget class="QPushButton" name="playmode_btn">
<property name="geometry">
<rect>
<x>1180</x>
<y>50</y>
<width>41</width>
<height>41</height>
</rect>
</property>
<property name="toolTip">
<string>顺序播放</string>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="Resources.qrc">
<normaloff>:/resource/orderplay.svg</normaloff>:/resource/orderplay.svg</iconset>
</property>
<property name="iconSize">
<size>
<width>30</width>
<height>30</height>
</size>
</property>
</widget>
<widget class="MyLabel" name="playmode_label">
<property name="geometry">
<rect>
<x>1160</x>
<y>10</y>
<width>81</width>
<height>31</height>
</rect>
</property>
<property name="text">
<string/>
</property>
</widget>
</widget>
</item>
</layout>
</widget>
</widget>
<customwidgets>
<customwidget>
<class>MySlider</class>
<extends>QSlider</extends>
<header location="global">myslider.h</header>
</customwidget>
<customwidget>
<class>MyLabel</class>
<extends>QLabel</extends>
<header location="global">myslider.h</header>
</customwidget>
</customwidgets>
<resources>
<include location="Resources.qrc"/>
</resources>
<connections/>
</ui>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/jiaanCai/Cplusplus.git
git@gitee.com:jiaanCai/Cplusplus.git
jiaanCai
Cplusplus
MusicPlayer_QT5
master

搜索帮助

D67c1975 1850385 1daf7b77 1850385