├── .gitattributes ├── .gitignore ├── .vs └── MumuMusicPlayer │ └── v14 │ └── .suo ├── LICENSE ├── MumuMusicPlayer.VC.db ├── MumuMusicPlayer.pro ├── MumuMusicPlayer.sln ├── README.md ├── bin ├── FramelessWindow.dll ├── FramelessWindowd.dll ├── MuData.db ├── MuMediaHandler.dll ├── MumuMusic.exe ├── MumuMusic.ilk ├── MumuMusic.pdb ├── MumuMusicPlayer.exe ├── MumuMusicPlayer.pdb ├── TestDB.dat ├── TestDB1.dat ├── avcodec-58.dll ├── avdevice-58.dll ├── avfilter-7.dll ├── avformat-58.dll ├── avutil-56.dll ├── postproc-55.dll ├── swresample-3.dll └── swscale-5.dll ├── lib ├── FramelessWindow.dll ├── FramelessWindow.exp ├── FramelessWindow.lib ├── FramelessWindowd.dll ├── FramelessWindowd.exp ├── FramelessWindowd.ilk ├── FramelessWindowd.lib ├── FramelessWindowd.pdb ├── MuMediaHandler.dll ├── MuMediaHandler.exp ├── MuMediaHandler.ilk ├── MuMediaHandler.lib └── MuMediaHandler.pdb ├── samples ├── sample_1.png ├── sample_2.png └── sample_3.png ├── src ├── common.pri ├── lib │ ├── FramelessWindow.lib │ ├── FramelessWindowd.lib │ └── FramelessWindowd.pdb ├── libFramelessWindow │ ├── FramelessWindow.vcxproj │ ├── FramelessWindow.vcxproj.filters │ ├── FramelessWindow.vcxproj.user │ ├── FramelessWindow_Global.h │ ├── MuCursorPosCalculator.cpp │ ├── MuCursorPosCalculator.h │ ├── MuCustomWindow.cpp │ ├── MuCustomWindow.h │ ├── MuFramelessHelper.cpp │ ├── MuFramelessHelper.h │ ├── MuFramelessHelperPrivate.h │ ├── MuShadowWidget.cpp │ ├── MuShadowWidget.h │ ├── MuShadowWindow.h │ ├── MuTitleBar.cpp │ ├── MuTitleBar.h │ ├── MuWidgetData.cpp │ ├── MuWidgetData.h │ ├── MuWinDWMAPI.cpp │ ├── MuWinDWMAPI.h │ ├── Win32 │ │ └── Debug │ │ │ ├── FramelessWindow.log │ │ │ ├── FramelessWindow.tlog │ │ │ ├── CL.command.1.tlog │ │ │ ├── CL.read.1.tlog │ │ │ ├── CL.write.1.tlog │ │ │ ├── FramelessWindow.lastbuildstate │ │ │ ├── FramelessWindow.write.1u.tlog │ │ │ ├── QtMoc.read.1u.tlog │ │ │ ├── QtMoc.write.1u.tlog │ │ │ ├── QtRcc.read.1u.tlog │ │ │ ├── QtRcc.write.1u.tlog │ │ │ ├── custombuild.command.1.tlog │ │ │ ├── custombuild.read.1.tlog │ │ │ ├── custombuild.write.1.tlog │ │ │ ├── link.command.1.tlog │ │ │ ├── link.read.1.tlog │ │ │ └── link.write.1.tlog │ │ │ ├── MuCursorPosCalculator.obj │ │ │ ├── MuCustomWindow.obj │ │ │ ├── MuFramelessHelper.obj │ │ │ ├── MuShadowWidget.obj │ │ │ ├── MuTitleBar.obj │ │ │ ├── MuWidgetData.obj │ │ │ ├── MuWinDWMAPI.obj │ │ │ ├── moc_MuCustomWindow.obj │ │ │ ├── moc_MuFramelessHelper.obj │ │ │ ├── moc_MuShadowWidget.obj │ │ │ ├── moc_MuTitleBar.obj │ │ │ ├── qrc_images.obj │ │ │ ├── qt.log │ │ │ └── vc140.pdb │ ├── debug │ │ └── moc_predefs.h.cbt │ ├── images.qrc │ ├── images │ │ ├── closeBtnBlack_16.png │ │ ├── closeBtnWhite_16.png │ │ ├── errorRed_48.png │ │ ├── informationBlue_48.png │ │ ├── logo.jpg │ │ ├── maximizeBtnBlack_16.png │ │ ├── maximizeBtnWhite_16.png │ │ ├── minimizeBtnBlack_16.png │ │ ├── minimizeBtnWhite_16.png │ │ ├── questionBlue_48.png │ │ ├── restoreBlack_16.png │ │ ├── restoreWhite_16.png │ │ ├── successGreen_48.png │ │ └── warningYellow_48.png │ ├── libFramelessWindow.pri │ ├── libFramelessWindow.pro │ └── release │ │ └── moc_predefs.h.cbt ├── libMuMediaHandler │ ├── MuMediaHandler.vcxproj │ ├── MuMediaHandler.vcxproj.filters │ ├── MuMediaHandler.vcxproj.user │ ├── Win32 │ │ ├── Debug │ │ │ ├── MuMedia.obj │ │ │ ├── MuMediaHandler.log │ │ │ ├── MuMediaHandler.tlog │ │ │ │ ├── CL.command.1.tlog │ │ │ │ ├── CL.read.1.tlog │ │ │ │ ├── CL.write.1.tlog │ │ │ │ ├── MuMediaHandler.lastbuildstate │ │ │ │ ├── MuMediaHandler.write.1u.tlog │ │ │ │ ├── link.command.1.tlog │ │ │ │ ├── link.read.1.tlog │ │ │ │ └── link.write.1.tlog │ │ │ └── vc140.pdb │ │ └── Release │ │ │ ├── MuMedia.obj │ │ │ ├── MuMediaHandler.log │ │ │ └── MuMediaHandler.tlog │ │ │ ├── CL.command.1.tlog │ │ │ ├── CL.read.1.tlog │ │ │ ├── CL.write.1.tlog │ │ │ ├── MuMediaHandler.lastbuildstate │ │ │ ├── MuMediaHandler.write.1u.tlog │ │ │ ├── link.command.1.tlog │ │ │ ├── link.read.1.tlog │ │ │ └── link.write.1.tlog │ ├── include │ │ ├── libavcodec │ │ │ ├── ac3_parser.h │ │ │ ├── adts_parser.h │ │ │ ├── avcodec.h │ │ │ ├── avdct.h │ │ │ ├── avfft.h │ │ │ ├── d3d11va.h │ │ │ ├── dirac.h │ │ │ ├── dv_profile.h │ │ │ ├── dxva2.h │ │ │ ├── jni.h │ │ │ ├── mediacodec.h │ │ │ ├── qsv.h │ │ │ ├── vaapi.h │ │ │ ├── vdpau.h │ │ │ ├── version.h │ │ │ ├── videotoolbox.h │ │ │ ├── vorbis_parser.h │ │ │ └── xvmc.h │ │ ├── libavdevice │ │ │ ├── avdevice.h │ │ │ └── version.h │ │ ├── libavfilter │ │ │ ├── avfilter.h │ │ │ ├── buffersink.h │ │ │ ├── buffersrc.h │ │ │ └── version.h │ │ ├── libavformat │ │ │ ├── avformat.h │ │ │ ├── avio.h │ │ │ └── version.h │ │ ├── libavutil │ │ │ ├── adler32.h │ │ │ ├── aes.h │ │ │ ├── aes_ctr.h │ │ │ ├── attributes.h │ │ │ ├── audio_fifo.h │ │ │ ├── avassert.h │ │ │ ├── avconfig.h │ │ │ ├── avstring.h │ │ │ ├── avutil.h │ │ │ ├── base64.h │ │ │ ├── blowfish.h │ │ │ ├── bprint.h │ │ │ ├── bswap.h │ │ │ ├── buffer.h │ │ │ ├── camellia.h │ │ │ ├── cast5.h │ │ │ ├── channel_layout.h │ │ │ ├── common.h │ │ │ ├── cpu.h │ │ │ ├── crc.h │ │ │ ├── des.h │ │ │ ├── dict.h │ │ │ ├── display.h │ │ │ ├── downmix_info.h │ │ │ ├── encryption_info.h │ │ │ ├── error.h │ │ │ ├── eval.h │ │ │ ├── ffversion.h │ │ │ ├── fifo.h │ │ │ ├── file.h │ │ │ ├── frame.h │ │ │ ├── hash.h │ │ │ ├── hmac.h │ │ │ ├── hwcontext.h │ │ │ ├── hwcontext_cuda.h │ │ │ ├── hwcontext_d3d11va.h │ │ │ ├── hwcontext_drm.h │ │ │ ├── hwcontext_dxva2.h │ │ │ ├── hwcontext_mediacodec.h │ │ │ ├── hwcontext_qsv.h │ │ │ ├── hwcontext_vaapi.h │ │ │ ├── hwcontext_vdpau.h │ │ │ ├── hwcontext_videotoolbox.h │ │ │ ├── imgutils.h │ │ │ ├── intfloat.h │ │ │ ├── intreadwrite.h │ │ │ ├── lfg.h │ │ │ ├── log.h │ │ │ ├── lzo.h │ │ │ ├── macros.h │ │ │ ├── mastering_display_metadata.h │ │ │ ├── mathematics.h │ │ │ ├── md5.h │ │ │ ├── mem.h │ │ │ ├── motion_vector.h │ │ │ ├── murmur3.h │ │ │ ├── opt.h │ │ │ ├── parseutils.h │ │ │ ├── pixdesc.h │ │ │ ├── pixelutils.h │ │ │ ├── pixfmt.h │ │ │ ├── random_seed.h │ │ │ ├── rational.h │ │ │ ├── rc4.h │ │ │ ├── replaygain.h │ │ │ ├── ripemd.h │ │ │ ├── samplefmt.h │ │ │ ├── sha.h │ │ │ ├── sha512.h │ │ │ ├── spherical.h │ │ │ ├── stereo3d.h │ │ │ ├── tea.h │ │ │ ├── threadmessage.h │ │ │ ├── time.h │ │ │ ├── timecode.h │ │ │ ├── timestamp.h │ │ │ ├── tree.h │ │ │ ├── twofish.h │ │ │ ├── version.h │ │ │ └── xtea.h │ │ ├── libpostproc │ │ │ ├── postprocess.h │ │ │ └── version.h │ │ ├── libswresample │ │ │ ├── swresample.h │ │ │ └── version.h │ │ └── libswscale │ │ │ ├── swscale.h │ │ │ └── version.h │ ├── lib │ │ ├── avcodec.lib │ │ ├── avdevice.lib │ │ ├── avfilter.lib │ │ ├── avformat.lib │ │ ├── avutil.lib │ │ ├── dsound.lib │ │ ├── dxguid.lib │ │ ├── postproc.lib │ │ ├── swresample.lib │ │ └── swscale.lib │ ├── libMuMediaHandler.pri │ ├── libMuMediaHandler.pro │ └── src │ │ ├── MuMedia.cpp │ │ ├── MuMedia.h │ │ ├── MuMedia_p.h │ │ └── libMuMediaHandler_Global.h └── player │ ├── MuGlobal.h │ ├── MumuMusic.vcxproj │ ├── MumuMusic.vcxproj.filters │ ├── MumuMusic.vcxproj.user │ ├── MumuMusicPlayer.vcxproj.user │ ├── Win32 │ └── Debug │ │ ├── MuBaseWidget.obj │ │ ├── MuCentralWidget.obj │ │ ├── MuConversionTool.obj │ │ ├── MuCreatePlayListDlgUI.obj │ │ ├── MuDBManager.obj │ │ ├── MuDialogUI.obj │ │ ├── MuImageHandler.obj │ │ ├── MuListView.obj │ │ ├── MuListViewItemDelegate.obj │ │ ├── MuListWidgetItem.obj │ │ ├── MuLocalMusicDetailUI.obj │ │ ├── MuLocalMusicTableAreaUI.obj │ │ ├── MuLocalMusicWidgetUI.obj │ │ ├── MuMainWindow.obj │ │ ├── MuMusicMangeWidget.obj │ │ ├── MuPlayListMainWidgetUI.obj │ │ ├── MuPlayStatusBar.obj │ │ ├── MuPlayStatusBarUI.obj │ │ ├── MuPopupWidgetButton.obj │ │ ├── MuScrollArea.obj │ │ ├── MuSelectLocalMusicWidgetUI.obj │ │ ├── MuShadowWidget.obj │ │ ├── MuSmallControls.obj │ │ ├── MuStyleHelper.obj │ │ ├── MuTableManageMenu.obj │ │ ├── MuTableView.obj │ │ ├── MuTableViewHelper.obj │ │ ├── MuTestMainWidget.obj │ │ ├── MuToolbox.obj │ │ ├── MumuMusic.log │ │ ├── MumuMusic.tlog │ │ ├── CL.command.1.tlog │ │ ├── CL.read.1.tlog │ │ ├── CL.write.1.tlog │ │ ├── MumuMusic.lastbuildstate │ │ ├── MumuMusic.write.1u.tlog │ │ ├── QtMoc.read.1u.tlog │ │ ├── QtMoc.write.1u.tlog │ │ ├── QtRcc.read.1u.tlog │ │ ├── QtRcc.write.1u.tlog │ │ ├── QtUic.read.1u.tlog │ │ ├── QtUic.write.1u.tlog │ │ ├── custombuild.command.1.tlog │ │ ├── custombuild.read.1.tlog │ │ ├── custombuild.write.1.tlog │ │ ├── link.command.1.tlog │ │ ├── link.read.1.tlog │ │ └── link.write.1.tlog │ │ ├── main.obj │ │ ├── moc_MuBaseWidget.obj │ │ ├── moc_MuCentralWidget.obj │ │ ├── moc_MuConversionTool.obj │ │ ├── moc_MuCreatePlayListDlgUI.obj │ │ ├── moc_MuDBManager.obj │ │ ├── moc_MuDialogUI.obj │ │ ├── moc_MuImageHandler.obj │ │ ├── moc_MuListView.obj │ │ ├── moc_MuListViewItemDelegate.obj │ │ ├── moc_MuListWidgetItem.obj │ │ ├── moc_MuLocalMusicDetailUI.obj │ │ ├── moc_MuLocalMusicTableAreaUI.obj │ │ ├── moc_MuLocalMusicWidgetUI.obj │ │ ├── moc_MuMainWindow.obj │ │ ├── moc_MuMusicMangeWidget.obj │ │ ├── moc_MuPlayListMainWidgetUI.obj │ │ ├── moc_MuPlayStatusBar.obj │ │ ├── moc_MuPlayStatusBarUI.obj │ │ ├── moc_MuPopupWidgetButton.obj │ │ ├── moc_MuScrollArea.obj │ │ ├── moc_MuSelectLocalMusicWidgetUI.obj │ │ ├── moc_MuShadowWidget.obj │ │ ├── moc_MuSmallControls.obj │ │ ├── moc_MuTableManageMenu.obj │ │ ├── moc_MuTableView.obj │ │ ├── moc_MuTableViewHelper.obj │ │ ├── moc_MuTestMainWidget.obj │ │ ├── moc_MuToolbox.obj │ │ ├── qrc_gif.obj │ │ ├── qrc_i18n.obj │ │ ├── qrc_images.obj │ │ ├── qrc_styles.obj │ │ ├── qrc_testImgs.obj │ │ ├── qt.log │ │ └── vc140.pdb │ ├── core │ ├── MuDBManager.cpp │ ├── MuDBManager.h │ ├── MuLocalMusicManager.cpp │ ├── MuLocalMusicManager.h │ └── MuLocalMusicManager_p.h │ ├── debug │ └── moc_predefs.h.cbt │ ├── main.cpp │ ├── player.pro │ ├── release │ └── moc_predefs.h.cbt │ ├── resources │ ├── gif.qrc │ ├── gif │ │ └── updating.gif │ ├── i18n.qrc │ ├── i18n │ │ ├── zh_cn.qm │ │ └── zh_cn.ts │ ├── images.qrc │ ├── images │ │ ├── 1.png │ │ ├── 11.png │ │ ├── 1111.png │ │ ├── 1212.png │ │ ├── 1234.png │ │ ├── 123456.png │ │ ├── 2.png │ │ ├── 22.png │ │ ├── 2222.png │ │ ├── 4444444.png │ │ ├── 555.png │ │ ├── 77777.png │ │ ├── Album32_.psd │ │ ├── Album32_515151.png │ │ ├── Album32_8a8a8a.png │ │ ├── Album32_ffffff.png │ │ ├── Complete32_c62f2f.png │ │ ├── addPlaylist32_Gray.png │ │ ├── addPlaylist32_LightGray.png │ │ ├── addToPlayingListBtn32_White.png │ │ ├── back_play.png │ │ ├── checked16_c62f2f.png │ │ ├── client-shadow.png │ │ ├── closeBtn32_515151.png │ │ ├── closeBtn32_8a8a8a.png │ │ ├── closeBtn32_Gray.png │ │ ├── closeBtn32_White.png │ │ ├── collectBtn32_DarkGray.png │ │ ├── collectBtn32_Gray.png │ │ ├── downArrow32_Gray.png │ │ ├── downArrow32_LightGray.png │ │ ├── download32_Black.png │ │ ├── download32_Gray.png │ │ ├── editListInfoBtn32_Gray.png │ │ ├── editListInfoBtn32_LightGray.png │ │ ├── favoriteBtn16_2c2c2c.png │ │ ├── favoriteBtn16_8a8a8a.png │ │ ├── favoriteBtn16_b12323.png │ │ ├── favoriteBtn16_c62f2f.png │ │ ├── favoritePlaylist128_White.png │ │ ├── favoriteSongsList32_Black.png │ │ ├── favoriteSongsList32_Gray.png │ │ ├── folder32_515151.png │ │ ├── folder32_8a8a8a.png │ │ ├── folder32_ffffff.png │ │ ├── list32_515151.png │ │ ├── list32_8a8a8a.png │ │ ├── list32_ffffff.png │ │ ├── listRepeat32_DarkGray.png │ │ ├── listRepeat32_Gray.png │ │ ├── list_cd.png │ │ ├── list_cd.psd │ │ ├── logo.jpg │ │ ├── logo.png │ │ ├── matchBtn32_2c2c2c.png │ │ ├── matchBtn32_515151.png │ │ ├── maxBtn32_Gray.png │ │ ├── maxBtn32_White.png │ │ ├── menuAddToList32_515151.png │ │ ├── menuAddToList32_515151bak.png │ │ ├── menuCopyLink32_515151.png │ │ ├── menuDelete32_515151.png │ │ ├── menuDelete32_515151bak.png │ │ ├── menuOpenFolder32_515151.png │ │ ├── menuPlay32_515151.png │ │ ├── menuPlay32_515151bak1.png │ │ ├── menuPlayNext32_515151.png │ │ ├── menuPlayNext32_515151bak.png │ │ ├── menuShare32_515151.png │ │ ├── menuShare32_515151bak.png │ │ ├── menuUpload32_515151.png │ │ ├── menuUpload32_515151bak.png │ │ ├── minBtn32_Gray.png │ │ ├── minBtn32_White.png │ │ ├── myCollect32_Black.png │ │ ├── myCollect32_Gray.png │ │ ├── nativeMusic32_Black.png │ │ ├── nativeMusic32_LightGray.png │ │ ├── nextSongBtn48_White.png │ │ ├── openListBtn32_DarkGray.png │ │ ├── openListBtn32_Gray.png │ │ ├── orderPlay32_DarkGray.png │ │ ├── orderPlay32_Gray.png │ │ ├── pauseBtn48_White.png │ │ ├── playAllBtn32_White.png │ │ ├── playBtn48_White.png │ │ ├── playPbHandle16_White.png │ │ ├── playing32_Red.png │ │ ├── preSontBtn48_White.png │ │ ├── randomPlay32_DarkGray.png │ │ ├── randomPlay32_Gray.png │ │ ├── restoreBtn32_Gray.png │ │ ├── restoreBtn32_White.png │ │ ├── rightArrow32_Gray.png │ │ ├── rightArrow32_LightGray.png │ │ ├── searchAction32_LightGray.png │ │ ├── shareBtn32_DarkGray.png │ │ ├── shareBtn32_Gray.png │ │ ├── singer32_515151.png │ │ ├── singer32_8a8a8a.png │ │ ├── singer32_ffffff.png │ │ ├── singleRepeat32_DarkGray.png │ │ ├── singleRepeat32_Gray.png │ │ ├── skinBtn32_Gray.png │ │ ├── skinBtn32_White.png │ │ ├── sort116_707070.png │ │ ├── sort216_707070.png │ │ ├── sort316_707070.png │ │ ├── tableDownloadDone32_409ed1.png │ │ ├── tableFavoriteBtn32_2c2c2c.png │ │ ├── tableFavoriteBtn32_b0b0b0.png │ │ ├── tableFavoriteBtn32_b12323.png │ │ ├── tableFavoriteBtn32_c62f2f.png │ │ ├── talbleDownloadBtn16_2c2c2c.png │ │ ├── talbleDownloadBtn16_8a8a8a.png │ │ ├── talbleDownloadBtn32_2c2c2c.png │ │ ├── talbleDownloadBtn32_8a8a8a.png │ │ ├── talbleDownloadBtn32_b0b0b0.png │ │ ├── talbleDownloadBtn32_bfbfbf.png │ │ ├── toPlay32_Red.png │ │ ├── viewComments32_515151.bakpng │ │ ├── viewComments32_515151.png │ │ ├── voiceHigh32_Gray.png │ │ ├── voiceLow32_Gray.png │ │ ├── voiceMedium32_Gray.png │ │ ├── voiceMute32_Gray.png │ │ ├── 下箭头.png │ │ └── 最大化 (1).png │ ├── styles.qrc │ ├── styles │ │ └── red.qss │ ├── testImages │ │ ├── HotDog.jpg │ │ ├── PACT.jpg │ │ ├── li.jpg │ │ ├── logo.jpg │ │ ├── yang.jpg │ │ └── zhang.jpg │ └── testImgs.qrc │ ├── test │ ├── MuTestMainWidget.cpp │ └── MuTestMainWidget.h │ ├── ui │ ├── MuCreatePlayListDlgUI.cpp │ ├── MuCreatePlayListDlgUI.h │ ├── MuCreatePlayListDlgUI.ui │ ├── MuDialogUI.cpp │ ├── MuDialogUI.h │ ├── MuDialogUI.ui │ ├── MuLocalMusicDetailUI - 副本.ui │ ├── MuLocalMusicDetailUI.cpp │ ├── MuLocalMusicDetailUI.h │ ├── MuLocalMusicDetailUI.ui │ ├── MuLocalMusicTableAreaUI.cpp │ ├── MuLocalMusicTableAreaUI.h │ ├── MuLocalMusicTableAreaUI.ui │ ├── MuLocalMusicWidgetUI.cpp │ ├── MuLocalMusicWidgetUI.h │ ├── MuLocalMusicWidgetUI.ui │ ├── MuPlayListMainWidgetUI.cpp │ ├── MuPlayListMainWidgetUI.h │ ├── MuPlayListMainWidgetUI.ui │ ├── MuPlayStatusBarUI.cpp │ ├── MuPlayStatusBarUI.h │ ├── MuPlayStatusBarUI.ui │ ├── MuSelectLocalMusicWidgetUI.cpp │ ├── MuSelectLocalMusicWidgetUI.h │ └── MuSelectLocalMusicWidgetUI.ui │ ├── utils │ ├── MuConversionTool.cpp │ ├── MuConversionTool.h │ ├── MuImageHandler.cpp │ ├── MuImageHandler.h │ ├── MuStyleHelper.cpp │ └── MuStyleHelper.h │ └── widgets │ ├── MuBaseWidget.cpp │ ├── MuListView.cpp │ ├── MuListView.h │ ├── MuListViewItemDelegate.cpp │ ├── MuListViewItemDelegate.h │ ├── MuListWidgetItem.cpp │ ├── MuListWidgetItem.h │ ├── MuMainWindow.cpp │ ├── MuMainWindow.h │ ├── MuMusicMangeWidget.cpp │ ├── MuMusicMangeWidget.h │ ├── MuPlayStatusBar.cpp │ ├── MuPlayStatusBar.h │ ├── MuPopupWidgetButton.cpp │ ├── MuPopupWidgetButton.h │ ├── MuScrollArea.cpp │ ├── MuScrollArea.h │ ├── MuShadowWidget.cpp │ ├── MuShadowWidget.h │ ├── MuSmallControls.cpp │ ├── MuSmallControls.h │ ├── MuTableManageMenu.cpp │ ├── MuTableManageMenu.h │ ├── MuTableView.cpp │ ├── MuTableView.h │ ├── MuTableViewHelper.cpp │ ├── MuTableViewHelper.h │ ├── MuToolBox.cpp │ ├── MuToolBox.h │ ├── MubaseWidget.h │ ├── MucentralWidget.cpp │ └── MucentralWidget.h └── test └── main.cpp /.gitattributes: -------------------------------------------------------------------------------- 1 | *.cpp linguist-language=c++ 2 | 3 | *.pro linguist-language=Qt 4 | 5 | *.pri linguist-language=Qt 6 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # C++ objects and libs 2 | *.slo 3 | *.lo 4 | *.o 5 | *.a 6 | *.la 7 | *.lai 8 | *.so 9 | *.dylib 10 | 11 | # Qt-es 12 | object_script.*.Release 13 | object_script.*.Debug 14 | *_plugin_import.cpp 15 | /.qmake.cache 16 | /.qmake.stash 17 | *.pro.user 18 | *.pro.user.* 19 | *.qbs.user 20 | *.qbs.user.* 21 | *.moc 22 | moc_*.cpp 23 | moc_*.h 24 | qrc_*.cpp 25 | ui_*.h 26 | *.qmlc 27 | *.jsc 28 | Makefile* 29 | *build-* 30 | 31 | # Qt unit tests 32 | target_wrapper.* 33 | 34 | # QtCreator 35 | *.autosave 36 | 37 | # QtCreator Qml 38 | *.qmlproject.user 39 | *.qmlproject.user.* 40 | 41 | # QtCreator CMake 42 | CMakeLists.txt.user* 43 | 44 | # vs 45 | src/player/debug 46 | src/player/release 47 | src/player/GeneratedFiles 48 | src/player/Win32 49 | -------------------------------------------------------------------------------- /.vs/MumuMusicPlayer/v14/.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/.vs/MumuMusicPlayer/v14/.suo -------------------------------------------------------------------------------- /MumuMusicPlayer.VC.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/MumuMusicPlayer.VC.db -------------------------------------------------------------------------------- /MumuMusicPlayer.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE = subdirs 2 | 3 | CONFIG += ordered 4 | 5 | SUBDIRS += src/libFramelessWindow \ 6 | src/player \ 7 | src/libMuMediaHandler 8 | 9 | #TRANSLATIONS += $$PWD/src/player/resources/i18n/zh_cn.ts 10 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # MumuMusic 2 | 基于Qt的模仿网易云音乐界面的app 3 | 4 | # 开发中。。。 5 | 6 | ![image](https://github.com/FlyWM/MumuMusic/blob/master/samples/sample_1.png) 7 | 8 | ![image](https://github.com/FlyWM/MumuMusic/blob/master/samples/sample_2.png) 9 | 10 | ![image](https://github.com/FlyWM/MumuMusic/blob/master/samples/sample_3.png) 11 | -------------------------------------------------------------------------------- /bin/FramelessWindow.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/bin/FramelessWindow.dll -------------------------------------------------------------------------------- /bin/FramelessWindowd.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/bin/FramelessWindowd.dll -------------------------------------------------------------------------------- /bin/MuData.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/bin/MuData.db -------------------------------------------------------------------------------- /bin/MuMediaHandler.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/bin/MuMediaHandler.dll -------------------------------------------------------------------------------- /bin/MumuMusic.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/bin/MumuMusic.exe -------------------------------------------------------------------------------- /bin/MumuMusic.ilk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/bin/MumuMusic.ilk -------------------------------------------------------------------------------- /bin/MumuMusic.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/bin/MumuMusic.pdb -------------------------------------------------------------------------------- /bin/MumuMusicPlayer.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/bin/MumuMusicPlayer.exe -------------------------------------------------------------------------------- /bin/MumuMusicPlayer.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/bin/MumuMusicPlayer.pdb -------------------------------------------------------------------------------- /bin/TestDB.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/bin/TestDB.dat -------------------------------------------------------------------------------- /bin/TestDB1.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/bin/TestDB1.dat -------------------------------------------------------------------------------- /bin/avcodec-58.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/bin/avcodec-58.dll -------------------------------------------------------------------------------- /bin/avdevice-58.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/bin/avdevice-58.dll -------------------------------------------------------------------------------- /bin/avfilter-7.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/bin/avfilter-7.dll -------------------------------------------------------------------------------- /bin/avformat-58.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/bin/avformat-58.dll -------------------------------------------------------------------------------- /bin/avutil-56.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/bin/avutil-56.dll -------------------------------------------------------------------------------- /bin/postproc-55.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/bin/postproc-55.dll -------------------------------------------------------------------------------- /bin/swresample-3.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/bin/swresample-3.dll -------------------------------------------------------------------------------- /bin/swscale-5.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/bin/swscale-5.dll -------------------------------------------------------------------------------- /lib/FramelessWindow.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/lib/FramelessWindow.dll -------------------------------------------------------------------------------- /lib/FramelessWindow.exp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/lib/FramelessWindow.exp -------------------------------------------------------------------------------- /lib/FramelessWindow.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/lib/FramelessWindow.lib -------------------------------------------------------------------------------- /lib/FramelessWindowd.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/lib/FramelessWindowd.dll -------------------------------------------------------------------------------- /lib/FramelessWindowd.exp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/lib/FramelessWindowd.exp -------------------------------------------------------------------------------- /lib/FramelessWindowd.ilk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/lib/FramelessWindowd.ilk -------------------------------------------------------------------------------- /lib/FramelessWindowd.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/lib/FramelessWindowd.lib -------------------------------------------------------------------------------- /lib/FramelessWindowd.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/lib/FramelessWindowd.pdb -------------------------------------------------------------------------------- /lib/MuMediaHandler.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/lib/MuMediaHandler.dll -------------------------------------------------------------------------------- /lib/MuMediaHandler.exp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/lib/MuMediaHandler.exp -------------------------------------------------------------------------------- /lib/MuMediaHandler.ilk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/lib/MuMediaHandler.ilk -------------------------------------------------------------------------------- /lib/MuMediaHandler.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/lib/MuMediaHandler.lib -------------------------------------------------------------------------------- /lib/MuMediaHandler.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/lib/MuMediaHandler.pdb -------------------------------------------------------------------------------- /samples/sample_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/samples/sample_1.png -------------------------------------------------------------------------------- /samples/sample_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/samples/sample_2.png -------------------------------------------------------------------------------- /samples/sample_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/samples/sample_3.png -------------------------------------------------------------------------------- /src/common.pri: -------------------------------------------------------------------------------- 1 | # libFramelessWindow 和 libTest 通用 pri 文件 2 | 3 | # bin 目录 4 | PROJECT_BINDIR = $$PWD/../bin 5 | 6 | # lib目录 7 | PROJECT_LIBDIR = $$PWD/../lib 8 | -------------------------------------------------------------------------------- /src/lib/FramelessWindow.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/lib/FramelessWindow.lib -------------------------------------------------------------------------------- /src/lib/FramelessWindowd.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/lib/FramelessWindowd.lib -------------------------------------------------------------------------------- /src/lib/FramelessWindowd.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/lib/FramelessWindowd.pdb -------------------------------------------------------------------------------- /src/libFramelessWindow/FramelessWindow.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | D:\Qt\Qt5.9.6\5.9.6\msvc2015 6 | PATH=$(QTDIR)\bin%3b$(PATH) 7 | 8 | 9 | D:\Qt\Qt5.9.6\5.9.6\msvc2015 10 | PATH=$(QTDIR)\bin%3b$(PATH) 11 | 12 | -------------------------------------------------------------------------------- /src/libFramelessWindow/FramelessWindow_Global.h: -------------------------------------------------------------------------------- 1 | /** 2 | * 自定义无边框窗体、对话框和提示框 3 | * 4 | * FramelessWindow_Global.h 5 | * 6 | * FlyWM_ 7 | * GitHub: https://github.com/FlyWM 8 | * CSDN: https://blog.csdn.net/a844651990 9 | * 10 | */ 11 | 12 | #ifndef FRAMELESSWINDOW_GLOBAL_H 13 | #define FRAMELESSWINDOW_GLOBAL_H 14 | 15 | #include 16 | 17 | #if defined(FRAMELESSWINDOW_LIBRARY) 18 | # define FRAMELESSWINDOWSHARED_EXPORT Q_DECL_EXPORT 19 | #else 20 | # define FRAMELESSWINDOWSHARED_EXPORT Q_DECL_IMPORT 21 | #endif 22 | 23 | #endif // FRAMELESSWINDOW_GLOBAL_H 24 | -------------------------------------------------------------------------------- /src/libFramelessWindow/MuCursorPosCalculator.h: -------------------------------------------------------------------------------- 1 | /** 2 | * 自定义无边框窗体、对话框和提示框 3 | * 4 | * MuCursorPosCalculator.h 5 | * 计算鼠标是否位于左、上、右、下、左上角、左下角、右上角、右下角 6 | * 7 | * FlyWM_ 8 | * GitHub: https://github.com/FlyWM 9 | * CSDN: https://blog.csdn.net/a844651990 10 | * 11 | */ 12 | 13 | #ifndef MUCURSORPOSCALCULATOR_H 14 | #define MUCURSORPOSCALCULATOR_H 15 | 16 | /** 17 | * @brief The CursorPosCalculator class 18 | * 计算鼠标是否位于左、上、右、下、左上角、左下角、右上角、右下角 19 | */ 20 | class QPoint; 21 | class QRect; 22 | class MuCursorPosCalculator 23 | { 24 | public: 25 | explicit MuCursorPosCalculator(); 26 | void reset(); 27 | void recalculate(const QPoint &gMousePos, const QRect &frameRect); 28 | 29 | public: 30 | bool m_bOnEdges : true; 31 | bool m_bOnLeftEdge : true; 32 | bool m_bOnRightEdge : true; 33 | bool m_bOnTopEdge : true; 34 | bool m_bOnBottomEdge : true; 35 | bool m_bOnTopLeftEdge : true; 36 | bool m_bOnBottomLeftEdge : true; 37 | bool m_bOnTopRightEdge : true; 38 | bool m_bOnBottomRightEdge : true; 39 | 40 | static int m_nBorderWidth; 41 | static int m_nTitleHeight; 42 | static int m_nShadowWidth; 43 | }; 44 | 45 | #endif // MuCURSORPOSCALCULATOR_H 46 | -------------------------------------------------------------------------------- /src/libFramelessWindow/MuFramelessHelperPrivate.h: -------------------------------------------------------------------------------- 1 | /** 2 | * 自定义无边框窗体、对话框和提示框 3 | * 4 | * MuFramelessHelperPrivate.h 5 | * 存储界面对应的数据集合,以及是否可移动、可缩放属性。 6 | * 7 | * FlyWM_ 8 | * GitHub: https://github.com/FlyWM 9 | * CSDN: https://blog.csdn.net/a844651990 10 | * 11 | */ 12 | 13 | #ifndef MUFRAMELESSHELPERPRIVATE_H 14 | #define MUFRAMELESSHELPERPRIVATE_H 15 | 16 | #include 17 | #include 18 | #include "MuWidgetData.h" 19 | 20 | /** 21 | * @brief The FramelessHelperPrivate class 22 | * 存储界面对应的数据集合,以及是否可移动、可缩放属性 23 | */ 24 | class MuFramelessHelperPrivate 25 | { 26 | public: 27 | QHash m_widgetDataHash; 28 | int m_nShadowWidth; 29 | bool m_bWidgetMovable : true; 30 | bool m_bWidgetResizable : true; 31 | bool m_bRubberBandOnResize : true; 32 | bool m_bRubberBandOnMove : true; 33 | }; 34 | 35 | #endif // MUFRAMELESSHELPERPRIVATE_H 36 | -------------------------------------------------------------------------------- /src/libFramelessWindow/MuShadowWidget.h: -------------------------------------------------------------------------------- 1 | /** 2 | * 自定义无边框窗体、对话框和提示框 3 | * 4 | * MuShadowWidget.h 5 | * 实现边框阴影 6 | * 7 | * FlyWM_ 8 | * GitHub: https://github.com/FlyWM 9 | * CSDN: https://blog.csdn.net/a844651990 10 | * 11 | */ 12 | 13 | #ifndef MUSHADOWWIDGET_H 14 | #define MUSHADOWWIDGET_H 15 | 16 | #include 17 | #include "FramelessWindow_Global.h" 18 | 19 | class MuSkin9GridImage 20 | { 21 | protected: 22 | QImage m_img; 23 | QRect m_arrayImageGrid[9]; 24 | // 25 | bool clear(); 26 | public: 27 | static bool splitRect(const QRect& rcSrc, QPoint ptTopLeft, QRect* parrayRect, int nArrayCount); 28 | bool setImage(const QImage& image, QPoint ptTopLeft); 29 | void drawBorder(QPainter* p, QRect rc) const; 30 | }; 31 | 32 | 33 | class FRAMELESSWINDOWSHARED_EXPORT MuShadowWidget : public QWidget 34 | { 35 | Q_OBJECT 36 | public: 37 | MuShadowWidget(int shadowSize, bool canResize, QWidget *parent = nullptr); 38 | 39 | virtual void paintEvent(QPaintEvent *e); 40 | 41 | private: 42 | MuSkin9GridImage* m_shadow; 43 | int m_shadowSize; 44 | }; 45 | 46 | #endif // MUSHADOWWIDGET_H 47 | -------------------------------------------------------------------------------- /src/libFramelessWindow/Win32/Debug/FramelessWindow.log: -------------------------------------------------------------------------------- 1 |  MuTitleBar.cpp 2 | 正在创建库 ..\..\lib\\FramelessWindowd.lib 和对象 ..\..\lib\\FramelessWindowd.exp 3 | FramelessWindow.vcxproj -> E:\myOpenSourcce\MumuMusic\src\libFramelessWindow\..\..\lib\FramelessWindowd.dll 4 | FramelessWindow.vcxproj -> ..\..\lib\FramelessWindowd.pdb (Full PDB) 5 | 已复制 1 个文件。 6 | -------------------------------------------------------------------------------- /src/libFramelessWindow/Win32/Debug/FramelessWindow.tlog/CL.command.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/libFramelessWindow/Win32/Debug/FramelessWindow.tlog/CL.command.1.tlog -------------------------------------------------------------------------------- /src/libFramelessWindow/Win32/Debug/FramelessWindow.tlog/CL.read.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/libFramelessWindow/Win32/Debug/FramelessWindow.tlog/CL.read.1.tlog -------------------------------------------------------------------------------- /src/libFramelessWindow/Win32/Debug/FramelessWindow.tlog/CL.write.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/libFramelessWindow/Win32/Debug/FramelessWindow.tlog/CL.write.1.tlog -------------------------------------------------------------------------------- /src/libFramelessWindow/Win32/Debug/FramelessWindow.tlog/FramelessWindow.lastbuildstate: -------------------------------------------------------------------------------- 1 | #TargetFrameworkVersion=v4.0:PlatformToolSet=v140:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native32Bit:WindowsTargetPlatformVersion=10.0.14393.0 2 | Debug|Win32|E:\myOpenSourcce\MumuMusic\| 3 | -------------------------------------------------------------------------------- /src/libFramelessWindow/Win32/Debug/FramelessWindow.tlog/FramelessWindow.write.1u.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/libFramelessWindow/Win32/Debug/FramelessWindow.tlog/FramelessWindow.write.1u.tlog -------------------------------------------------------------------------------- /src/libFramelessWindow/Win32/Debug/FramelessWindow.tlog/QtMoc.read.1u.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/libFramelessWindow/Win32/Debug/FramelessWindow.tlog/QtMoc.read.1u.tlog -------------------------------------------------------------------------------- /src/libFramelessWindow/Win32/Debug/FramelessWindow.tlog/QtMoc.write.1u.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/libFramelessWindow/Win32/Debug/FramelessWindow.tlog/QtMoc.write.1u.tlog -------------------------------------------------------------------------------- /src/libFramelessWindow/Win32/Debug/FramelessWindow.tlog/QtRcc.read.1u.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/libFramelessWindow/Win32/Debug/FramelessWindow.tlog/QtRcc.read.1u.tlog -------------------------------------------------------------------------------- /src/libFramelessWindow/Win32/Debug/FramelessWindow.tlog/QtRcc.write.1u.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/libFramelessWindow/Win32/Debug/FramelessWindow.tlog/QtRcc.write.1u.tlog -------------------------------------------------------------------------------- /src/libFramelessWindow/Win32/Debug/FramelessWindow.tlog/custombuild.command.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/libFramelessWindow/Win32/Debug/FramelessWindow.tlog/custombuild.command.1.tlog -------------------------------------------------------------------------------- /src/libFramelessWindow/Win32/Debug/FramelessWindow.tlog/custombuild.read.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/libFramelessWindow/Win32/Debug/FramelessWindow.tlog/custombuild.read.1.tlog -------------------------------------------------------------------------------- /src/libFramelessWindow/Win32/Debug/FramelessWindow.tlog/custombuild.write.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/libFramelessWindow/Win32/Debug/FramelessWindow.tlog/custombuild.write.1.tlog -------------------------------------------------------------------------------- /src/libFramelessWindow/Win32/Debug/FramelessWindow.tlog/link.command.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/libFramelessWindow/Win32/Debug/FramelessWindow.tlog/link.command.1.tlog -------------------------------------------------------------------------------- /src/libFramelessWindow/Win32/Debug/FramelessWindow.tlog/link.read.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/libFramelessWindow/Win32/Debug/FramelessWindow.tlog/link.read.1.tlog -------------------------------------------------------------------------------- /src/libFramelessWindow/Win32/Debug/FramelessWindow.tlog/link.write.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/libFramelessWindow/Win32/Debug/FramelessWindow.tlog/link.write.1.tlog -------------------------------------------------------------------------------- /src/libFramelessWindow/Win32/Debug/MuCursorPosCalculator.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/libFramelessWindow/Win32/Debug/MuCursorPosCalculator.obj -------------------------------------------------------------------------------- /src/libFramelessWindow/Win32/Debug/MuCustomWindow.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/libFramelessWindow/Win32/Debug/MuCustomWindow.obj -------------------------------------------------------------------------------- /src/libFramelessWindow/Win32/Debug/MuFramelessHelper.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/libFramelessWindow/Win32/Debug/MuFramelessHelper.obj -------------------------------------------------------------------------------- /src/libFramelessWindow/Win32/Debug/MuShadowWidget.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/libFramelessWindow/Win32/Debug/MuShadowWidget.obj -------------------------------------------------------------------------------- /src/libFramelessWindow/Win32/Debug/MuTitleBar.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/libFramelessWindow/Win32/Debug/MuTitleBar.obj -------------------------------------------------------------------------------- /src/libFramelessWindow/Win32/Debug/MuWidgetData.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/libFramelessWindow/Win32/Debug/MuWidgetData.obj -------------------------------------------------------------------------------- /src/libFramelessWindow/Win32/Debug/MuWinDWMAPI.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/libFramelessWindow/Win32/Debug/MuWinDWMAPI.obj -------------------------------------------------------------------------------- /src/libFramelessWindow/Win32/Debug/moc_MuCustomWindow.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/libFramelessWindow/Win32/Debug/moc_MuCustomWindow.obj -------------------------------------------------------------------------------- /src/libFramelessWindow/Win32/Debug/moc_MuFramelessHelper.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/libFramelessWindow/Win32/Debug/moc_MuFramelessHelper.obj -------------------------------------------------------------------------------- /src/libFramelessWindow/Win32/Debug/moc_MuShadowWidget.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/libFramelessWindow/Win32/Debug/moc_MuShadowWidget.obj -------------------------------------------------------------------------------- /src/libFramelessWindow/Win32/Debug/moc_MuTitleBar.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/libFramelessWindow/Win32/Debug/moc_MuTitleBar.obj -------------------------------------------------------------------------------- /src/libFramelessWindow/Win32/Debug/qrc_images.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/libFramelessWindow/Win32/Debug/qrc_images.obj -------------------------------------------------------------------------------- /src/libFramelessWindow/Win32/Debug/vc140.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/libFramelessWindow/Win32/Debug/vc140.pdb -------------------------------------------------------------------------------- /src/libFramelessWindow/debug/moc_predefs.h.cbt: -------------------------------------------------------------------------------- 1 | This is a dummy file needed to create debug/moc_predefs.h 2 | -------------------------------------------------------------------------------- /src/libFramelessWindow/images.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | images/closeBtnBlack_16.png 4 | images/closeBtnWhite_16.png 5 | images/minimizeBtnBlack_16.png 6 | images/minimizeBtnWhite_16.png 7 | images/restoreBlack_16.png 8 | images/restoreWhite_16.png 9 | images/maximizeBtnBlack_16.png 10 | images/maximizeBtnWhite_16.png 11 | images/errorRed_48.png 12 | images/questionBlue_48.png 13 | images/successGreen_48.png 14 | images/warningYellow_48.png 15 | images/logo.jpg 16 | images/informationBlue_48.png 17 | 18 | 19 | -------------------------------------------------------------------------------- /src/libFramelessWindow/images/closeBtnBlack_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/libFramelessWindow/images/closeBtnBlack_16.png -------------------------------------------------------------------------------- /src/libFramelessWindow/images/closeBtnWhite_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/libFramelessWindow/images/closeBtnWhite_16.png -------------------------------------------------------------------------------- /src/libFramelessWindow/images/errorRed_48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/libFramelessWindow/images/errorRed_48.png -------------------------------------------------------------------------------- /src/libFramelessWindow/images/informationBlue_48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/libFramelessWindow/images/informationBlue_48.png -------------------------------------------------------------------------------- /src/libFramelessWindow/images/logo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/libFramelessWindow/images/logo.jpg -------------------------------------------------------------------------------- /src/libFramelessWindow/images/maximizeBtnBlack_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/libFramelessWindow/images/maximizeBtnBlack_16.png -------------------------------------------------------------------------------- /src/libFramelessWindow/images/maximizeBtnWhite_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/libFramelessWindow/images/maximizeBtnWhite_16.png -------------------------------------------------------------------------------- /src/libFramelessWindow/images/minimizeBtnBlack_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/libFramelessWindow/images/minimizeBtnBlack_16.png -------------------------------------------------------------------------------- /src/libFramelessWindow/images/minimizeBtnWhite_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/libFramelessWindow/images/minimizeBtnWhite_16.png -------------------------------------------------------------------------------- /src/libFramelessWindow/images/questionBlue_48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/libFramelessWindow/images/questionBlue_48.png -------------------------------------------------------------------------------- /src/libFramelessWindow/images/restoreBlack_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/libFramelessWindow/images/restoreBlack_16.png -------------------------------------------------------------------------------- /src/libFramelessWindow/images/restoreWhite_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/libFramelessWindow/images/restoreWhite_16.png -------------------------------------------------------------------------------- /src/libFramelessWindow/images/successGreen_48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/libFramelessWindow/images/successGreen_48.png -------------------------------------------------------------------------------- /src/libFramelessWindow/images/warningYellow_48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/libFramelessWindow/images/warningYellow_48.png -------------------------------------------------------------------------------- /src/libFramelessWindow/libFramelessWindow.pri: -------------------------------------------------------------------------------- 1 | #--------------------------------------------- 2 | # 自定义无边框窗体、对话框和提示框 3 | # 4 | # libFramelessWindow.pri 5 | # 工程文件 6 | # 7 | # FlyWM_ 8 | # GitHub: https://github.com/FlyWM 9 | # CSDN: https://blog.csdn.net/a844651990 10 | # 11 | #--------------------------------------------- 12 | 13 | INCLUDEPATH += $$PWD 14 | 15 | DEPENDPATH += $$PWD 16 | 17 | TEMPLATE += fakelib 18 | 19 | # qtLibraryTarget确保windows下debug模式生成的动态库可以自动加个d 20 | # 用来区分 release 和 debug 模式下的库, 这里知识为了设置LIBFRAMELESSWINDOW_NAME的值, 21 | # 所以 TEMPLATE -= fakelib,不然 qtLibraryTarget 获取不到值 22 | LIBFRAMELESSWINDOW_NAME = $$qtLibraryTarget(FramelessWindow) 23 | 24 | TEMPLATE -= fakelib 25 | 26 | include(../common.pri) 27 | 28 | # FramelessWindow-buildlib 标志用来区分是 libFramelessWindow调用 29 | # 还是 libTest调用, 所以需要在 libFramelessWindow.pro中 30 | # 设置 CONFIG += FramelessWindow-buidlib 31 | FramelessWindow-buildlib{ 32 | # 不要加$$PWD 33 | HEADERS += \ 34 | MuFramelessHelper.h \ 35 | MuFramelessHelperPrivate.h \ 36 | MuCursorPosCalculator.h \ 37 | MuTitleBar.h \ 38 | MuWidgetData.h \ 39 | MuWinDWMAPI.h \ 40 | MuShadowWidget.h \ 41 | MuShadowWindow.h \ 42 | MuCustomWindow.h \ 43 | FramelessWindow_Global.h 44 | 45 | SOURCES += \ 46 | MuFramelessHelper.cpp \ 47 | MuWidgetData.cpp\ 48 | MuCursorPosCalculator.cpp \ 49 | MuTitleBar.cpp \ 50 | MuWinDWMAPI.cpp \ 51 | MuShadowWidget.cpp \ 52 | MuCustomWindow.cpp 53 | 54 | RESOURCES += \ 55 | images.qrc 56 | 57 | QT += widgets 58 | 59 | win32: { 60 | QT += winextras 61 | LIBS += -lDwmapi 62 | } 63 | }else{ 64 | LIBS += -L$$PROJECT_LIBDIR -l$$LIBFRAMELESSWINDOW_NAME 65 | 66 | } 67 | 68 | 69 | 70 | 71 | 72 | -------------------------------------------------------------------------------- /src/libFramelessWindow/libFramelessWindow.pro: -------------------------------------------------------------------------------- 1 | #--------------------------------------------- 2 | # 自定义无边框窗体、对话框和提示框 3 | # 4 | # libFramelessWindow.pro 5 | # 工程文件 6 | # 7 | # FlyWM_ 8 | # GitHub: https://github.com/FlyWM 9 | # CSDN: https://blog.csdn.net/a844651990 10 | # 11 | #--------------------------------------------- 12 | 13 | TEMPLATE = lib 14 | 15 | CONFIG += FramelessWindow-buildlib 16 | 17 | include(libFramelessWindow.pri) 18 | 19 | TARGET = $$LIBFRAMELESSWINDOW_NAME 20 | 21 | DESTDIR = $$PROJECT_LIBDIR 22 | 23 | win32{ 24 | DLLDESTDIR = $$PROJECT_BINDIR 25 | QMAKE_DISTCLEAN += $$PROJECT_BINDIR/$${LIBFRAMELESSWINDOW_NAME}.dll 26 | } 27 | 28 | CONFIG += debug_and_release build_all 29 | 30 | # 宏定义 31 | DEFINES += FRAMELESSWINDOW_LIBRARY HAVE_WINDOW_AERO 32 | 33 | 34 | 35 | 36 | 37 | -------------------------------------------------------------------------------- /src/libFramelessWindow/release/moc_predefs.h.cbt: -------------------------------------------------------------------------------- 1 | This is a dummy file needed to create release/moc_predefs.h 2 | -------------------------------------------------------------------------------- /src/libMuMediaHandler/MuMediaHandler.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 6 | h;hpp;hxx;hm;inl;inc;xsd 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 14 | cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx 15 | 16 | 17 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 18 | cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx 19 | 20 | 21 | 22 | 23 | Source Files 24 | 25 | 26 | 27 | 28 | Header Files 29 | 30 | 31 | Header Files 32 | 33 | 34 | Header Files 35 | 36 | 37 | -------------------------------------------------------------------------------- /src/libMuMediaHandler/MuMediaHandler.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | D:\Qt\Qt5.9.6\5.9.6\msvc2015 6 | PATH=$(QTDIR)\bin%3b$(PATH) 7 | 8 | 9 | D:\Qt\Qt5.9.6\5.9.6\msvc2015 10 | PATH=$(QTDIR)\bin%3b$(PATH) 11 | 12 | -------------------------------------------------------------------------------- /src/libMuMediaHandler/Win32/Debug/MuMedia.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/libMuMediaHandler/Win32/Debug/MuMedia.obj -------------------------------------------------------------------------------- /src/libMuMediaHandler/Win32/Debug/MuMediaHandler.log: -------------------------------------------------------------------------------- 1 |  MuMediaHandler.vcxproj -> E:\myOpenSourcce\MumuMusic\src\libMuMediaHandler\..\..\lib\MuMediaHandler.dll 2 | MuMediaHandler.vcxproj -> ..\..\lib\MuMediaHandler.pdb (Full PDB) 3 | 已复制 1 个文件。 4 | -------------------------------------------------------------------------------- /src/libMuMediaHandler/Win32/Debug/MuMediaHandler.tlog/CL.command.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/libMuMediaHandler/Win32/Debug/MuMediaHandler.tlog/CL.command.1.tlog -------------------------------------------------------------------------------- /src/libMuMediaHandler/Win32/Debug/MuMediaHandler.tlog/CL.read.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/libMuMediaHandler/Win32/Debug/MuMediaHandler.tlog/CL.read.1.tlog -------------------------------------------------------------------------------- /src/libMuMediaHandler/Win32/Debug/MuMediaHandler.tlog/CL.write.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/libMuMediaHandler/Win32/Debug/MuMediaHandler.tlog/CL.write.1.tlog -------------------------------------------------------------------------------- /src/libMuMediaHandler/Win32/Debug/MuMediaHandler.tlog/MuMediaHandler.lastbuildstate: -------------------------------------------------------------------------------- 1 | #TargetFrameworkVersion=v4.0:PlatformToolSet=v140:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native32Bit:WindowsTargetPlatformVersion=10.0.14393.0 2 | Debug|Win32|E:\myOpenSourcce\MumuMusic\| 3 | -------------------------------------------------------------------------------- /src/libMuMediaHandler/Win32/Debug/MuMediaHandler.tlog/MuMediaHandler.write.1u.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/libMuMediaHandler/Win32/Debug/MuMediaHandler.tlog/MuMediaHandler.write.1u.tlog -------------------------------------------------------------------------------- /src/libMuMediaHandler/Win32/Debug/MuMediaHandler.tlog/link.command.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/libMuMediaHandler/Win32/Debug/MuMediaHandler.tlog/link.command.1.tlog -------------------------------------------------------------------------------- /src/libMuMediaHandler/Win32/Debug/MuMediaHandler.tlog/link.read.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/libMuMediaHandler/Win32/Debug/MuMediaHandler.tlog/link.read.1.tlog -------------------------------------------------------------------------------- /src/libMuMediaHandler/Win32/Debug/MuMediaHandler.tlog/link.write.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/libMuMediaHandler/Win32/Debug/MuMediaHandler.tlog/link.write.1.tlog -------------------------------------------------------------------------------- /src/libMuMediaHandler/Win32/Debug/vc140.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/libMuMediaHandler/Win32/Debug/vc140.pdb -------------------------------------------------------------------------------- /src/libMuMediaHandler/Win32/Release/MuMedia.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/libMuMediaHandler/Win32/Release/MuMedia.obj -------------------------------------------------------------------------------- /src/libMuMediaHandler/Win32/Release/MuMediaHandler.log: -------------------------------------------------------------------------------- 1 |  正在创建库 ..\..\lib\\MuMediaHandler.lib 和对象 ..\..\lib\\MuMediaHandler.exp 2 | MuMediaHandler.vcxproj -> E:\projects\private\MumuMusic\src\libMuMediaHandler\..\..\lib\MuMediaHandler.dll 3 | 已复制 1 个文件。 4 | -------------------------------------------------------------------------------- /src/libMuMediaHandler/Win32/Release/MuMediaHandler.tlog/CL.command.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/libMuMediaHandler/Win32/Release/MuMediaHandler.tlog/CL.command.1.tlog -------------------------------------------------------------------------------- /src/libMuMediaHandler/Win32/Release/MuMediaHandler.tlog/CL.read.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/libMuMediaHandler/Win32/Release/MuMediaHandler.tlog/CL.read.1.tlog -------------------------------------------------------------------------------- /src/libMuMediaHandler/Win32/Release/MuMediaHandler.tlog/CL.write.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/libMuMediaHandler/Win32/Release/MuMediaHandler.tlog/CL.write.1.tlog -------------------------------------------------------------------------------- /src/libMuMediaHandler/Win32/Release/MuMediaHandler.tlog/MuMediaHandler.lastbuildstate: -------------------------------------------------------------------------------- 1 | #TargetFrameworkVersion=v4.0:PlatformToolSet=v140:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native32Bit:WindowsTargetPlatformVersion=10.0.14393.0 2 | Release|Win32|E:\projects\private\MumuMusic\| 3 | -------------------------------------------------------------------------------- /src/libMuMediaHandler/Win32/Release/MuMediaHandler.tlog/MuMediaHandler.write.1u.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/libMuMediaHandler/Win32/Release/MuMediaHandler.tlog/MuMediaHandler.write.1u.tlog -------------------------------------------------------------------------------- /src/libMuMediaHandler/Win32/Release/MuMediaHandler.tlog/link.command.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/libMuMediaHandler/Win32/Release/MuMediaHandler.tlog/link.command.1.tlog -------------------------------------------------------------------------------- /src/libMuMediaHandler/Win32/Release/MuMediaHandler.tlog/link.read.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/libMuMediaHandler/Win32/Release/MuMediaHandler.tlog/link.read.1.tlog -------------------------------------------------------------------------------- /src/libMuMediaHandler/Win32/Release/MuMediaHandler.tlog/link.write.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/libMuMediaHandler/Win32/Release/MuMediaHandler.tlog/link.write.1.tlog -------------------------------------------------------------------------------- /src/libMuMediaHandler/include/libavcodec/ac3_parser.h: -------------------------------------------------------------------------------- 1 | /* 2 | * AC-3 parser prototypes 3 | * Copyright (c) 2003 Fabrice Bellard 4 | * Copyright (c) 2003 Michael Niedermayer 5 | * 6 | * This file is part of FFmpeg. 7 | * 8 | * FFmpeg is free software; you can redistribute it and/or 9 | * modify it under the terms of the GNU Lesser General Public 10 | * License as published by the Free Software Foundation; either 11 | * version 2.1 of the License, or (at your option) any later version. 12 | * 13 | * FFmpeg is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 16 | * Lesser General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU Lesser General Public 19 | * License along with FFmpeg; if not, write to the Free Software 20 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 21 | */ 22 | 23 | #ifndef AVCODEC_AC3_PARSER_H 24 | #define AVCODEC_AC3_PARSER_H 25 | 26 | #include 27 | #include 28 | 29 | /** 30 | * Extract the bitstream ID and the frame size from AC-3 data. 31 | */ 32 | int av_ac3_parse_header(const uint8_t *buf, size_t size, 33 | uint8_t *bitstream_id, uint16_t *frame_size); 34 | 35 | 36 | #endif /* AVCODEC_AC3_PARSER_H */ 37 | -------------------------------------------------------------------------------- /src/libMuMediaHandler/include/libavcodec/adts_parser.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of FFmpeg. 3 | * 4 | * FFmpeg is free software; you can redistribute it and/or 5 | * modify it under the terms of the GNU Lesser General Public 6 | * License as published by the Free Software Foundation; either 7 | * version 2.1 of the License, or (at your option) any later version. 8 | * 9 | * FFmpeg is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | * Lesser General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU Lesser General Public 15 | * License along with FFmpeg; if not, write to the Free Software 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | #ifndef AVCODEC_ADTS_PARSER_H 20 | #define AVCODEC_ADTS_PARSER_H 21 | 22 | #include 23 | #include 24 | 25 | #define AV_AAC_ADTS_HEADER_SIZE 7 26 | 27 | /** 28 | * Extract the number of samples and frames from AAC data. 29 | * @param[in] buf pointer to AAC data buffer 30 | * @param[out] samples Pointer to where number of samples is written 31 | * @param[out] frames Pointer to where number of frames is written 32 | * @return Returns 0 on success, error code on failure. 33 | */ 34 | int av_adts_header_parse(const uint8_t *buf, uint32_t *samples, 35 | uint8_t *frames); 36 | 37 | #endif /* AVCODEC_ADTS_PARSER_H */ 38 | -------------------------------------------------------------------------------- /src/libMuMediaHandler/include/libavcodec/jni.h: -------------------------------------------------------------------------------- 1 | /* 2 | * JNI public API functions 3 | * 4 | * Copyright (c) 2015-2016 Matthieu Bouron 5 | * 6 | * This file is part of FFmpeg. 7 | * 8 | * FFmpeg is free software; you can redistribute it and/or 9 | * modify it under the terms of the GNU Lesser General Public 10 | * License as published by the Free Software Foundation; either 11 | * version 2.1 of the License, or (at your option) any later version. 12 | * 13 | * FFmpeg is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 16 | * Lesser General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU Lesser General Public 19 | * License along with FFmpeg; if not, write to the Free Software 20 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 21 | */ 22 | 23 | #ifndef AVCODEC_JNI_H 24 | #define AVCODEC_JNI_H 25 | 26 | /* 27 | * Manually set a Java virtual machine which will be used to retrieve the JNI 28 | * environment. Once a Java VM is set it cannot be changed afterwards, meaning 29 | * you can call multiple times av_jni_set_java_vm with the same Java VM pointer 30 | * however it will error out if you try to set a different Java VM. 31 | * 32 | * @param vm Java virtual machine 33 | * @param log_ctx context used for logging, can be NULL 34 | * @return 0 on success, < 0 otherwise 35 | */ 36 | int av_jni_set_java_vm(void *vm, void *log_ctx); 37 | 38 | /* 39 | * Get the Java virtual machine which has been set with av_jni_set_java_vm. 40 | * 41 | * @param vm Java virtual machine 42 | * @return a pointer to the Java virtual machine 43 | */ 44 | void *av_jni_get_java_vm(void *log_ctx); 45 | 46 | #endif /* AVCODEC_JNI_H */ 47 | -------------------------------------------------------------------------------- /src/libMuMediaHandler/include/libavdevice/version.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of FFmpeg. 3 | * 4 | * FFmpeg is free software; you can redistribute it and/or 5 | * modify it under the terms of the GNU Lesser General Public 6 | * License as published by the Free Software Foundation; either 7 | * version 2.1 of the License, or (at your option) any later version. 8 | * 9 | * FFmpeg is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | * Lesser General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU Lesser General Public 15 | * License along with FFmpeg; if not, write to the Free Software 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | #ifndef AVDEVICE_VERSION_H 20 | #define AVDEVICE_VERSION_H 21 | 22 | /** 23 | * @file 24 | * @ingroup lavd 25 | * Libavdevice version macros 26 | */ 27 | 28 | #include "libavutil/version.h" 29 | 30 | #define LIBAVDEVICE_VERSION_MAJOR 58 31 | #define LIBAVDEVICE_VERSION_MINOR 3 32 | #define LIBAVDEVICE_VERSION_MICRO 100 33 | 34 | #define LIBAVDEVICE_VERSION_INT AV_VERSION_INT(LIBAVDEVICE_VERSION_MAJOR, \ 35 | LIBAVDEVICE_VERSION_MINOR, \ 36 | LIBAVDEVICE_VERSION_MICRO) 37 | #define LIBAVDEVICE_VERSION AV_VERSION(LIBAVDEVICE_VERSION_MAJOR, \ 38 | LIBAVDEVICE_VERSION_MINOR, \ 39 | LIBAVDEVICE_VERSION_MICRO) 40 | #define LIBAVDEVICE_BUILD LIBAVDEVICE_VERSION_INT 41 | 42 | #define LIBAVDEVICE_IDENT "Lavd" AV_STRINGIFY(LIBAVDEVICE_VERSION) 43 | 44 | /** 45 | * FF_API_* defines may be placed below to indicate public API that will be 46 | * dropped at a future version bump. The defines themselves are not part of 47 | * the public API and may change, break or disappear at any time. 48 | */ 49 | 50 | #endif /* AVDEVICE_VERSION_H */ 51 | -------------------------------------------------------------------------------- /src/libMuMediaHandler/include/libavutil/adler32.h: -------------------------------------------------------------------------------- 1 | /* 2 | * copyright (c) 2006 Mans Rullgard 3 | * 4 | * This file is part of FFmpeg. 5 | * 6 | * FFmpeg is free software; you can redistribute it and/or 7 | * modify it under the terms of the GNU Lesser General Public 8 | * License as published by the Free Software Foundation; either 9 | * version 2.1 of the License, or (at your option) any later version. 10 | * 11 | * FFmpeg is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | * Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public 17 | * License along with FFmpeg; if not, write to the Free Software 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 | */ 20 | 21 | /** 22 | * @file 23 | * @ingroup lavu_adler32 24 | * Public header for Adler-32 hash function implementation. 25 | */ 26 | 27 | #ifndef AVUTIL_ADLER32_H 28 | #define AVUTIL_ADLER32_H 29 | 30 | #include 31 | #include "attributes.h" 32 | 33 | /** 34 | * @defgroup lavu_adler32 Adler-32 35 | * @ingroup lavu_hash 36 | * Adler-32 hash function implementation. 37 | * 38 | * @{ 39 | */ 40 | 41 | /** 42 | * Calculate the Adler32 checksum of a buffer. 43 | * 44 | * Passing the return value to a subsequent av_adler32_update() call 45 | * allows the checksum of multiple buffers to be calculated as though 46 | * they were concatenated. 47 | * 48 | * @param adler initial checksum value 49 | * @param buf pointer to input buffer 50 | * @param len size of input buffer 51 | * @return updated checksum 52 | */ 53 | unsigned long av_adler32_update(unsigned long adler, const uint8_t *buf, 54 | unsigned int len) av_pure; 55 | 56 | /** 57 | * @} 58 | */ 59 | 60 | #endif /* AVUTIL_ADLER32_H */ 61 | -------------------------------------------------------------------------------- /src/libMuMediaHandler/include/libavutil/aes.h: -------------------------------------------------------------------------------- 1 | /* 2 | * copyright (c) 2007 Michael Niedermayer 3 | * 4 | * This file is part of FFmpeg. 5 | * 6 | * FFmpeg is free software; you can redistribute it and/or 7 | * modify it under the terms of the GNU Lesser General Public 8 | * License as published by the Free Software Foundation; either 9 | * version 2.1 of the License, or (at your option) any later version. 10 | * 11 | * FFmpeg is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | * Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public 17 | * License along with FFmpeg; if not, write to the Free Software 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 | */ 20 | 21 | #ifndef AVUTIL_AES_H 22 | #define AVUTIL_AES_H 23 | 24 | #include 25 | 26 | #include "attributes.h" 27 | #include "version.h" 28 | 29 | /** 30 | * @defgroup lavu_aes AES 31 | * @ingroup lavu_crypto 32 | * @{ 33 | */ 34 | 35 | extern const int av_aes_size; 36 | 37 | struct AVAES; 38 | 39 | /** 40 | * Allocate an AVAES context. 41 | */ 42 | struct AVAES *av_aes_alloc(void); 43 | 44 | /** 45 | * Initialize an AVAES context. 46 | * @param key_bits 128, 192 or 256 47 | * @param decrypt 0 for encryption, 1 for decryption 48 | */ 49 | int av_aes_init(struct AVAES *a, const uint8_t *key, int key_bits, int decrypt); 50 | 51 | /** 52 | * Encrypt or decrypt a buffer using a previously initialized context. 53 | * @param count number of 16 byte blocks 54 | * @param dst destination array, can be equal to src 55 | * @param src source array, can be equal to dst 56 | * @param iv initialization vector for CBC mode, if NULL then ECB will be used 57 | * @param decrypt 0 for encryption, 1 for decryption 58 | */ 59 | void av_aes_crypt(struct AVAES *a, uint8_t *dst, const uint8_t *src, int count, uint8_t *iv, int decrypt); 60 | 61 | /** 62 | * @} 63 | */ 64 | 65 | #endif /* AVUTIL_AES_H */ 66 | -------------------------------------------------------------------------------- /src/libMuMediaHandler/include/libavutil/avconfig.h: -------------------------------------------------------------------------------- 1 | /* Generated by ffmpeg configure */ 2 | #ifndef AVUTIL_AVCONFIG_H 3 | #define AVUTIL_AVCONFIG_H 4 | #define AV_HAVE_BIGENDIAN 0 5 | #define AV_HAVE_FAST_UNALIGNED 1 6 | #endif /* AVUTIL_AVCONFIG_H */ 7 | -------------------------------------------------------------------------------- /src/libMuMediaHandler/include/libavutil/ffversion.h: -------------------------------------------------------------------------------- 1 | /* Automatically generated by version.sh, do not manually edit! */ 2 | #ifndef AVUTIL_FFVERSION_H 3 | #define AVUTIL_FFVERSION_H 4 | #define FFMPEG_VERSION "4.0.2" 5 | #endif /* AVUTIL_FFVERSION_H */ 6 | -------------------------------------------------------------------------------- /src/libMuMediaHandler/include/libavutil/hwcontext_cuda.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of FFmpeg. 3 | * 4 | * FFmpeg is free software; you can redistribute it and/or 5 | * modify it under the terms of the GNU Lesser General Public 6 | * License as published by the Free Software Foundation; either 7 | * version 2.1 of the License, or (at your option) any later version. 8 | * 9 | * FFmpeg is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | * Lesser General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU Lesser General Public 15 | * License along with FFmpeg; if not, write to the Free Software 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | 20 | #ifndef AVUTIL_HWCONTEXT_CUDA_H 21 | #define AVUTIL_HWCONTEXT_CUDA_H 22 | 23 | #ifndef CUDA_VERSION 24 | #include 25 | #endif 26 | 27 | #include "pixfmt.h" 28 | 29 | /** 30 | * @file 31 | * An API-specific header for AV_HWDEVICE_TYPE_CUDA. 32 | * 33 | * This API supports dynamic frame pools. AVHWFramesContext.pool must return 34 | * AVBufferRefs whose data pointer is a CUdeviceptr. 35 | */ 36 | 37 | typedef struct AVCUDADeviceContextInternal AVCUDADeviceContextInternal; 38 | 39 | /** 40 | * This struct is allocated as AVHWDeviceContext.hwctx 41 | */ 42 | typedef struct AVCUDADeviceContext { 43 | CUcontext cuda_ctx; 44 | AVCUDADeviceContextInternal *internal; 45 | } AVCUDADeviceContext; 46 | 47 | /** 48 | * AVHWFramesContext.hwctx is currently not used 49 | */ 50 | 51 | #endif /* AVUTIL_HWCONTEXT_CUDA_H */ 52 | -------------------------------------------------------------------------------- /src/libMuMediaHandler/include/libavutil/hwcontext_mediacodec.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of FFmpeg. 3 | * 4 | * FFmpeg is free software; you can redistribute it and/or 5 | * modify it under the terms of the GNU Lesser General Public 6 | * License as published by the Free Software Foundation; either 7 | * version 2.1 of the License, or (at your option) any later version. 8 | * 9 | * FFmpeg is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | * Lesser General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU Lesser General Public 15 | * License along with FFmpeg; if not, write to the Free Software 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | #ifndef AVUTIL_HWCONTEXT_MEDIACODEC_H 20 | #define AVUTIL_HWCONTEXT_MEDIACODEC_H 21 | 22 | /** 23 | * MediaCodec details. 24 | * 25 | * Allocated as AVHWDeviceContext.hwctx 26 | */ 27 | typedef struct AVMediaCodecDeviceContext { 28 | /** 29 | * android/view/Surface handle, to be filled by the user. 30 | * 31 | * This is the default surface used by decoders on this device. 32 | */ 33 | void *surface; 34 | } AVMediaCodecDeviceContext; 35 | 36 | #endif /* AVUTIL_HWCONTEXT_MEDIACODEC_H */ 37 | -------------------------------------------------------------------------------- /src/libMuMediaHandler/include/libavutil/hwcontext_qsv.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of FFmpeg. 3 | * 4 | * FFmpeg is free software; you can redistribute it and/or 5 | * modify it under the terms of the GNU Lesser General Public 6 | * License as published by the Free Software Foundation; either 7 | * version 2.1 of the License, or (at your option) any later version. 8 | * 9 | * FFmpeg is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | * Lesser General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU Lesser General Public 15 | * License along with FFmpeg; if not, write to the Free Software 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | #ifndef AVUTIL_HWCONTEXT_QSV_H 20 | #define AVUTIL_HWCONTEXT_QSV_H 21 | 22 | #include 23 | 24 | /** 25 | * @file 26 | * An API-specific header for AV_HWDEVICE_TYPE_QSV. 27 | * 28 | * This API does not support dynamic frame pools. AVHWFramesContext.pool must 29 | * contain AVBufferRefs whose data pointer points to an mfxFrameSurface1 struct. 30 | */ 31 | 32 | /** 33 | * This struct is allocated as AVHWDeviceContext.hwctx 34 | */ 35 | typedef struct AVQSVDeviceContext { 36 | mfxSession session; 37 | } AVQSVDeviceContext; 38 | 39 | /** 40 | * This struct is allocated as AVHWFramesContext.hwctx 41 | */ 42 | typedef struct AVQSVFramesContext { 43 | mfxFrameSurface1 *surfaces; 44 | int nb_surfaces; 45 | 46 | /** 47 | * A combination of MFX_MEMTYPE_* describing the frame pool. 48 | */ 49 | int frame_type; 50 | } AVQSVFramesContext; 51 | 52 | #endif /* AVUTIL_HWCONTEXT_QSV_H */ 53 | 54 | -------------------------------------------------------------------------------- /src/libMuMediaHandler/include/libavutil/hwcontext_vdpau.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of FFmpeg. 3 | * 4 | * FFmpeg is free software; you can redistribute it and/or 5 | * modify it under the terms of the GNU Lesser General Public 6 | * License as published by the Free Software Foundation; either 7 | * version 2.1 of the License, or (at your option) any later version. 8 | * 9 | * FFmpeg is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | * Lesser General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU Lesser General Public 15 | * License along with FFmpeg; if not, write to the Free Software 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | #ifndef AVUTIL_HWCONTEXT_VDPAU_H 20 | #define AVUTIL_HWCONTEXT_VDPAU_H 21 | 22 | #include 23 | 24 | /** 25 | * @file 26 | * An API-specific header for AV_HWDEVICE_TYPE_VDPAU. 27 | * 28 | * This API supports dynamic frame pools. AVHWFramesContext.pool must return 29 | * AVBufferRefs whose data pointer is a VdpVideoSurface. 30 | */ 31 | 32 | /** 33 | * This struct is allocated as AVHWDeviceContext.hwctx 34 | */ 35 | typedef struct AVVDPAUDeviceContext { 36 | VdpDevice device; 37 | VdpGetProcAddress *get_proc_address; 38 | } AVVDPAUDeviceContext; 39 | 40 | /** 41 | * AVHWFramesContext.hwctx is currently not used 42 | */ 43 | 44 | #endif /* AVUTIL_HWCONTEXT_VDPAU_H */ 45 | -------------------------------------------------------------------------------- /src/libMuMediaHandler/include/libavutil/hwcontext_videotoolbox.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of FFmpeg. 3 | * 4 | * FFmpeg is free software; you can redistribute it and/or 5 | * modify it under the terms of the GNU Lesser General Public 6 | * License as published by the Free Software Foundation; either 7 | * version 2.1 of the License, or (at your option) any later version. 8 | * 9 | * FFmpeg is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | * Lesser General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU Lesser General Public 15 | * License along with FFmpeg; if not, write to the Free Software 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | #ifndef AVUTIL_HWCONTEXT_VIDEOTOOLBOX_H 20 | #define AVUTIL_HWCONTEXT_VIDEOTOOLBOX_H 21 | 22 | #include 23 | 24 | #include 25 | 26 | #include "pixfmt.h" 27 | 28 | /** 29 | * @file 30 | * An API-specific header for AV_HWDEVICE_TYPE_VIDEOTOOLBOX. 31 | * 32 | * This API currently does not support frame allocation, as the raw VideoToolbox 33 | * API does allocation, and FFmpeg itself never has the need to allocate frames. 34 | * 35 | * If the API user sets a custom pool, AVHWFramesContext.pool must return 36 | * AVBufferRefs whose data pointer is a CVImageBufferRef or CVPixelBufferRef. 37 | * 38 | * Currently AVHWDeviceContext.hwctx and AVHWFramesContext.hwctx are always 39 | * NULL. 40 | */ 41 | 42 | /** 43 | * Convert a VideoToolbox (actually CoreVideo) format to AVPixelFormat. 44 | * Returns AV_PIX_FMT_NONE if no known equivalent was found. 45 | */ 46 | enum AVPixelFormat av_map_videotoolbox_format_to_pixfmt(uint32_t cv_fmt); 47 | 48 | /** 49 | * Convert an AVPixelFormat to a VideoToolbox (actually CoreVideo) format. 50 | * Returns 0 if no known equivalent was found. 51 | */ 52 | uint32_t av_map_videotoolbox_format_from_pixfmt(enum AVPixelFormat pix_fmt); 53 | 54 | #endif /* AVUTIL_HWCONTEXT_VIDEOTOOLBOX_H */ 55 | -------------------------------------------------------------------------------- /src/libMuMediaHandler/include/libavutil/intfloat.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2011 Mans Rullgard 3 | * 4 | * This file is part of FFmpeg. 5 | * 6 | * FFmpeg is free software; you can redistribute it and/or 7 | * modify it under the terms of the GNU Lesser General Public 8 | * License as published by the Free Software Foundation; either 9 | * version 2.1 of the License, or (at your option) any later version. 10 | * 11 | * FFmpeg is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | * Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public 17 | * License along with FFmpeg; if not, write to the Free Software 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 | */ 20 | 21 | #ifndef AVUTIL_INTFLOAT_H 22 | #define AVUTIL_INTFLOAT_H 23 | 24 | #include 25 | #include "attributes.h" 26 | 27 | union av_intfloat32 { 28 | uint32_t i; 29 | float f; 30 | }; 31 | 32 | union av_intfloat64 { 33 | uint64_t i; 34 | double f; 35 | }; 36 | 37 | /** 38 | * Reinterpret a 32-bit integer as a float. 39 | */ 40 | static av_always_inline float av_int2float(uint32_t i) 41 | { 42 | union av_intfloat32 v; 43 | v.i = i; 44 | return v.f; 45 | } 46 | 47 | /** 48 | * Reinterpret a float as a 32-bit integer. 49 | */ 50 | static av_always_inline uint32_t av_float2int(float f) 51 | { 52 | union av_intfloat32 v; 53 | v.f = f; 54 | return v.i; 55 | } 56 | 57 | /** 58 | * Reinterpret a 64-bit integer as a double. 59 | */ 60 | static av_always_inline double av_int2double(uint64_t i) 61 | { 62 | union av_intfloat64 v; 63 | v.i = i; 64 | return v.f; 65 | } 66 | 67 | /** 68 | * Reinterpret a double as a 64-bit integer. 69 | */ 70 | static av_always_inline uint64_t av_double2int(double f) 71 | { 72 | union av_intfloat64 v; 73 | v.f = f; 74 | return v.i; 75 | } 76 | 77 | #endif /* AVUTIL_INTFLOAT_H */ 78 | -------------------------------------------------------------------------------- /src/libMuMediaHandler/include/libavutil/macros.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of FFmpeg. 3 | * 4 | * FFmpeg is free software; you can redistribute it and/or 5 | * modify it under the terms of the GNU Lesser General Public 6 | * License as published by the Free Software Foundation; either 7 | * version 2.1 of the License, or (at your option) any later version. 8 | * 9 | * FFmpeg is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | * Lesser General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU Lesser General Public 15 | * License along with FFmpeg; if not, write to the Free Software 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | /** 20 | * @file 21 | * @ingroup lavu 22 | * Utility Preprocessor macros 23 | */ 24 | 25 | #ifndef AVUTIL_MACROS_H 26 | #define AVUTIL_MACROS_H 27 | 28 | /** 29 | * @addtogroup preproc_misc Preprocessor String Macros 30 | * 31 | * String manipulation macros 32 | * 33 | * @{ 34 | */ 35 | 36 | #define AV_STRINGIFY(s) AV_TOSTRING(s) 37 | #define AV_TOSTRING(s) #s 38 | 39 | #define AV_GLUE(a, b) a ## b 40 | #define AV_JOIN(a, b) AV_GLUE(a, b) 41 | 42 | /** 43 | * @} 44 | */ 45 | 46 | #define AV_PRAGMA(s) _Pragma(#s) 47 | 48 | #define FFALIGN(x, a) (((x)+(a)-1)&~((a)-1)) 49 | 50 | #endif /* AVUTIL_MACROS_H */ 51 | -------------------------------------------------------------------------------- /src/libMuMediaHandler/include/libavutil/motion_vector.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of FFmpeg. 3 | * 4 | * FFmpeg is free software; you can redistribute it and/or 5 | * modify it under the terms of the GNU Lesser General Public 6 | * License as published by the Free Software Foundation; either 7 | * version 2.1 of the License, or (at your option) any later version. 8 | * 9 | * FFmpeg is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | * Lesser General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU Lesser General Public 15 | * License along with FFmpeg; if not, write to the Free Software 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | #ifndef AVUTIL_MOTION_VECTOR_H 20 | #define AVUTIL_MOTION_VECTOR_H 21 | 22 | #include 23 | 24 | typedef struct AVMotionVector { 25 | /** 26 | * Where the current macroblock comes from; negative value when it comes 27 | * from the past, positive value when it comes from the future. 28 | * XXX: set exact relative ref frame reference instead of a +/- 1 "direction". 29 | */ 30 | int32_t source; 31 | /** 32 | * Width and height of the block. 33 | */ 34 | uint8_t w, h; 35 | /** 36 | * Absolute source position. Can be outside the frame area. 37 | */ 38 | int16_t src_x, src_y; 39 | /** 40 | * Absolute destination position. Can be outside the frame area. 41 | */ 42 | int16_t dst_x, dst_y; 43 | /** 44 | * Extra flag information. 45 | * Currently unused. 46 | */ 47 | uint64_t flags; 48 | /** 49 | * Motion vector 50 | * src_x = dst_x + motion_x / motion_scale 51 | * src_y = dst_y + motion_y / motion_scale 52 | */ 53 | int32_t motion_x, motion_y; 54 | uint16_t motion_scale; 55 | } AVMotionVector; 56 | 57 | #endif /* AVUTIL_MOTION_VECTOR_H */ 58 | -------------------------------------------------------------------------------- /src/libMuMediaHandler/include/libavutil/pixelutils.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of FFmpeg. 3 | * 4 | * FFmpeg is free software; you can redistribute it and/or 5 | * modify it under the terms of the GNU Lesser General Public 6 | * License as published by the Free Software Foundation; either 7 | * version 2.1 of the License, or (at your option) any later version. 8 | * 9 | * FFmpeg is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | * Lesser General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU Lesser General Public 15 | * License along with FFmpeg; if not, write to the Free Software 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | #ifndef AVUTIL_PIXELUTILS_H 20 | #define AVUTIL_PIXELUTILS_H 21 | 22 | #include 23 | #include 24 | #include "common.h" 25 | 26 | /** 27 | * Sum of abs(src1[x] - src2[x]) 28 | */ 29 | typedef int (*av_pixelutils_sad_fn)(const uint8_t *src1, ptrdiff_t stride1, 30 | const uint8_t *src2, ptrdiff_t stride2); 31 | 32 | /** 33 | * Get a potentially optimized pointer to a Sum-of-absolute-differences 34 | * function (see the av_pixelutils_sad_fn prototype). 35 | * 36 | * @param w_bits 1< 3 | * 4 | * This file is part of FFmpeg. 5 | * 6 | * FFmpeg is free software; you can redistribute it and/or 7 | * modify it under the terms of the GNU Lesser General Public 8 | * License as published by the Free Software Foundation; either 9 | * version 2.1 of the License, or (at your option) any later version. 10 | * 11 | * FFmpeg is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | * Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public 17 | * License along with FFmpeg; if not, write to the Free Software 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 | */ 20 | 21 | #ifndef AVUTIL_RANDOM_SEED_H 22 | #define AVUTIL_RANDOM_SEED_H 23 | 24 | #include 25 | /** 26 | * @addtogroup lavu_crypto 27 | * @{ 28 | */ 29 | 30 | /** 31 | * Get a seed to use in conjunction with random functions. 32 | * This function tries to provide a good seed at a best effort bases. 33 | * Its possible to call this function multiple times if more bits are needed. 34 | * It can be quite slow, which is why it should only be used as seed for a faster 35 | * PRNG. The quality of the seed depends on the platform. 36 | */ 37 | uint32_t av_get_random_seed(void); 38 | 39 | /** 40 | * @} 41 | */ 42 | 43 | #endif /* AVUTIL_RANDOM_SEED_H */ 44 | -------------------------------------------------------------------------------- /src/libMuMediaHandler/include/libavutil/rc4.h: -------------------------------------------------------------------------------- 1 | /* 2 | * RC4 encryption/decryption/pseudo-random number generator 3 | * 4 | * This file is part of FFmpeg. 5 | * 6 | * FFmpeg is free software; you can redistribute it and/or 7 | * modify it under the terms of the GNU Lesser General Public 8 | * License as published by the Free Software Foundation; either 9 | * version 2.1 of the License, or (at your option) any later version. 10 | * 11 | * FFmpeg is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | * Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public 17 | * License along with FFmpeg; if not, write to the Free Software 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 | */ 20 | 21 | #ifndef AVUTIL_RC4_H 22 | #define AVUTIL_RC4_H 23 | 24 | #include 25 | 26 | /** 27 | * @defgroup lavu_rc4 RC4 28 | * @ingroup lavu_crypto 29 | * @{ 30 | */ 31 | 32 | typedef struct AVRC4 { 33 | uint8_t state[256]; 34 | int x, y; 35 | } AVRC4; 36 | 37 | /** 38 | * Allocate an AVRC4 context. 39 | */ 40 | AVRC4 *av_rc4_alloc(void); 41 | 42 | /** 43 | * @brief Initializes an AVRC4 context. 44 | * 45 | * @param key_bits must be a multiple of 8 46 | * @param decrypt 0 for encryption, 1 for decryption, currently has no effect 47 | * @return zero on success, negative value otherwise 48 | */ 49 | int av_rc4_init(struct AVRC4 *d, const uint8_t *key, int key_bits, int decrypt); 50 | 51 | /** 52 | * @brief Encrypts / decrypts using the RC4 algorithm. 53 | * 54 | * @param count number of bytes 55 | * @param dst destination array, can be equal to src 56 | * @param src source array, can be equal to dst, may be NULL 57 | * @param iv not (yet) used for RC4, should be NULL 58 | * @param decrypt 0 for encryption, 1 for decryption, not (yet) used 59 | */ 60 | void av_rc4_crypt(struct AVRC4 *d, uint8_t *dst, const uint8_t *src, int count, uint8_t *iv, int decrypt); 61 | 62 | /** 63 | * @} 64 | */ 65 | 66 | #endif /* AVUTIL_RC4_H */ 67 | -------------------------------------------------------------------------------- /src/libMuMediaHandler/include/libavutil/replaygain.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of FFmpeg. 3 | * 4 | * FFmpeg is free software; you can redistribute it and/or 5 | * modify it under the terms of the GNU Lesser General Public 6 | * License as published by the Free Software Foundation; either 7 | * version 2.1 of the License, or (at your option) any later version. 8 | * 9 | * FFmpeg is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | * Lesser General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU Lesser General Public 15 | * License along with FFmpeg; if not, write to the Free Software 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | #ifndef AVUTIL_REPLAYGAIN_H 20 | #define AVUTIL_REPLAYGAIN_H 21 | 22 | #include 23 | 24 | /** 25 | * ReplayGain information (see 26 | * http://wiki.hydrogenaudio.org/index.php?title=ReplayGain_1.0_specification). 27 | * The size of this struct is a part of the public ABI. 28 | */ 29 | typedef struct AVReplayGain { 30 | /** 31 | * Track replay gain in microbels (divide by 100000 to get the value in dB). 32 | * Should be set to INT32_MIN when unknown. 33 | */ 34 | int32_t track_gain; 35 | /** 36 | * Peak track amplitude, with 100000 representing full scale (but values 37 | * may overflow). 0 when unknown. 38 | */ 39 | uint32_t track_peak; 40 | /** 41 | * Same as track_gain, but for the whole album. 42 | */ 43 | int32_t album_gain; 44 | /** 45 | * Same as track_peak, but for the whole album, 46 | */ 47 | uint32_t album_peak; 48 | } AVReplayGain; 49 | 50 | #endif /* AVUTIL_REPLAYGAIN_H */ 51 | -------------------------------------------------------------------------------- /src/libMuMediaHandler/include/libavutil/time.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2000-2003 Fabrice Bellard 3 | * 4 | * This file is part of FFmpeg. 5 | * 6 | * FFmpeg is free software; you can redistribute it and/or 7 | * modify it under the terms of the GNU Lesser General Public 8 | * License as published by the Free Software Foundation; either 9 | * version 2.1 of the License, or (at your option) any later version. 10 | * 11 | * FFmpeg is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | * Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public 17 | * License along with FFmpeg; if not, write to the Free Software 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 | */ 20 | 21 | #ifndef AVUTIL_TIME_H 22 | #define AVUTIL_TIME_H 23 | 24 | #include 25 | 26 | /** 27 | * Get the current time in microseconds. 28 | */ 29 | int64_t av_gettime(void); 30 | 31 | /** 32 | * Get the current time in microseconds since some unspecified starting point. 33 | * On platforms that support it, the time comes from a monotonic clock 34 | * This property makes this time source ideal for measuring relative time. 35 | * The returned values may not be monotonic on platforms where a monotonic 36 | * clock is not available. 37 | */ 38 | int64_t av_gettime_relative(void); 39 | 40 | /** 41 | * Indicates with a boolean result if the av_gettime_relative() time source 42 | * is monotonic. 43 | */ 44 | int av_gettime_relative_is_monotonic(void); 45 | 46 | /** 47 | * Sleep for a period of time. Although the duration is expressed in 48 | * microseconds, the actual delay may be rounded to the precision of the 49 | * system timer. 50 | * 51 | * @param usec Number of microseconds to sleep. 52 | * @return zero on success or (negative) error code. 53 | */ 54 | int av_usleep(unsigned usec); 55 | 56 | #endif /* AVUTIL_TIME_H */ 57 | -------------------------------------------------------------------------------- /src/libMuMediaHandler/include/libpostproc/version.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Version macros. 3 | * 4 | * This file is part of FFmpeg. 5 | * 6 | * FFmpeg is free software; you can redistribute it and/or 7 | * modify it under the terms of the GNU Lesser General Public 8 | * License as published by the Free Software Foundation; either 9 | * version 2.1 of the License, or (at your option) any later version. 10 | * 11 | * FFmpeg is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | * Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public 17 | * License along with FFmpeg; if not, write to the Free Software 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 | */ 20 | 21 | #ifndef POSTPROC_VERSION_H 22 | #define POSTPROC_VERSION_H 23 | 24 | /** 25 | * @file 26 | * Libpostproc version macros 27 | */ 28 | 29 | #include "libavutil/avutil.h" 30 | 31 | #define LIBPOSTPROC_VERSION_MAJOR 55 32 | #define LIBPOSTPROC_VERSION_MINOR 1 33 | #define LIBPOSTPROC_VERSION_MICRO 100 34 | 35 | #define LIBPOSTPROC_VERSION_INT AV_VERSION_INT(LIBPOSTPROC_VERSION_MAJOR, \ 36 | LIBPOSTPROC_VERSION_MINOR, \ 37 | LIBPOSTPROC_VERSION_MICRO) 38 | #define LIBPOSTPROC_VERSION AV_VERSION(LIBPOSTPROC_VERSION_MAJOR, \ 39 | LIBPOSTPROC_VERSION_MINOR, \ 40 | LIBPOSTPROC_VERSION_MICRO) 41 | #define LIBPOSTPROC_BUILD LIBPOSTPROC_VERSION_INT 42 | 43 | #define LIBPOSTPROC_IDENT "postproc" AV_STRINGIFY(LIBPOSTPROC_VERSION) 44 | 45 | #endif /* POSTPROC_VERSION_H */ 46 | -------------------------------------------------------------------------------- /src/libMuMediaHandler/include/libswresample/version.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Version macros. 3 | * 4 | * This file is part of libswresample 5 | * 6 | * libswresample is free software; you can redistribute it and/or 7 | * modify it under the terms of the GNU Lesser General Public 8 | * License as published by the Free Software Foundation; either 9 | * version 2.1 of the License, or (at your option) any later version. 10 | * 11 | * libswresample is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | * Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public 17 | * License along with libswresample; if not, write to the Free Software 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 | */ 20 | 21 | #ifndef SWRESAMPLE_VERSION_H 22 | #define SWRESAMPLE_VERSION_H 23 | 24 | /** 25 | * @file 26 | * Libswresample version macros 27 | */ 28 | 29 | #include "libavutil/avutil.h" 30 | 31 | #define LIBSWRESAMPLE_VERSION_MAJOR 3 32 | #define LIBSWRESAMPLE_VERSION_MINOR 1 33 | #define LIBSWRESAMPLE_VERSION_MICRO 100 34 | 35 | #define LIBSWRESAMPLE_VERSION_INT AV_VERSION_INT(LIBSWRESAMPLE_VERSION_MAJOR, \ 36 | LIBSWRESAMPLE_VERSION_MINOR, \ 37 | LIBSWRESAMPLE_VERSION_MICRO) 38 | #define LIBSWRESAMPLE_VERSION AV_VERSION(LIBSWRESAMPLE_VERSION_MAJOR, \ 39 | LIBSWRESAMPLE_VERSION_MINOR, \ 40 | LIBSWRESAMPLE_VERSION_MICRO) 41 | #define LIBSWRESAMPLE_BUILD LIBSWRESAMPLE_VERSION_INT 42 | 43 | #define LIBSWRESAMPLE_IDENT "SwR" AV_STRINGIFY(LIBSWRESAMPLE_VERSION) 44 | 45 | #endif /* SWRESAMPLE_VERSION_H */ 46 | -------------------------------------------------------------------------------- /src/libMuMediaHandler/include/libswscale/version.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of FFmpeg. 3 | * 4 | * FFmpeg is free software; you can redistribute it and/or 5 | * modify it under the terms of the GNU Lesser General Public 6 | * License as published by the Free Software Foundation; either 7 | * version 2.1 of the License, or (at your option) any later version. 8 | * 9 | * FFmpeg is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | * Lesser General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU Lesser General Public 15 | * License along with FFmpeg; if not, write to the Free Software 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | #ifndef SWSCALE_VERSION_H 20 | #define SWSCALE_VERSION_H 21 | 22 | /** 23 | * @file 24 | * swscale version macros 25 | */ 26 | 27 | #include "libavutil/version.h" 28 | 29 | #define LIBSWSCALE_VERSION_MAJOR 5 30 | #define LIBSWSCALE_VERSION_MINOR 1 31 | #define LIBSWSCALE_VERSION_MICRO 100 32 | 33 | #define LIBSWSCALE_VERSION_INT AV_VERSION_INT(LIBSWSCALE_VERSION_MAJOR, \ 34 | LIBSWSCALE_VERSION_MINOR, \ 35 | LIBSWSCALE_VERSION_MICRO) 36 | #define LIBSWSCALE_VERSION AV_VERSION(LIBSWSCALE_VERSION_MAJOR, \ 37 | LIBSWSCALE_VERSION_MINOR, \ 38 | LIBSWSCALE_VERSION_MICRO) 39 | #define LIBSWSCALE_BUILD LIBSWSCALE_VERSION_INT 40 | 41 | #define LIBSWSCALE_IDENT "SwS" AV_STRINGIFY(LIBSWSCALE_VERSION) 42 | 43 | /** 44 | * FF_API_* defines may be placed below to indicate public API that will be 45 | * dropped at a future version bump. The defines themselves are not part of 46 | * the public API and may change, break or disappear at any time. 47 | */ 48 | 49 | #ifndef FF_API_SWS_VECTOR 50 | #define FF_API_SWS_VECTOR (LIBSWSCALE_VERSION_MAJOR < 6) 51 | #endif 52 | 53 | #endif /* SWSCALE_VERSION_H */ 54 | -------------------------------------------------------------------------------- /src/libMuMediaHandler/lib/avcodec.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/libMuMediaHandler/lib/avcodec.lib -------------------------------------------------------------------------------- /src/libMuMediaHandler/lib/avdevice.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/libMuMediaHandler/lib/avdevice.lib -------------------------------------------------------------------------------- /src/libMuMediaHandler/lib/avfilter.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/libMuMediaHandler/lib/avfilter.lib -------------------------------------------------------------------------------- /src/libMuMediaHandler/lib/avformat.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/libMuMediaHandler/lib/avformat.lib -------------------------------------------------------------------------------- /src/libMuMediaHandler/lib/avutil.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/libMuMediaHandler/lib/avutil.lib -------------------------------------------------------------------------------- /src/libMuMediaHandler/lib/dsound.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/libMuMediaHandler/lib/dsound.lib -------------------------------------------------------------------------------- /src/libMuMediaHandler/lib/dxguid.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/libMuMediaHandler/lib/dxguid.lib -------------------------------------------------------------------------------- /src/libMuMediaHandler/lib/postproc.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/libMuMediaHandler/lib/postproc.lib -------------------------------------------------------------------------------- /src/libMuMediaHandler/lib/swresample.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/libMuMediaHandler/lib/swresample.lib -------------------------------------------------------------------------------- /src/libMuMediaHandler/lib/swscale.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/libMuMediaHandler/lib/swscale.lib -------------------------------------------------------------------------------- /src/libMuMediaHandler/libMuMediaHandler.pri: -------------------------------------------------------------------------------- 1 | INCLUDEPATH += $$PWD 2 | 3 | DEPENDPATH += $$PWD 4 | 5 | TEMPLATE += fakelib 6 | 7 | # qtLibraryTarget确保windows下debug模式生成的动态库可以自动加个d 8 | # 用来区分 release 和 debug 模式下的库, 这里只是为了设置LIBFRAMELESSWINDOW_NAME的值, 9 | # 所以 TEMPLATE -= fakelib,不然 qtLibraryTarget 获取不到值 10 | LIBMUMEDIAHANDLER_NAME = $$qtLibraryTarget(MuMediaHandler) 11 | 12 | TEMPLATE -= fakelib 13 | 14 | include(../../common.pri) 15 | 16 | # MuMediaHandler-buildlib 标志用来区分是 libFramelessWindow调用 17 | # 还是 libTest调用, 所以需要在 libFramelessWindow.pro中 18 | # 设置 CONFIG += FramelessWindow-buidlib 19 | MuMediaHandler-buildlib{ 20 | HEADERS += libMuMediaHandler_Global.h \ 21 | MuMedia.h \ 22 | MuMedia_p.h 23 | 24 | SOURCES += \ 25 | MuMedia.cpp 26 | 27 | }else{ 28 | LIBS += -L$$PROJECT_LIBDIR -l$$LIBMUMEDIAHANDLER_NAME 29 | } 30 | 31 | -------------------------------------------------------------------------------- /src/libMuMediaHandler/libMuMediaHandler.pro: -------------------------------------------------------------------------------- 1 | #------------------------------------------------- 2 | # 3 | # Project created by QtCreator 2018-11-23T15:59:10 4 | # 5 | #------------------------------------------------- 6 | 7 | QT -= core gui 8 | 9 | TARGET = MuMediaHandler 10 | TEMPLATE = lib 11 | 12 | DEFINES += MUMEDIAHANDLER_LIBRARY 13 | 14 | include(../common.pri) 15 | 16 | DESTDIR = $$PROJECT_LIBDIR 17 | 18 | win32{ 19 | DLLDESTDIR = $$PROJECT_BINDIR 20 | QMAKE_DISTCLEAN += $$PROJECT_BINDIR/MuMediaHandler.dll 21 | } 22 | 23 | # The following define makes your compiler emit warnings if you use 24 | # any feature of Qt which has been marked as deprecated (the exact warnings 25 | # depend on your compiler). Please consult the documentation of the 26 | # deprecated API in order to know how to port your code away from it. 27 | DEFINES += QT_DEPRECATED_WARNINGS 28 | 29 | # You can also make your code fail to compile if you use deprecated APIs. 30 | # In order to do so, uncomment the following line. 31 | # You can also select to disable deprecated APIs only up to a certain version of Qt. 32 | #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0 33 | 34 | INCLUDEPATH += $$PWD/include 35 | 36 | SOURCES += \ 37 | $$PWD/src/MuMedia.cpp 38 | 39 | HEADERS += \ 40 | $$PWD/src/MuMedia.h \ 41 | $$PWD/src/MuMedia_p.h \ 42 | $$PWD/src/libMuMediaHandler_Global.h 43 | 44 | unix { 45 | target.path = /usr/lib 46 | INSTALLS += target 47 | } 48 | 49 | #CONFIG += MuMediaHandler-buildlib 50 | 51 | #include(libMuMediaHandler.pri) 52 | 53 | #TARGET = $$LIBMUMEDIAHANDLER_NAME 54 | 55 | #DESTDIR = $$PROJECT_LIBDIR 56 | 57 | #win32{ 58 | # DLLDESTDIR = $$PROJECT_BINDIR 59 | # QMAKE_DISTCLEAN += $$PROJECT_BINDIR/$${LIBMUMEDIAHANDLER_NAME}.dll 60 | #} 61 | 62 | #CONFIG += debug_and_release build_all 63 | 64 | unix|win32: LIBS += -L$$PWD/lib/ -lavcodec -lavdevice -lavfilter -lavformat -lavutil -lswresample -lswscale -ldsound -ldxguid 65 | 66 | INCLUDEPATH += $$PWD/include 67 | DEPENDPATH += $$PWD/include 68 | -------------------------------------------------------------------------------- /src/libMuMediaHandler/src/MuMedia.h: -------------------------------------------------------------------------------- 1 | /** 2 | * MumuMusic 3 | * 基于Qt的模仿网易云音乐PC客户端的app 4 | * 5 | * FlyWM_ 6 | * GitHub: https://github.com/FlyWM 7 | * CSDN: https://blog.csdn.net/a844651990 8 | */ 9 | 10 | #ifndef MUMEDIA_H 11 | #define MUMEDIA_H 12 | 13 | #include 14 | #include 15 | #include "libMuMediaHandler_Global.h" 16 | 17 | class MuMediaPrivate; 18 | class MuMediaData; 19 | class MUMEDIAHANDLERSHARED_EXPORT MuMedia 20 | { 21 | Mu_DECLARE_PRIVATE(MuMedia) 22 | 23 | public: 24 | MuMedia(const std::string fileName = ""); 25 | ~MuMedia(); 26 | void setMediaFileName(const std::string &fileName); 27 | std::string audioFile() const; 28 | std::string audioDir() const; 29 | std::string audioTitle() const; 30 | std::string audioAlbum() const; 31 | std::string audioArtist() const; 32 | int64_t duration() const; 33 | int64_t bitRate() const; 34 | int64_t fileSize() const; 35 | std::pair attchedPic() const; 36 | bool isValid() const; 37 | 38 | protected: 39 | MuMediaData *d_ptr; 40 | }; 41 | 42 | #endif // MUMEDIA_H 43 | -------------------------------------------------------------------------------- /src/libMuMediaHandler/src/MuMedia_p.h: -------------------------------------------------------------------------------- 1 | /** 2 | * MumuMusic 3 | * 基于Qt的模仿网易云音乐PC客户端的app 4 | * 5 | * FlyWM_ 6 | * GitHub: https://github.com/FlyWM 7 | * CSDN: https://blog.csdn.net/a844651990 8 | */ 9 | 10 | #ifndef MUMEDIA_P_H 11 | #define MUMEDIA_P_H 12 | 13 | #include 14 | #include 15 | #include "libMuMediaHandler_Global.h" 16 | 17 | class MUMEDIAHANDLERSHARED_EXPORT MuMediaData 18 | { 19 | public: 20 | enum MediaType 21 | { 22 | AudioMedia, 23 | VideoMedia, 24 | }; 25 | 26 | // file, dir, title, album, artist, duration, timestamp, bitrate, filesize, ignored 27 | std::string mediaFileName; 28 | std::map audioBrief; 29 | int64_t duration; 30 | int64_t bitRate; 31 | std::pair attachedPic; 32 | int64_t fileSize; 33 | bool isValid; 34 | MediaType mediaType; 35 | }; 36 | 37 | struct AVFormatContext; 38 | class MUMEDIAHANDLERSHARED_EXPORT MuMediaPrivate : public MuMediaData 39 | { 40 | public: 41 | MuMediaPrivate(); 42 | 43 | void setMediaFileName(const std::string &fileName); 44 | 45 | protected: 46 | AVFormatContext *m_pFormatCtx; 47 | }; 48 | 49 | #endif // MUMEDIA_P_H 50 | -------------------------------------------------------------------------------- /src/libMuMediaHandler/src/libMuMediaHandler_Global.h: -------------------------------------------------------------------------------- 1 | /** 2 | * MumuMusic 3 | * 基于Qt的模仿网易云音乐PC客户端的app 4 | * 5 | * FlyWM_ 6 | * GitHub: https://github.com/FlyWM 7 | * CSDN: https://blog.csdn.net/a844651990 8 | */ 9 | 10 | #ifndef LIBMUMEDIAHANDLER_GLOBAL_H 11 | #define LIBMUMEDIAHANDLER_GLOBAL_H 12 | 13 | #if defined(MUMEDIAHANDLER_LIBRARY) 14 | # define MUMEDIAHANDLERSHARED_EXPORT __declspec(dllexport) 15 | #else 16 | # define MUMEDIAHANDLERSHARED_EXPORT __declspec(dllimport) 17 | #endif 18 | 19 | template static inline T *muGetPrtHelper(T *ptr) { return ptr; } 20 | //template static inline typename Wrapper::pointer qGetPtrHelper(const Wrapper &p) { return p.data(); } 21 | 22 | #define Mu_DECLARE_PRIVATE(Class) \ 23 | inline Class##Private *d_func() { return reinterpret_cast(muGetPrtHelper(d_ptr)); } \ 24 | inline const Class##Private *d_func() const { return reinterpret_cast(muGetPrtHelper(d_ptr)); } \ 25 | friend class Class##Private; 26 | 27 | #define Mu_D(Class) Class##Private * const d = d_func() 28 | 29 | #endif // LIBMUMEDIAHANDLER_GLOBAL_H 30 | -------------------------------------------------------------------------------- /src/player/MuGlobal.h: -------------------------------------------------------------------------------- 1 | /** 2 | * MumuMusic 3 | * 基于Qt的模仿网易云音乐PC客户端的app 4 | * 5 | * FlyWM_ 6 | * GitHub: https://github.com/FlyWM 7 | * CSDN: https://blog.csdn.net/a844651990 8 | */ 9 | 10 | #ifndef MUGLOBAL_H 11 | #define MUGLOBAL_H 12 | 13 | #ifdef Q_CC_MSVC 14 | #define CN_STR_(str) QString::fromLocal8Bit(str) 15 | #endif 16 | 17 | #include 18 | 19 | typedef struct { 20 | QString iconPath; 21 | QString title; 22 | QString songsNb; 23 | } MuListItemData; 24 | Q_DECLARE_METATYPE(MuListItemData) 25 | 26 | namespace Mu { 27 | enum LocalMusicButton { 28 | NullButton = -1, 29 | ListButton, 30 | ArtistButton, 31 | AlbumButton, 32 | FolderButton 33 | }; 34 | } 35 | 36 | 37 | #endif // MUGLOBAL_H 38 | -------------------------------------------------------------------------------- /src/player/MumuMusic.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | D:\Qt\Qt5.9.6\5.9.6\msvc2015 6 | PATH=$(QTDIR)\bin%3b$(PATH) 7 | 8 | 9 | D:\Qt\Qt5.9.6\5.9.6\msvc2015 10 | PATH=$(QTDIR)\bin%3b$(PATH) 11 | 12 | -------------------------------------------------------------------------------- /src/player/MumuMusicPlayer.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | D:\Qt\Qt5.9.6\5.9.6\msvc2015 6 | PATH=$(QTDIR)\bin%3b$(PATH) 7 | 8 | 9 | D:\Qt\Qt5.9.6\5.9.6\msvc2015 10 | PATH=$(QTDIR)\bin%3b$(PATH) 11 | 12 | -------------------------------------------------------------------------------- /src/player/Win32/Debug/MuBaseWidget.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/Win32/Debug/MuBaseWidget.obj -------------------------------------------------------------------------------- /src/player/Win32/Debug/MuCentralWidget.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/Win32/Debug/MuCentralWidget.obj -------------------------------------------------------------------------------- /src/player/Win32/Debug/MuConversionTool.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/Win32/Debug/MuConversionTool.obj -------------------------------------------------------------------------------- /src/player/Win32/Debug/MuCreatePlayListDlgUI.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/Win32/Debug/MuCreatePlayListDlgUI.obj -------------------------------------------------------------------------------- /src/player/Win32/Debug/MuDBManager.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/Win32/Debug/MuDBManager.obj -------------------------------------------------------------------------------- /src/player/Win32/Debug/MuDialogUI.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/Win32/Debug/MuDialogUI.obj -------------------------------------------------------------------------------- /src/player/Win32/Debug/MuImageHandler.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/Win32/Debug/MuImageHandler.obj -------------------------------------------------------------------------------- /src/player/Win32/Debug/MuListView.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/Win32/Debug/MuListView.obj -------------------------------------------------------------------------------- /src/player/Win32/Debug/MuListViewItemDelegate.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/Win32/Debug/MuListViewItemDelegate.obj -------------------------------------------------------------------------------- /src/player/Win32/Debug/MuListWidgetItem.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/Win32/Debug/MuListWidgetItem.obj -------------------------------------------------------------------------------- /src/player/Win32/Debug/MuLocalMusicDetailUI.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/Win32/Debug/MuLocalMusicDetailUI.obj -------------------------------------------------------------------------------- /src/player/Win32/Debug/MuLocalMusicTableAreaUI.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/Win32/Debug/MuLocalMusicTableAreaUI.obj -------------------------------------------------------------------------------- /src/player/Win32/Debug/MuLocalMusicWidgetUI.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/Win32/Debug/MuLocalMusicWidgetUI.obj -------------------------------------------------------------------------------- /src/player/Win32/Debug/MuMainWindow.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/Win32/Debug/MuMainWindow.obj -------------------------------------------------------------------------------- /src/player/Win32/Debug/MuMusicMangeWidget.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/Win32/Debug/MuMusicMangeWidget.obj -------------------------------------------------------------------------------- /src/player/Win32/Debug/MuPlayListMainWidgetUI.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/Win32/Debug/MuPlayListMainWidgetUI.obj -------------------------------------------------------------------------------- /src/player/Win32/Debug/MuPlayStatusBar.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/Win32/Debug/MuPlayStatusBar.obj -------------------------------------------------------------------------------- /src/player/Win32/Debug/MuPlayStatusBarUI.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/Win32/Debug/MuPlayStatusBarUI.obj -------------------------------------------------------------------------------- /src/player/Win32/Debug/MuPopupWidgetButton.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/Win32/Debug/MuPopupWidgetButton.obj -------------------------------------------------------------------------------- /src/player/Win32/Debug/MuScrollArea.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/Win32/Debug/MuScrollArea.obj -------------------------------------------------------------------------------- /src/player/Win32/Debug/MuSelectLocalMusicWidgetUI.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/Win32/Debug/MuSelectLocalMusicWidgetUI.obj -------------------------------------------------------------------------------- /src/player/Win32/Debug/MuShadowWidget.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/Win32/Debug/MuShadowWidget.obj -------------------------------------------------------------------------------- /src/player/Win32/Debug/MuSmallControls.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/Win32/Debug/MuSmallControls.obj -------------------------------------------------------------------------------- /src/player/Win32/Debug/MuStyleHelper.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/Win32/Debug/MuStyleHelper.obj -------------------------------------------------------------------------------- /src/player/Win32/Debug/MuTableManageMenu.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/Win32/Debug/MuTableManageMenu.obj -------------------------------------------------------------------------------- /src/player/Win32/Debug/MuTableView.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/Win32/Debug/MuTableView.obj -------------------------------------------------------------------------------- /src/player/Win32/Debug/MuTableViewHelper.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/Win32/Debug/MuTableViewHelper.obj -------------------------------------------------------------------------------- /src/player/Win32/Debug/MuTestMainWidget.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/Win32/Debug/MuTestMainWidget.obj -------------------------------------------------------------------------------- /src/player/Win32/Debug/MuToolbox.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/Win32/Debug/MuToolbox.obj -------------------------------------------------------------------------------- /src/player/Win32/Debug/MumuMusic.log: -------------------------------------------------------------------------------- 1 |  Moc'ing ui\MuLocalMusicWidgetUI.h... 2 | Moc'ing widgets\MuTableView.h... 3 | cl : 命令行 warning D9002: 忽略未知选项“-gstabs+” 4 | cl : 命令行 warning D9002: 忽略未知选项“-gstabs+” 5 | moc_MuLocalMusicWidgetUI.cpp 6 | cl : 命令行 warning D9002: 忽略未知选项“-gstabs+” 7 | moc_MuTableView.cpp 8 | cl : 命令行 warning D9002: 忽略未知选项“-gstabs+” 9 | MuDBManager.cpp 10 | cl : 命令行 warning D9002: 忽略未知选项“-gstabs+” 11 | MuLocalMusicManager.cpp 12 | cl : 命令行 warning D9002: 忽略未知选项“-gstabs+” 13 | MuLocalMusicDetailUI.cpp 14 | cl : 命令行 warning D9002: 忽略未知选项“-gstabs+” 15 | MuLocalMusicTableAreaUI.cpp 16 | cl : 命令行 warning D9002: 忽略未知选项“-gstabs+” 17 | MuLocalMusicWidgetUI.cpp 18 | cl : 命令行 warning D9002: 忽略未知选项“-gstabs+” 19 | MuPlayListMainWidgetUI.cpp 20 | core\MuDBManager.cpp(152): warning C4100: “row”: 未引用的形参 21 | MuMainWindow.cpp 22 | MuTableManageMenu.cpp 23 | MuTableView.cpp 24 | MumuMusic.vcxproj -> E:\myOpenSourcce\MumuMusic\src\player\..\..\bin\MumuMusic.exe 25 | MumuMusic.vcxproj -> ..\..\bin\MumuMusic.pdb (Full PDB) 26 | -------------------------------------------------------------------------------- /src/player/Win32/Debug/MumuMusic.tlog/CL.command.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/Win32/Debug/MumuMusic.tlog/CL.command.1.tlog -------------------------------------------------------------------------------- /src/player/Win32/Debug/MumuMusic.tlog/CL.read.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/Win32/Debug/MumuMusic.tlog/CL.read.1.tlog -------------------------------------------------------------------------------- /src/player/Win32/Debug/MumuMusic.tlog/CL.write.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/Win32/Debug/MumuMusic.tlog/CL.write.1.tlog -------------------------------------------------------------------------------- /src/player/Win32/Debug/MumuMusic.tlog/MumuMusic.lastbuildstate: -------------------------------------------------------------------------------- 1 | #TargetFrameworkVersion=v4.0:PlatformToolSet=v140:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native32Bit:WindowsTargetPlatformVersion=10.0.14393.0 2 | Debug|Win32|E:\myOpenSourcce\MumuMusic\| 3 | -------------------------------------------------------------------------------- /src/player/Win32/Debug/MumuMusic.tlog/MumuMusic.write.1u.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/Win32/Debug/MumuMusic.tlog/MumuMusic.write.1u.tlog -------------------------------------------------------------------------------- /src/player/Win32/Debug/MumuMusic.tlog/QtMoc.read.1u.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/Win32/Debug/MumuMusic.tlog/QtMoc.read.1u.tlog -------------------------------------------------------------------------------- /src/player/Win32/Debug/MumuMusic.tlog/QtMoc.write.1u.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/Win32/Debug/MumuMusic.tlog/QtMoc.write.1u.tlog -------------------------------------------------------------------------------- /src/player/Win32/Debug/MumuMusic.tlog/QtRcc.read.1u.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/Win32/Debug/MumuMusic.tlog/QtRcc.read.1u.tlog -------------------------------------------------------------------------------- /src/player/Win32/Debug/MumuMusic.tlog/QtRcc.write.1u.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/Win32/Debug/MumuMusic.tlog/QtRcc.write.1u.tlog -------------------------------------------------------------------------------- /src/player/Win32/Debug/MumuMusic.tlog/QtUic.read.1u.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/Win32/Debug/MumuMusic.tlog/QtUic.read.1u.tlog -------------------------------------------------------------------------------- /src/player/Win32/Debug/MumuMusic.tlog/QtUic.write.1u.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/Win32/Debug/MumuMusic.tlog/QtUic.write.1u.tlog -------------------------------------------------------------------------------- /src/player/Win32/Debug/MumuMusic.tlog/custombuild.command.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/Win32/Debug/MumuMusic.tlog/custombuild.command.1.tlog -------------------------------------------------------------------------------- /src/player/Win32/Debug/MumuMusic.tlog/custombuild.read.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/Win32/Debug/MumuMusic.tlog/custombuild.read.1.tlog -------------------------------------------------------------------------------- /src/player/Win32/Debug/MumuMusic.tlog/custombuild.write.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/Win32/Debug/MumuMusic.tlog/custombuild.write.1.tlog -------------------------------------------------------------------------------- /src/player/Win32/Debug/MumuMusic.tlog/link.command.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/Win32/Debug/MumuMusic.tlog/link.command.1.tlog -------------------------------------------------------------------------------- /src/player/Win32/Debug/MumuMusic.tlog/link.read.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/Win32/Debug/MumuMusic.tlog/link.read.1.tlog -------------------------------------------------------------------------------- /src/player/Win32/Debug/MumuMusic.tlog/link.write.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/Win32/Debug/MumuMusic.tlog/link.write.1.tlog -------------------------------------------------------------------------------- /src/player/Win32/Debug/main.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/Win32/Debug/main.obj -------------------------------------------------------------------------------- /src/player/Win32/Debug/moc_MuBaseWidget.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/Win32/Debug/moc_MuBaseWidget.obj -------------------------------------------------------------------------------- /src/player/Win32/Debug/moc_MuCentralWidget.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/Win32/Debug/moc_MuCentralWidget.obj -------------------------------------------------------------------------------- /src/player/Win32/Debug/moc_MuConversionTool.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/Win32/Debug/moc_MuConversionTool.obj -------------------------------------------------------------------------------- /src/player/Win32/Debug/moc_MuCreatePlayListDlgUI.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/Win32/Debug/moc_MuCreatePlayListDlgUI.obj -------------------------------------------------------------------------------- /src/player/Win32/Debug/moc_MuDBManager.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/Win32/Debug/moc_MuDBManager.obj -------------------------------------------------------------------------------- /src/player/Win32/Debug/moc_MuDialogUI.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/Win32/Debug/moc_MuDialogUI.obj -------------------------------------------------------------------------------- /src/player/Win32/Debug/moc_MuImageHandler.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/Win32/Debug/moc_MuImageHandler.obj -------------------------------------------------------------------------------- /src/player/Win32/Debug/moc_MuListView.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/Win32/Debug/moc_MuListView.obj -------------------------------------------------------------------------------- /src/player/Win32/Debug/moc_MuListViewItemDelegate.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/Win32/Debug/moc_MuListViewItemDelegate.obj -------------------------------------------------------------------------------- /src/player/Win32/Debug/moc_MuListWidgetItem.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/Win32/Debug/moc_MuListWidgetItem.obj -------------------------------------------------------------------------------- /src/player/Win32/Debug/moc_MuLocalMusicDetailUI.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/Win32/Debug/moc_MuLocalMusicDetailUI.obj -------------------------------------------------------------------------------- /src/player/Win32/Debug/moc_MuLocalMusicTableAreaUI.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/Win32/Debug/moc_MuLocalMusicTableAreaUI.obj -------------------------------------------------------------------------------- /src/player/Win32/Debug/moc_MuLocalMusicWidgetUI.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/Win32/Debug/moc_MuLocalMusicWidgetUI.obj -------------------------------------------------------------------------------- /src/player/Win32/Debug/moc_MuMainWindow.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/Win32/Debug/moc_MuMainWindow.obj -------------------------------------------------------------------------------- /src/player/Win32/Debug/moc_MuMusicMangeWidget.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/Win32/Debug/moc_MuMusicMangeWidget.obj -------------------------------------------------------------------------------- /src/player/Win32/Debug/moc_MuPlayListMainWidgetUI.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/Win32/Debug/moc_MuPlayListMainWidgetUI.obj -------------------------------------------------------------------------------- /src/player/Win32/Debug/moc_MuPlayStatusBar.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/Win32/Debug/moc_MuPlayStatusBar.obj -------------------------------------------------------------------------------- /src/player/Win32/Debug/moc_MuPlayStatusBarUI.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/Win32/Debug/moc_MuPlayStatusBarUI.obj -------------------------------------------------------------------------------- /src/player/Win32/Debug/moc_MuPopupWidgetButton.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/Win32/Debug/moc_MuPopupWidgetButton.obj -------------------------------------------------------------------------------- /src/player/Win32/Debug/moc_MuScrollArea.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/Win32/Debug/moc_MuScrollArea.obj -------------------------------------------------------------------------------- /src/player/Win32/Debug/moc_MuSelectLocalMusicWidgetUI.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/Win32/Debug/moc_MuSelectLocalMusicWidgetUI.obj -------------------------------------------------------------------------------- /src/player/Win32/Debug/moc_MuShadowWidget.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/Win32/Debug/moc_MuShadowWidget.obj -------------------------------------------------------------------------------- /src/player/Win32/Debug/moc_MuSmallControls.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/Win32/Debug/moc_MuSmallControls.obj -------------------------------------------------------------------------------- /src/player/Win32/Debug/moc_MuTableManageMenu.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/Win32/Debug/moc_MuTableManageMenu.obj -------------------------------------------------------------------------------- /src/player/Win32/Debug/moc_MuTableView.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/Win32/Debug/moc_MuTableView.obj -------------------------------------------------------------------------------- /src/player/Win32/Debug/moc_MuTableViewHelper.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/Win32/Debug/moc_MuTableViewHelper.obj -------------------------------------------------------------------------------- /src/player/Win32/Debug/moc_MuTestMainWidget.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/Win32/Debug/moc_MuTestMainWidget.obj -------------------------------------------------------------------------------- /src/player/Win32/Debug/moc_MuToolbox.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/Win32/Debug/moc_MuToolbox.obj -------------------------------------------------------------------------------- /src/player/Win32/Debug/qrc_gif.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/Win32/Debug/qrc_gif.obj -------------------------------------------------------------------------------- /src/player/Win32/Debug/qrc_i18n.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/Win32/Debug/qrc_i18n.obj -------------------------------------------------------------------------------- /src/player/Win32/Debug/qrc_images.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/Win32/Debug/qrc_images.obj -------------------------------------------------------------------------------- /src/player/Win32/Debug/qrc_styles.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/Win32/Debug/qrc_styles.obj -------------------------------------------------------------------------------- /src/player/Win32/Debug/qrc_testImgs.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/Win32/Debug/qrc_testImgs.obj -------------------------------------------------------------------------------- /src/player/Win32/Debug/vc140.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/Win32/Debug/vc140.pdb -------------------------------------------------------------------------------- /src/player/core/MuDBManager.h: -------------------------------------------------------------------------------- 1 | /** 2 | * MumuMusic 3 | * 基于Qt的模仿网易云音乐PC客户端的app 4 | * 5 | * FlyWM_ 6 | * GitHub: https://github.com/FlyWM 7 | * CSDN: https://blog.csdn.net/a844651990 8 | */ 9 | 10 | #ifndef MUDBMANAGER_H 11 | #define MUDBMANAGER_H 12 | 13 | #include 14 | 15 | class MuDBSql 16 | { 17 | public: 18 | static QLatin1String sql_ListTable() { 19 | return QLatin1String("SELECT dir, title, artist, album, duration, filesize FROM LocalMusicTrack where ignored = 0;"); 20 | } 21 | static QLatin1String sql_ArtistTable() { 22 | return QLatin1String(); 23 | } 24 | }; 25 | 26 | 27 | class MuDataBase; 28 | class MuDBManager : public QObject 29 | { 30 | Q_OBJECT 31 | 32 | public: 33 | enum DBTable 34 | { 35 | LocalMusicTrack, 36 | }; 37 | 38 | public: 39 | static MuDBManager &getInstance() { 40 | static MuDBManager dbmanger; 41 | return dbmanger; 42 | } 43 | 44 | void initDB(); 45 | void insertData(DBTable table, const QList &data); 46 | void deleteRow(DBTable table, const int &row); 47 | 48 | QStringList getAllArtists() const; 49 | 50 | private: 51 | explicit MuDBManager(QObject *parent = nullptr); 52 | MuDBManager(const MuDBManager&); 53 | MuDBManager &operator =(const MuDBManager&); 54 | 55 | MuDataBase *db; 56 | }; 57 | 58 | #endif // MUDBMANAGER_H 59 | -------------------------------------------------------------------------------- /src/player/core/MuLocalMusicManager.h: -------------------------------------------------------------------------------- 1 | #ifndef MULOCALMUSICMANAGER_H 2 | #define MULOCALMUSICMANAGER_H 3 | 4 | #include 5 | 6 | class MuLocalMusicManagerPrivate; 7 | class MuLocalMusicManager : public QObject 8 | { 9 | Q_OBJECT 10 | 11 | public: 12 | static MuLocalMusicManager &getInstance() { 13 | static MuLocalMusicManager instance; 14 | return instance; 15 | } 16 | 17 | void updateLocalMusic(const QStringList paths) { 18 | emit UpdateLocalMusic(paths); 19 | } 20 | 21 | signals: 22 | void UpdateLocalMusic(const QStringList paths); 23 | void UpdateDone(); 24 | 25 | public slots: 26 | 27 | private: 28 | 29 | private: 30 | MuLocalMusicManagerPrivate *d; 31 | 32 | private: 33 | explicit MuLocalMusicManager(QObject *parent = nullptr); 34 | MuLocalMusicManager(const MuLocalMusicManager &); 35 | MuLocalMusicManager &operator = (const MuLocalMusicManager&); 36 | }; 37 | 38 | #endif // MULOCALMUSICMANAGER_H 39 | -------------------------------------------------------------------------------- /src/player/core/MuLocalMusicManager_p.h: -------------------------------------------------------------------------------- 1 | #ifndef MULOCALMUSICMANAGER_P_H 2 | #define MULOCALMUSICMANAGER_P_H 3 | 4 | #include 5 | 6 | class MuLocalMusicManagerPrivate : public QObject 7 | { 8 | Q_OBJECT 9 | 10 | public: 11 | MuLocalMusicManagerPrivate(QObject *parent = nullptr); 12 | 13 | public slots: 14 | void onUpdateLocalMusic(const QStringList paths); 15 | 16 | signals: 17 | void Finished(); 18 | void UpdateDone(); 19 | 20 | private: 21 | QStringList findFiles(const QString &startDir, QStringList filters); 22 | }; 23 | 24 | #endif // MULOCALMUSICMANAGER_P_H 25 | -------------------------------------------------------------------------------- /src/player/debug/moc_predefs.h.cbt: -------------------------------------------------------------------------------- 1 | This is a dummy file needed to create debug/moc_predefs.h 2 | -------------------------------------------------------------------------------- /src/player/main.cpp: -------------------------------------------------------------------------------- 1 | /** 2 | * MumuMusic 3 | * 基于Qt的模仿网易云音乐PC客户端的app 4 | * 5 | * FlyWM_ 6 | * GitHub: https://github.com/FlyWM 7 | * CSDN: https://blog.csdn.net/a844651990 8 | */ 9 | 10 | #include 11 | #include 12 | #include 13 | #include 14 | #include 15 | #include 16 | #include "MuMainWindow.h" 17 | #include "MuStyleHelper.h" 18 | #include "MuTestMainWidget.h" 19 | #include "MuSmallControls.h" 20 | #include "MuDBManager.h" 21 | 22 | //#define Test 23 | 24 | int main(int argc, char *argv[]) 25 | { 26 | QApplication a(argc, argv); 27 | 28 | QCoreApplication::setOrganizationName(QStringLiteral("Mumu")); 29 | QCoreApplication::setApplicationName(QStringLiteral("Mumu Music")); 30 | 31 | QTranslator translator; 32 | translator.load(":/i18n/zh_cn.qm"); 33 | a.installTranslator(&translator); 34 | 35 | MuDBManager &dbmanager = MuDBManager::getInstance(); 36 | dbmanager.initDB(); 37 | 38 | MuUtils::MuStyleHelper::setStyle(":/styles/red.qss"); 39 | #if defined(Test) 40 | MuTestMainWidget w; 41 | w.show(); 42 | #else 43 | MuMainWindow w; 44 | w.show(); 45 | w.initPos(); 46 | #endif 47 | return a.exec(); 48 | } 49 | -------------------------------------------------------------------------------- /src/player/release/moc_predefs.h.cbt: -------------------------------------------------------------------------------- 1 | This is a dummy file needed to create release/moc_predefs.h 2 | -------------------------------------------------------------------------------- /src/player/resources/gif.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | gif/updating.gif 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/player/resources/gif/updating.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/gif/updating.gif -------------------------------------------------------------------------------- /src/player/resources/i18n.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | i18n/zh_cn.qm 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/player/resources/i18n/zh_cn.qm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/i18n/zh_cn.qm -------------------------------------------------------------------------------- /src/player/resources/images/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/1.png -------------------------------------------------------------------------------- /src/player/resources/images/11.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/11.png -------------------------------------------------------------------------------- /src/player/resources/images/1111.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/1111.png -------------------------------------------------------------------------------- /src/player/resources/images/1212.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/1212.png -------------------------------------------------------------------------------- /src/player/resources/images/1234.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/1234.png -------------------------------------------------------------------------------- /src/player/resources/images/123456.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/123456.png -------------------------------------------------------------------------------- /src/player/resources/images/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/2.png -------------------------------------------------------------------------------- /src/player/resources/images/22.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/22.png -------------------------------------------------------------------------------- /src/player/resources/images/2222.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/2222.png -------------------------------------------------------------------------------- /src/player/resources/images/4444444.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/4444444.png -------------------------------------------------------------------------------- /src/player/resources/images/555.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/555.png -------------------------------------------------------------------------------- /src/player/resources/images/77777.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/77777.png -------------------------------------------------------------------------------- /src/player/resources/images/Album32_.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/Album32_.psd -------------------------------------------------------------------------------- /src/player/resources/images/Album32_515151.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/Album32_515151.png -------------------------------------------------------------------------------- /src/player/resources/images/Album32_8a8a8a.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/Album32_8a8a8a.png -------------------------------------------------------------------------------- /src/player/resources/images/Album32_ffffff.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/Album32_ffffff.png -------------------------------------------------------------------------------- /src/player/resources/images/Complete32_c62f2f.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/Complete32_c62f2f.png -------------------------------------------------------------------------------- /src/player/resources/images/addPlaylist32_Gray.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/addPlaylist32_Gray.png -------------------------------------------------------------------------------- /src/player/resources/images/addPlaylist32_LightGray.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/addPlaylist32_LightGray.png -------------------------------------------------------------------------------- /src/player/resources/images/addToPlayingListBtn32_White.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/addToPlayingListBtn32_White.png -------------------------------------------------------------------------------- /src/player/resources/images/back_play.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/back_play.png -------------------------------------------------------------------------------- /src/player/resources/images/checked16_c62f2f.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/checked16_c62f2f.png -------------------------------------------------------------------------------- /src/player/resources/images/client-shadow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/client-shadow.png -------------------------------------------------------------------------------- /src/player/resources/images/closeBtn32_515151.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/closeBtn32_515151.png -------------------------------------------------------------------------------- /src/player/resources/images/closeBtn32_8a8a8a.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/closeBtn32_8a8a8a.png -------------------------------------------------------------------------------- /src/player/resources/images/closeBtn32_Gray.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/closeBtn32_Gray.png -------------------------------------------------------------------------------- /src/player/resources/images/closeBtn32_White.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/closeBtn32_White.png -------------------------------------------------------------------------------- /src/player/resources/images/collectBtn32_DarkGray.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/collectBtn32_DarkGray.png -------------------------------------------------------------------------------- /src/player/resources/images/collectBtn32_Gray.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/collectBtn32_Gray.png -------------------------------------------------------------------------------- /src/player/resources/images/downArrow32_Gray.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/downArrow32_Gray.png -------------------------------------------------------------------------------- /src/player/resources/images/downArrow32_LightGray.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/downArrow32_LightGray.png -------------------------------------------------------------------------------- /src/player/resources/images/download32_Black.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/download32_Black.png -------------------------------------------------------------------------------- /src/player/resources/images/download32_Gray.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/download32_Gray.png -------------------------------------------------------------------------------- /src/player/resources/images/editListInfoBtn32_Gray.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/editListInfoBtn32_Gray.png -------------------------------------------------------------------------------- /src/player/resources/images/editListInfoBtn32_LightGray.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/editListInfoBtn32_LightGray.png -------------------------------------------------------------------------------- /src/player/resources/images/favoriteBtn16_2c2c2c.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/favoriteBtn16_2c2c2c.png -------------------------------------------------------------------------------- /src/player/resources/images/favoriteBtn16_8a8a8a.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/favoriteBtn16_8a8a8a.png -------------------------------------------------------------------------------- /src/player/resources/images/favoriteBtn16_b12323.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/favoriteBtn16_b12323.png -------------------------------------------------------------------------------- /src/player/resources/images/favoriteBtn16_c62f2f.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/favoriteBtn16_c62f2f.png -------------------------------------------------------------------------------- /src/player/resources/images/favoritePlaylist128_White.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/favoritePlaylist128_White.png -------------------------------------------------------------------------------- /src/player/resources/images/favoriteSongsList32_Black.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/favoriteSongsList32_Black.png -------------------------------------------------------------------------------- /src/player/resources/images/favoriteSongsList32_Gray.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/favoriteSongsList32_Gray.png -------------------------------------------------------------------------------- /src/player/resources/images/folder32_515151.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/folder32_515151.png -------------------------------------------------------------------------------- /src/player/resources/images/folder32_8a8a8a.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/folder32_8a8a8a.png -------------------------------------------------------------------------------- /src/player/resources/images/folder32_ffffff.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/folder32_ffffff.png -------------------------------------------------------------------------------- /src/player/resources/images/list32_515151.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/list32_515151.png -------------------------------------------------------------------------------- /src/player/resources/images/list32_8a8a8a.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/list32_8a8a8a.png -------------------------------------------------------------------------------- /src/player/resources/images/list32_ffffff.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/list32_ffffff.png -------------------------------------------------------------------------------- /src/player/resources/images/listRepeat32_DarkGray.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/listRepeat32_DarkGray.png -------------------------------------------------------------------------------- /src/player/resources/images/listRepeat32_Gray.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/listRepeat32_Gray.png -------------------------------------------------------------------------------- /src/player/resources/images/list_cd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/list_cd.png -------------------------------------------------------------------------------- /src/player/resources/images/list_cd.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/list_cd.psd -------------------------------------------------------------------------------- /src/player/resources/images/logo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/logo.jpg -------------------------------------------------------------------------------- /src/player/resources/images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/logo.png -------------------------------------------------------------------------------- /src/player/resources/images/matchBtn32_2c2c2c.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/matchBtn32_2c2c2c.png -------------------------------------------------------------------------------- /src/player/resources/images/matchBtn32_515151.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/matchBtn32_515151.png -------------------------------------------------------------------------------- /src/player/resources/images/maxBtn32_Gray.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/maxBtn32_Gray.png -------------------------------------------------------------------------------- /src/player/resources/images/maxBtn32_White.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/maxBtn32_White.png -------------------------------------------------------------------------------- /src/player/resources/images/menuAddToList32_515151.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/menuAddToList32_515151.png -------------------------------------------------------------------------------- /src/player/resources/images/menuAddToList32_515151bak.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/menuAddToList32_515151bak.png -------------------------------------------------------------------------------- /src/player/resources/images/menuCopyLink32_515151.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/menuCopyLink32_515151.png -------------------------------------------------------------------------------- /src/player/resources/images/menuDelete32_515151.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/menuDelete32_515151.png -------------------------------------------------------------------------------- /src/player/resources/images/menuDelete32_515151bak.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/menuDelete32_515151bak.png -------------------------------------------------------------------------------- /src/player/resources/images/menuOpenFolder32_515151.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/menuOpenFolder32_515151.png -------------------------------------------------------------------------------- /src/player/resources/images/menuPlay32_515151.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/menuPlay32_515151.png -------------------------------------------------------------------------------- /src/player/resources/images/menuPlay32_515151bak1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/menuPlay32_515151bak1.png -------------------------------------------------------------------------------- /src/player/resources/images/menuPlayNext32_515151.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/menuPlayNext32_515151.png -------------------------------------------------------------------------------- /src/player/resources/images/menuPlayNext32_515151bak.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/menuPlayNext32_515151bak.png -------------------------------------------------------------------------------- /src/player/resources/images/menuShare32_515151.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/menuShare32_515151.png -------------------------------------------------------------------------------- /src/player/resources/images/menuShare32_515151bak.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/menuShare32_515151bak.png -------------------------------------------------------------------------------- /src/player/resources/images/menuUpload32_515151.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/menuUpload32_515151.png -------------------------------------------------------------------------------- /src/player/resources/images/menuUpload32_515151bak.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/menuUpload32_515151bak.png -------------------------------------------------------------------------------- /src/player/resources/images/minBtn32_Gray.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/minBtn32_Gray.png -------------------------------------------------------------------------------- /src/player/resources/images/minBtn32_White.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/minBtn32_White.png -------------------------------------------------------------------------------- /src/player/resources/images/myCollect32_Black.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/myCollect32_Black.png -------------------------------------------------------------------------------- /src/player/resources/images/myCollect32_Gray.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/myCollect32_Gray.png -------------------------------------------------------------------------------- /src/player/resources/images/nativeMusic32_Black.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/nativeMusic32_Black.png -------------------------------------------------------------------------------- /src/player/resources/images/nativeMusic32_LightGray.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/nativeMusic32_LightGray.png -------------------------------------------------------------------------------- /src/player/resources/images/nextSongBtn48_White.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/nextSongBtn48_White.png -------------------------------------------------------------------------------- /src/player/resources/images/openListBtn32_DarkGray.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/openListBtn32_DarkGray.png -------------------------------------------------------------------------------- /src/player/resources/images/openListBtn32_Gray.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/openListBtn32_Gray.png -------------------------------------------------------------------------------- /src/player/resources/images/orderPlay32_DarkGray.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/orderPlay32_DarkGray.png -------------------------------------------------------------------------------- /src/player/resources/images/orderPlay32_Gray.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/orderPlay32_Gray.png -------------------------------------------------------------------------------- /src/player/resources/images/pauseBtn48_White.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/pauseBtn48_White.png -------------------------------------------------------------------------------- /src/player/resources/images/playAllBtn32_White.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/playAllBtn32_White.png -------------------------------------------------------------------------------- /src/player/resources/images/playBtn48_White.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/playBtn48_White.png -------------------------------------------------------------------------------- /src/player/resources/images/playPbHandle16_White.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/playPbHandle16_White.png -------------------------------------------------------------------------------- /src/player/resources/images/playing32_Red.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/playing32_Red.png -------------------------------------------------------------------------------- /src/player/resources/images/preSontBtn48_White.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/preSontBtn48_White.png -------------------------------------------------------------------------------- /src/player/resources/images/randomPlay32_DarkGray.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/randomPlay32_DarkGray.png -------------------------------------------------------------------------------- /src/player/resources/images/randomPlay32_Gray.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/randomPlay32_Gray.png -------------------------------------------------------------------------------- /src/player/resources/images/restoreBtn32_Gray.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/restoreBtn32_Gray.png -------------------------------------------------------------------------------- /src/player/resources/images/restoreBtn32_White.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/restoreBtn32_White.png -------------------------------------------------------------------------------- /src/player/resources/images/rightArrow32_Gray.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/rightArrow32_Gray.png -------------------------------------------------------------------------------- /src/player/resources/images/rightArrow32_LightGray.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/rightArrow32_LightGray.png -------------------------------------------------------------------------------- /src/player/resources/images/searchAction32_LightGray.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/searchAction32_LightGray.png -------------------------------------------------------------------------------- /src/player/resources/images/shareBtn32_DarkGray.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/shareBtn32_DarkGray.png -------------------------------------------------------------------------------- /src/player/resources/images/shareBtn32_Gray.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/shareBtn32_Gray.png -------------------------------------------------------------------------------- /src/player/resources/images/singer32_515151.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/singer32_515151.png -------------------------------------------------------------------------------- /src/player/resources/images/singer32_8a8a8a.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/singer32_8a8a8a.png -------------------------------------------------------------------------------- /src/player/resources/images/singer32_ffffff.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/singer32_ffffff.png -------------------------------------------------------------------------------- /src/player/resources/images/singleRepeat32_DarkGray.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/singleRepeat32_DarkGray.png -------------------------------------------------------------------------------- /src/player/resources/images/singleRepeat32_Gray.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/singleRepeat32_Gray.png -------------------------------------------------------------------------------- /src/player/resources/images/skinBtn32_Gray.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/skinBtn32_Gray.png -------------------------------------------------------------------------------- /src/player/resources/images/skinBtn32_White.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/skinBtn32_White.png -------------------------------------------------------------------------------- /src/player/resources/images/sort116_707070.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/sort116_707070.png -------------------------------------------------------------------------------- /src/player/resources/images/sort216_707070.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/sort216_707070.png -------------------------------------------------------------------------------- /src/player/resources/images/sort316_707070.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/sort316_707070.png -------------------------------------------------------------------------------- /src/player/resources/images/tableDownloadDone32_409ed1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/tableDownloadDone32_409ed1.png -------------------------------------------------------------------------------- /src/player/resources/images/tableFavoriteBtn32_2c2c2c.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/tableFavoriteBtn32_2c2c2c.png -------------------------------------------------------------------------------- /src/player/resources/images/tableFavoriteBtn32_b0b0b0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/tableFavoriteBtn32_b0b0b0.png -------------------------------------------------------------------------------- /src/player/resources/images/tableFavoriteBtn32_b12323.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/tableFavoriteBtn32_b12323.png -------------------------------------------------------------------------------- /src/player/resources/images/tableFavoriteBtn32_c62f2f.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/tableFavoriteBtn32_c62f2f.png -------------------------------------------------------------------------------- /src/player/resources/images/talbleDownloadBtn16_2c2c2c.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/talbleDownloadBtn16_2c2c2c.png -------------------------------------------------------------------------------- /src/player/resources/images/talbleDownloadBtn16_8a8a8a.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/talbleDownloadBtn16_8a8a8a.png -------------------------------------------------------------------------------- /src/player/resources/images/talbleDownloadBtn32_2c2c2c.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/talbleDownloadBtn32_2c2c2c.png -------------------------------------------------------------------------------- /src/player/resources/images/talbleDownloadBtn32_8a8a8a.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/talbleDownloadBtn32_8a8a8a.png -------------------------------------------------------------------------------- /src/player/resources/images/talbleDownloadBtn32_b0b0b0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/talbleDownloadBtn32_b0b0b0.png -------------------------------------------------------------------------------- /src/player/resources/images/talbleDownloadBtn32_bfbfbf.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/talbleDownloadBtn32_bfbfbf.png -------------------------------------------------------------------------------- /src/player/resources/images/toPlay32_Red.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/toPlay32_Red.png -------------------------------------------------------------------------------- /src/player/resources/images/viewComments32_515151.bakpng: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/viewComments32_515151.bakpng -------------------------------------------------------------------------------- /src/player/resources/images/viewComments32_515151.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/viewComments32_515151.png -------------------------------------------------------------------------------- /src/player/resources/images/voiceHigh32_Gray.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/voiceHigh32_Gray.png -------------------------------------------------------------------------------- /src/player/resources/images/voiceLow32_Gray.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/voiceLow32_Gray.png -------------------------------------------------------------------------------- /src/player/resources/images/voiceMedium32_Gray.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/voiceMedium32_Gray.png -------------------------------------------------------------------------------- /src/player/resources/images/voiceMute32_Gray.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/voiceMute32_Gray.png -------------------------------------------------------------------------------- /src/player/resources/images/下箭头.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/下箭头.png -------------------------------------------------------------------------------- /src/player/resources/images/最大化 (1).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/images/最大化 (1).png -------------------------------------------------------------------------------- /src/player/resources/styles.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | styles/red.qss 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/player/resources/testImages/HotDog.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/testImages/HotDog.jpg -------------------------------------------------------------------------------- /src/player/resources/testImages/PACT.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/testImages/PACT.jpg -------------------------------------------------------------------------------- /src/player/resources/testImages/li.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/testImages/li.jpg -------------------------------------------------------------------------------- /src/player/resources/testImages/logo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/testImages/logo.jpg -------------------------------------------------------------------------------- /src/player/resources/testImages/yang.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/testImages/yang.jpg -------------------------------------------------------------------------------- /src/player/resources/testImages/zhang.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlyWM/MumuMusic/215f004f88443c11f0ffb08b48a408965c1fa68c/src/player/resources/testImages/zhang.jpg -------------------------------------------------------------------------------- /src/player/resources/testImgs.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | testImages/HotDog.jpg 4 | testImages/li.jpg 5 | testImages/logo.jpg 6 | testImages/PACT.jpg 7 | testImages/yang.jpg 8 | testImages/zhang.jpg 9 | 10 | 11 | -------------------------------------------------------------------------------- /src/player/test/MuTestMainWidget.cpp: -------------------------------------------------------------------------------- 1 | /** 2 | * MumuMusic 3 | * 基于Qt的模仿网易云音乐PC客户端的app 4 | * 5 | * FlyWM_ 6 | * GitHub: https://github.com/FlyWM 7 | * CSDN: https://blog.csdn.net/a844651990 8 | */ 9 | 10 | #include 11 | #include 12 | #include 13 | #include "MuToolbox.h" 14 | #include "MuTestMainWidget.h" 15 | #include "MuSmallControls.h" 16 | #include 17 | #include 18 | #include 19 | 20 | MuTestMainWidget::MuTestMainWidget(QWidget *parent) 21 | : QWidget(parent) 22 | { 23 | resize(800, 600); 24 | setWindowFlag(Qt::FramelessWindowHint); 25 | // setAttribute(Qt::WA_TranslucentBackground); 26 | 27 | // MuTestCentralWidget *widget = new MuTestCentralWidget; 28 | // QHBoxLayout *layout = new QHBoxLayout(this); 29 | // layout->addWidget(widget); 30 | } 31 | 32 | void MuTestMainWidget::paintEvent(QPaintEvent *e) 33 | { 34 | QPainter painter(this); 35 | painter.setPen(QColor("red")); 36 | painter.setBrush(QBrush(QColor("red"))); 37 | QMargins margin(8, 8, 8, 8); 38 | QMargins margin1(20, 20, 20, 20); 39 | QPixmap pixMap(":/images/client-shadow.png"); 40 | QRect rect(); 41 | // qDrawBorderPixmap(&painter, this->rect(), margin, pixMap); 42 | qDrawBorderPixmap(&painter, this->rect(), margin, pixMap, QRect(0, 0, 34, 160), margin1); 43 | } 44 | 45 | MuTestCentralWidget::MuTestCentralWidget(QWidget *parent) 46 | { 47 | 48 | } 49 | 50 | void MuTestCentralWidget::paintEvent(QPaintEvent *e) 51 | { 52 | QPainter painter(this); 53 | painter.setPen(QColor("red")); 54 | QMargins margin(8, 8, 8, 8); 55 | QPixmap pixMap(":/images/client-shadow.png"); 56 | QRect rect(); 57 | qDrawBorderPixmap(&painter, this->rect(), margin, pixMap); 58 | } 59 | -------------------------------------------------------------------------------- /src/player/test/MuTestMainWidget.h: -------------------------------------------------------------------------------- 1 | /** 2 | * MumuMusic 3 | * 基于Qt的模仿网易云音乐PC客户端的app 4 | * 5 | * FlyWM_ 6 | * GitHub: https://github.com/FlyWM 7 | * CSDN: https://blog.csdn.net/a844651990 8 | */ 9 | 10 | #ifndef MUTESTMAINWIDGET_H 11 | #define MUTESTMAINWIDGET_H 12 | 13 | #include 14 | 15 | class MuTestCentralWidget : public QWidget 16 | { 17 | Q_OBJECT 18 | public: 19 | explicit MuTestCentralWidget(QWidget *parent = nullptr); 20 | 21 | void paintEvent(QPaintEvent *e); 22 | 23 | signals: 24 | 25 | public slots: 26 | }; 27 | 28 | class MuTestMainWidget : public QWidget 29 | { 30 | Q_OBJECT 31 | public: 32 | explicit MuTestMainWidget(QWidget *parent = nullptr); 33 | 34 | void paintEvent(QPaintEvent *e); 35 | 36 | signals: 37 | 38 | public slots: 39 | }; 40 | 41 | #endif // MUTESTMAINWIDGET_H 42 | -------------------------------------------------------------------------------- /src/player/ui/MuCreatePlayListDlgUI.cpp: -------------------------------------------------------------------------------- 1 | /** 2 | * MumuMusic 3 | * 基于Qt的模仿网易云音乐PC客户端的app 4 | * 5 | * FlyWM_ 6 | * GitHub: https://github.com/FlyWM 7 | * CSDN: https://blog.csdn.net/a844651990 8 | */ 9 | 10 | #include "mucreateplaylistdlgui.h" 11 | #include "ui_mucreateplaylistdlgui.h" 12 | #include 13 | #include 14 | #include 15 | 16 | #ifdef Q_CC_MSVC 17 | #pragma comment(lib, "user32.lib") 18 | #endif 19 | 20 | MuCreatePlaylistDlgUI::MuCreatePlaylistDlgUI(QWidget *parent) : 21 | QWidget(parent), 22 | ui(new Ui::MuCreatePlaylistDlgUI) 23 | { 24 | ui->setupUi(this); 25 | connect(ui->titleLE, &QLineEdit::textChanged, [=](const QString text) { 26 | if (text.isEmpty()) { 27 | ui->createBtn->setChecked(false); 28 | } else { 29 | ui->createBtn->setChecked(true); 30 | } 31 | qDebug() << ui->createBtn->isChecked(); 32 | }); 33 | connect(ui->cancelBtn, &QPushButton::clicked, this, &MuCreatePlaylistDlgUI::HideWidget); 34 | } 35 | 36 | MuCreatePlaylistDlgUI::~MuCreatePlaylistDlgUI() 37 | { 38 | delete ui; 39 | } 40 | 41 | void MuCreatePlaylistDlgUI::paintEvent(QPaintEvent *e) 42 | { 43 | Q_UNUSED(e) 44 | 45 | QPainter painter(this); 46 | 47 | QStyleOption opt; 48 | opt.init(this); 49 | style()->drawPrimitive(QStyle::PE_Widget, &opt, &painter, this); 50 | } 51 | -------------------------------------------------------------------------------- /src/player/ui/MuCreatePlayListDlgUI.h: -------------------------------------------------------------------------------- 1 | /** 2 | * MumuMusic 3 | * 基于Qt的模仿网易云音乐PC客户端的app 4 | * 5 | * FlyWM_ 6 | * GitHub: https://github.com/FlyWM 7 | * CSDN: https://blog.csdn.net/a844651990 8 | */ 9 | 10 | #ifndef MUCREATEPLAYLISTDLGUI_H 11 | #define MUCREATEPLAYLISTDLGUI_H 12 | 13 | #include 14 | 15 | namespace Ui { 16 | class MuCreatePlaylistDlgUI; 17 | } 18 | 19 | class MuCreatePlaylistDlgUI : public QWidget 20 | { 21 | Q_OBJECT 22 | 23 | public: 24 | explicit MuCreatePlaylistDlgUI(QWidget *parent = 0); 25 | ~MuCreatePlaylistDlgUI(); 26 | 27 | protected: 28 | virtual void paintEvent(QPaintEvent *e); 29 | 30 | signals: 31 | void HideWidget(); 32 | 33 | private: 34 | Ui::MuCreatePlaylistDlgUI *ui; 35 | }; 36 | 37 | #endif // MUCREATEPLAYLISTDLGUI_H 38 | -------------------------------------------------------------------------------- /src/player/ui/MuDialogUI.h: -------------------------------------------------------------------------------- 1 | /** 2 | * MumuMusic 3 | * 基于Qt的模仿网易云音乐PC客户端的app 4 | * 5 | * FlyWM_ 6 | * GitHub: https://github.com/FlyWM 7 | * CSDN: https://blog.csdn.net/a844651990 8 | */ 9 | 10 | #ifndef MUDIALOGUI_H 11 | #define MUDIALOGUI_H 12 | 13 | #include 14 | #include 15 | #include "MuBaseWidget.h" 16 | 17 | class MuDialogCloseButton : public QPushButton 18 | { 19 | Q_OBJECT 20 | public: 21 | explicit MuDialogCloseButton(QWidget *parent = 0); 22 | 23 | protected: 24 | virtual void enterEvent(QEvent *event); 25 | virtual void leaveEvent(QEvent *event); 26 | }; 27 | 28 | class MuDialogTitleWidget : public MuBaseWidget 29 | { 30 | Q_OBJECT 31 | 32 | public: 33 | explicit MuDialogTitleWidget(QWidget *parent = 0); 34 | 35 | protected: 36 | bool eventFilter(QObject *watched, QEvent *event); 37 | 38 | private: 39 | QPoint m_startPoint; 40 | }; 41 | 42 | namespace Ui { 43 | class MuDialogUI; 44 | } 45 | class QVBoxLayout; 46 | class MuDialogUI : public QWidget 47 | { 48 | Q_OBJECT 49 | 50 | public: 51 | explicit MuDialogUI(QWidget *parent = 0); 52 | ~MuDialogUI(); 53 | 54 | void setModal(bool modal); 55 | void setCenralWidgetFixedSize(const QSize size); 56 | void setBottomVisible(bool visible); 57 | void setButtonsText(const QString &text1, const QString &text2); 58 | void setMainWidget(QWidget *widget); 59 | 60 | void hideTitle(); 61 | void hideBottom(); 62 | 63 | protected: 64 | 65 | signals: 66 | void Button1Clicked(); 67 | void Button2Clicked(); 68 | 69 | protected: 70 | virtual bool event(QEvent *event); 71 | 72 | private slots: 73 | void on_dlgCloseBtn_clicked(); 74 | 75 | private: 76 | Ui::MuDialogUI *ui; 77 | QWidget *m_pMainWidget; 78 | QVBoxLayout *m_pMainWidgetLayout; 79 | bool m_bMousePressed; 80 | QPoint m_startPoint; 81 | }; 82 | 83 | #endif // MUDIALOGUI_H 84 | -------------------------------------------------------------------------------- /src/player/ui/MuLocalMusicTableAreaUI.cpp: -------------------------------------------------------------------------------- 1 | /** 2 | * MumuMusic 3 | * 基于Qt的模仿网易云音乐PC客户端的app 4 | * 5 | * FlyWM_ 6 | * GitHub: https://github.com/FlyWM 7 | * CSDN: https://blog.csdn.net/a844651990 8 | */ 9 | 10 | #include "MuStyleHelper.h" 11 | #include "MuLocalMusicTableAreaUI.h" 12 | #include "ui_MuLocalMusicTableAreaUI.h" 13 | 14 | MuLocalMusicTableAreaUI::MuLocalMusicTableAreaUI(QWidget *parent) : 15 | MuBaseWidget(parent), 16 | ui(new Ui::MuLocalMusicTableAreaUI) 17 | { 18 | ui->setupUi(this); 19 | ui->localMatchBtn->setFixedSize(MuUtils::MuStyleHelper::localMatchButtonSize()); 20 | ui->localSearchLocalMusicBox->setFixedSize(MuUtils::MuStyleHelper::localSearchNtvMusicBoxSize()); 21 | ui->localSearchLocalMusicBox->setPlaceholderText(tr("Search For Local Music")); 22 | ui->localMusicTableView->setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff); 23 | 24 | connect(ui->localMusicTableView, &MuTableView::TableRowCount, this, &MuLocalMusicTableAreaUI::TableRowCount); 25 | } 26 | 27 | MuLocalMusicTableAreaUI::~MuLocalMusicTableAreaUI() 28 | { 29 | delete ui; 30 | } 31 | 32 | MuTableView *MuLocalMusicTableAreaUI::tableView() const 33 | { 34 | return ui->localMusicTableView; 35 | } 36 | 37 | QPushButton *MuLocalMusicTableAreaUI::matchButton() const 38 | { 39 | return ui->localMatchBtn; 40 | } 41 | 42 | QLineEdit *MuLocalMusicTableAreaUI::searchLocalMusicBox() const 43 | { 44 | return ui->localSearchLocalMusicBox; 45 | } 46 | -------------------------------------------------------------------------------- /src/player/ui/MuLocalMusicTableAreaUI.h: -------------------------------------------------------------------------------- 1 | /** 2 | * MumuMusic 3 | * 基于Qt的模仿网易云音乐PC客户端的app 4 | * 5 | * FlyWM_ 6 | * GitHub: https://github.com/FlyWM 7 | * CSDN: https://blog.csdn.net/a844651990 8 | */ 9 | 10 | #ifndef MULOCALMUSICTABLEAREAUI_H 11 | #define MULOCALMUSICTABLEAREAUI_H 12 | 13 | #include 14 | #include "MuBaseWidget.h" 15 | 16 | namespace Ui { 17 | class MuLocalMusicTableAreaUI; 18 | } 19 | 20 | class MuTableView; 21 | class QPushButton; 22 | class QLineEdit; 23 | class MuLocalMusicTableAreaUI : public MuBaseWidget 24 | { 25 | Q_OBJECT 26 | 27 | public: 28 | explicit MuLocalMusicTableAreaUI(QWidget *parent = nullptr); 29 | ~MuLocalMusicTableAreaUI(); 30 | 31 | MuTableView *tableView() const; 32 | QPushButton *matchButton() const; 33 | QLineEdit *searchLocalMusicBox() const; 34 | 35 | signals: 36 | void TableRowCount(int count); 37 | 38 | private: 39 | Ui::MuLocalMusicTableAreaUI *ui; 40 | }; 41 | 42 | #endif // MULOCALMUSICTABLEAREAUI_H 43 | -------------------------------------------------------------------------------- /src/player/ui/MuLocalMusicWidgetUI.h: -------------------------------------------------------------------------------- 1 | /** 2 | * MumuMusic 3 | * 基于Qt的模仿网易云音乐PC客户端的app 4 | * 5 | * FlyWM_ 6 | * GitHub: https://github.com/FlyWM 7 | * CSDN: https://blog.csdn.net/a844651990 8 | */ 9 | 10 | #ifndef MULOCALMUSICWIDGET_H 11 | #define MULOCALMUSICWIDGET_H 12 | 13 | #include 14 | #include 15 | #include "MuBaseWidget.h" 16 | #include "MuGlobal.h" 17 | #include "MuLocalMusicManager.h" 18 | 19 | namespace Ui { 20 | class MuLocalMusicWidget; 21 | } 22 | class MuSelectLocalMusicWidgetUI; 23 | class MuDialogUI; 24 | class QButtonGroup; 25 | class MuLocalMusicWidget : public QWidget 26 | { 27 | Q_OBJECT 28 | 29 | public: 30 | explicit MuLocalMusicWidget(QWidget *parent = nullptr); 31 | ~MuLocalMusicWidget(); 32 | 33 | void setScrollArea(QScrollArea *scrollArea); 34 | /** 35 | * @brief adjustRightMargin 36 | * \note 需要考虑的问题是:如果有滚动条,设置的right-margin是从滚动条左侧边缘开始计算的,而不是widget的边缘, 37 | * 为了使到widget边缘的大小不变,当出现滚动条和没有滚动条时分别设置不同的right-margin大小。 38 | */ 39 | void adjustRightMargin(bool aboutToShowBar = false); 40 | 41 | protected: 42 | virtual void resizeEvent(QResizeEvent *e); 43 | virtual void showEvent(QShowEvent *e); 44 | 45 | signals: 46 | void EnableScrollAreaBar(bool enabled, bool aboutToShowBar = false); 47 | void LocalSongsIsNotEmpty(); 48 | 49 | private slots: 50 | void onAddFolderBtnClicked(); 51 | void onOkBtnClicked(); 52 | void onGroupButtonToggled(int index, bool checked); 53 | 54 | /** 55 | * @brief onUpdateDone select music folder and update completed 56 | */ 57 | void onUpdateDone(); 58 | 59 | private: 60 | void initTableView(); 61 | 62 | private: 63 | 64 | private: 65 | Ui::MuLocalMusicWidget *ui; 66 | MuSelectLocalMusicWidgetUI *m_pSelectMainWidget; 67 | QButtonGroup *m_pBtnGroup; 68 | MuDialogUI *m_pDlg; 69 | QScrollArea *m_pScrollArea; 70 | int m_nLocalSongsNb; 71 | Mu::LocalMusicButton m_curButton; 72 | MuLocalMusicManager &m_lmm = MuLocalMusicManager::getInstance(); 73 | }; 74 | 75 | #endif // MULOCALMUSICWIDGET_H 76 | -------------------------------------------------------------------------------- /src/player/ui/MuPlayListMainWidgetUI.h: -------------------------------------------------------------------------------- 1 | /** 2 | * MumuMusic 3 | * 基于Qt的模仿网易云音乐PC客户端的app 4 | * 5 | * FlyWM_ 6 | * GitHub: https://github.com/FlyWM 7 | * CSDN: https://blog.csdn.net/a844651990 8 | */ 9 | 10 | #ifndef MUPLAYLISTMAINWIDGETUI_H 11 | #define MUPLAYLISTMAINWIDGETUI_H 12 | 13 | #include 14 | #include 15 | 16 | 17 | namespace Ui { 18 | class MuPlaylistMainWidgetUI; 19 | } 20 | 21 | class MuPlaylistMainWidgetUI : public QWidget 22 | { 23 | Q_OBJECT 24 | 25 | public: 26 | explicit MuPlaylistMainWidgetUI(QWidget *parent = 0); 27 | ~MuPlaylistMainWidgetUI(); 28 | 29 | protected: 30 | virtual void resizeEvent(QResizeEvent *e); 31 | virtual void showEvent(QShowEvent *e); 32 | 33 | private slots: 34 | void on_songsListBtn_clicked(); 35 | 36 | private: 37 | void initTableWidget(); 38 | 39 | private: 40 | Ui::MuPlaylistMainWidgetUI *ui; 41 | QAction *m_pAc; 42 | }; 43 | 44 | #endif // MUPLAYLISTMAINWIDGETUI_H 45 | -------------------------------------------------------------------------------- /src/player/ui/MuPlayStatusBarUI.h: -------------------------------------------------------------------------------- 1 | /** 2 | * MumuMusic 3 | * 基于Qt的模仿网易云音乐PC客户端的app 4 | * 5 | * FlyWM_ 6 | * GitHub: https://github.com/FlyWM 7 | * CSDN: https://blog.csdn.net/a844651990 8 | */ 9 | 10 | #ifndef MUPLAYSTATUSBARUI_H 11 | #define MUPLAYSTATUSBARUI_H 12 | 13 | #include 14 | #include 15 | 16 | class MuBaseSlider : public QSlider 17 | { 18 | Q_OBJECT 19 | 20 | public: 21 | explicit MuBaseSlider(QWidget *parent = nullptr); 22 | 23 | protected: 24 | virtual void mousePressEvent(QMouseEvent *ev); 25 | }; 26 | 27 | class MuVoiceSlider : public MuBaseSlider 28 | { 29 | Q_OBJECT 30 | 31 | public: 32 | explicit MuVoiceSlider(QWidget *parent = nullptr); 33 | 34 | protected: 35 | virtual void enterEvent(QEvent *ev); 36 | virtual void leaveEvent(QEvent *ev); 37 | }; 38 | 39 | namespace Ui { 40 | class MuPlayStatusBarUI; 41 | } 42 | 43 | class MuPlayStatusBarUI : public QWidget 44 | { 45 | Q_OBJECT 46 | 47 | public: 48 | explicit MuPlayStatusBarUI(QWidget *parent = 0); 49 | ~MuPlayStatusBarUI(); 50 | 51 | protected: 52 | virtual void paintEvent(QPaintEvent *ev); 53 | 54 | private: 55 | Ui::MuPlayStatusBarUI *ui; 56 | 57 | const QStringList m_playOrderPro = { "listRepeat", "singleRepeat", "randomPlay", "oderPlay" }; 58 | int m_curPlayOrderIndex; 59 | }; 60 | 61 | #endif // MUPLAYSTATUSBARUI_H 62 | -------------------------------------------------------------------------------- /src/player/ui/MuSelectLocalMusicWidgetUI.cpp: -------------------------------------------------------------------------------- 1 | /** 2 | * MumuMusic 3 | * 基于Qt的模仿网易云音乐PC客户端的app 4 | * 5 | * FlyWM_ 6 | * GitHub: https://github.com/FlyWM 7 | * CSDN: https://blog.csdn.net/a844651990 8 | */ 9 | 10 | #include 11 | #include "MuSelectLocalMusicWidgetUI.h" 12 | #include "ui_MuSelectLocalMusicWidgetUI.h" 13 | 14 | MuSelectLocalMusicWidgetUI::MuSelectLocalMusicWidgetUI(QWidget *parent) : 15 | QWidget(parent), 16 | ui(new Ui::MuSelectLocalMusicWidgetUI) 17 | { 18 | ui->setupUi(this); 19 | } 20 | 21 | MuSelectLocalMusicWidgetUI::~MuSelectLocalMusicWidgetUI() 22 | { 23 | delete ui; 24 | } 25 | 26 | void MuSelectLocalMusicWidgetUI::addItem(const QString &item) 27 | { 28 | if (item.isEmpty()) 29 | return; 30 | 31 | QCheckBox *pCheckBox = new QCheckBox(this); 32 | pCheckBox->setCheckable(true); 33 | pCheckBox->setChecked(true); 34 | pCheckBox->setText(item); 35 | pCheckBox->setObjectName("ntvSelectedPathItem"); 36 | ui->scrollVerticalLayout->addWidget(pCheckBox); 37 | } 38 | 39 | QStringList MuSelectLocalMusicWidgetUI::getItemsContent() const 40 | { 41 | QList cbs = this->findChildren(); 42 | QStringList items; 43 | for (auto &checkBox : cbs) { 44 | if (checkBox->isChecked()) 45 | items.append(checkBox->text()); 46 | } 47 | 48 | return items; 49 | } 50 | -------------------------------------------------------------------------------- /src/player/ui/MuSelectLocalMusicWidgetUI.h: -------------------------------------------------------------------------------- 1 | /** 2 | * MumuMusic 3 | * 基于Qt的模仿网易云音乐PC客户端的app 4 | * 5 | * FlyWM_ 6 | * GitHub: https://github.com/FlyWM 7 | * CSDN: https://blog.csdn.net/a844651990 8 | */ 9 | 10 | #ifndef MUSELECTLOCALMUSICWIDGETUI_H 11 | #define MUSELECTLOCALMUSICWIDGETUI_H 12 | 13 | #include 14 | 15 | namespace Ui { 16 | class MuSelectLocalMusicWidgetUI; 17 | } 18 | 19 | class MuSelectLocalMusicWidgetUI : public QWidget 20 | { 21 | Q_OBJECT 22 | 23 | public: 24 | explicit MuSelectLocalMusicWidgetUI(QWidget *parent = nullptr); 25 | ~MuSelectLocalMusicWidgetUI(); 26 | 27 | void addItem(const QString &item); 28 | 29 | QStringList getItemsContent() const; 30 | 31 | private: 32 | Ui::MuSelectLocalMusicWidgetUI *ui; 33 | }; 34 | 35 | #endif // MUSELECTLOCALMUSICWIDGETUI_H 36 | -------------------------------------------------------------------------------- /src/player/utils/MuConversionTool.cpp: -------------------------------------------------------------------------------- 1 | /** 2 | * MumuMusic 3 | * 基于Qt的模仿网易云音乐PC客户端的app 4 | * 5 | * FlyWM_ 6 | * GitHub: https://github.com/FlyWM 7 | * CSDN: https://blog.csdn.net/a844651990 8 | */ 9 | 10 | #include "muconversiontool.h" 11 | 12 | // 定义GB、MB、KB的计算常量 13 | static const int GB = 1024 * 1024 * 1024; 14 | static const int MB = 1024 * 1024; 15 | static const int KB = 1024; 16 | 17 | MuConversionTool::MuConversionTool(QObject *parent) 18 | : QObject(parent) 19 | { 20 | 21 | } 22 | 23 | QString MuConversionTool::mcsToStrFormatTime(qint64 ms) 24 | { 25 | QString str, strH, strM, strS; 26 | int tns, thh, tmm, tss; 27 | tns = ms / 1000000; 28 | thh = tns / 3600; 29 | tmm = (tns % 3600) / 60; 30 | tss = (tns % 60); 31 | if (tmm>=0 && tmm<10) 32 | strM = QString("0%1").arg(tmm); 33 | else 34 | strM = QString::number(tmm); 35 | if (tss>=0 && tss<10) 36 | strS = QString("0%1").arg(tss); 37 | else 38 | strS = QString::number(tss); 39 | if (thh > 0) { 40 | if (thh < 10) { 41 | strH = QString("0%1").arg(thh); 42 | str = QString("%1:%2:%3").arg(strH).arg(strM).arg(strS); 43 | } else 44 | str = QString("%1:%2:%3").arg(thh).arg(strM).arg(strS); 45 | } else { 46 | str = QString("%1:%2").arg(strM).arg(strS); 47 | } 48 | return str; 49 | } 50 | 51 | QString MuConversionTool::bytesToGBMBKB(qint64 size) 52 | { 53 | if (size / GB >= 1) 54 | return QString("%1 GB").arg(QString::number(size / (float)GB, 'f', 2)); 55 | else if (size / MB >= 1) 56 | return QString("%1 MB").arg(QString::number(size / (float)MB, 'f', 2)); 57 | else if (size / KB >= 1) 58 | return QString("%1 KB").arg(QString::number(size / (float)KB, 'f', 2)); 59 | else 60 | return QString("%1 Bytes").arg(size); 61 | } 62 | 63 | std::string MuConversionTool::qstring2stdString(const QString &str) 64 | { 65 | #pragma execution_character_set("utf-8") 66 | return str.toLocal8Bit().toStdString(); 67 | } 68 | -------------------------------------------------------------------------------- /src/player/utils/MuConversionTool.h: -------------------------------------------------------------------------------- 1 | /** 2 | * MumuMusic 3 | * 基于Qt的模仿网易云音乐PC客户端的app 4 | * 5 | * FlyWM_ 6 | * GitHub: https://github.com/FlyWM 7 | * CSDN: https://blog.csdn.net/a844651990 8 | */ 9 | 10 | #ifndef MUCONVERSIONTOOL_H 11 | #define MUCONVERSIONTOOL_H 12 | 13 | #include 14 | #include 15 | 16 | class MuConversionTool : public QObject 17 | { 18 | Q_OBJECT 19 | public: 20 | explicit MuConversionTool(QObject *parent = nullptr); 21 | 22 | static QString mcsToStrFormatTime(qint64 ms); 23 | static QString bytesToGBMBKB(qint64 size); 24 | static std::string qstring2stdString(const QString &str); 25 | }; 26 | 27 | #endif // MUCONVERSIONTOOL_H 28 | -------------------------------------------------------------------------------- /src/player/utils/MuImageHandler.cpp: -------------------------------------------------------------------------------- 1 | /** 2 | * MumuMusic 3 | * 基于Qt的模仿网易云音乐PC客户端的app 4 | * 5 | * FlyWM_ 6 | * GitHub: https://github.com/FlyWM 7 | * CSDN: https://blog.csdn.net/a844651990 8 | */ 9 | 10 | #include "muimagehandler.h" 11 | #include 12 | #include 13 | 14 | MuImageHandler::MuImageHandler(QObject *parent) 15 | : QObject(parent) 16 | { 17 | 18 | } 19 | 20 | QPixmap MuImageHandler::PixmapToRound(QPixmap &src, int radius) 21 | { 22 | if (src.isNull()) { 23 | return QPixmap(); 24 | } 25 | 26 | QSize size(2*radius, 2*radius); 27 | QBitmap mask(size); 28 | QPainter painter(&mask); 29 | painter.setRenderHint(QPainter::Antialiasing); 30 | painter.setRenderHint(QPainter::SmoothPixmapTransform); 31 | painter.fillRect(0, 0, size.width(), size.height(), Qt::white); 32 | painter.setBrush(QColor(0, 0, 0)); 33 | painter.drawRoundedRect(0, 0, size.width(), size.height(), 99, 99); 34 | 35 | QPixmap image = src.scaled(size); 36 | image.setMask(mask); 37 | return image; 38 | } 39 | -------------------------------------------------------------------------------- /src/player/utils/MuImageHandler.h: -------------------------------------------------------------------------------- 1 | /** 2 | * MumuMusic 3 | * 基于Qt的模仿网易云音乐PC客户端的app 4 | * 5 | * FlyWM_ 6 | * GitHub: https://github.com/FlyWM 7 | * CSDN: https://blog.csdn.net/a844651990 8 | */ 9 | 10 | #ifndef MUIMAGEHANDLER_H 11 | #define MUIMAGEHANDLER_H 12 | 13 | #include 14 | 15 | class MuImageHandler : public QObject 16 | { 17 | Q_OBJECT 18 | public: 19 | explicit MuImageHandler(QObject *parent = nullptr); 20 | 21 | static QPixmap PixmapToRound(QPixmap &src, int radius); 22 | 23 | signals: 24 | 25 | public slots: 26 | }; 27 | 28 | #endif // MUIMAGEHANDLER_H 29 | -------------------------------------------------------------------------------- /src/player/widgets/MuBaseWidget.cpp: -------------------------------------------------------------------------------- 1 | /** 2 | * MumuMusic 3 | * 基于Qt的模仿网易云音乐PC客户端的app 4 | * 5 | * FlyWM_ 6 | * GitHub: https://github.com/FlyWM 7 | * CSDN: https://blog.csdn.net/a844651990 8 | */ 9 | 10 | #include 11 | #include 12 | #include "MuBaseWidget.h" 13 | 14 | MuBaseWidget::MuBaseWidget(QWidget *parent) 15 | : QWidget(parent) 16 | { 17 | 18 | } 19 | 20 | void MuBaseWidget::paintEvent(QPaintEvent *event) 21 | { 22 | Q_UNUSED(event) 23 | 24 | QStyleOption opt; 25 | opt.init(this); 26 | QPainter p(this); 27 | style()->drawPrimitive(QStyle::PE_Widget, &opt, &p, this); 28 | } 29 | -------------------------------------------------------------------------------- /src/player/widgets/MuListView.cpp: -------------------------------------------------------------------------------- 1 | /** 2 | * MumuMusic 3 | * 基于Qt的模仿网易云音乐PC客户端的app 4 | * 5 | * FlyWM_ 6 | * GitHub: https://github.com/FlyWM 7 | * CSDN: https://blog.csdn.net/a844651990 8 | */ 9 | 10 | #include 11 | #include "MuListViewItemDelegate.h" 12 | #include "MuListView.h" 13 | #include "MuGlobal.h" 14 | 15 | const QStringList icons = { 16 | ":/testImages/HotDog.jpg", ":/testImages/li.jpg", ":/testImages/logo.jpg", 17 | ":/testImages/PACT.jpg", ":/testImages/yang.jpg", ":/testImages/zhang.jpg", 18 | }; 19 | const QStringList singers = { 20 | "MC-Hotdog", CN_STR_("Li Ronghao"), "Author", 21 | "PACT", CN_STR_("Yang qianhua"), CN_STR_("Zhang zhenyue"), 22 | }; 23 | MuListView::MuListView(QWidget *parent) 24 | : QListView(parent) 25 | { 26 | m_pModel = new QStandardItemModel(this); 27 | for (int i=0; isetData(QVariant::fromValue(itemData), Qt::UserRole+1); 34 | m_pModel->appendRow(pItem); 35 | } 36 | MuListViewItemDelegate *pItemDelegate = new MuListViewItemDelegate(this); 37 | 38 | this->setModel(m_pModel); 39 | this->setItemDelegate(pItemDelegate); 40 | } 41 | 42 | void MuListView::updateData(const QList &data) 43 | { 44 | m_pModel->clear(); 45 | if (data.isEmpty()) 46 | return; 47 | 48 | for (auto &itemData : data) { 49 | if (itemData.isEmpty() || itemData.size() < 3) 50 | continue; 51 | 52 | QStandardItem *pItem = new QStandardItem; 53 | MuListItemData listItemData; 54 | listItemData.title = itemData.at(0); 55 | listItemData.songsNb = itemData.at(1); 56 | listItemData.iconPath = itemData.at(2); 57 | pItem->setData(QVariant::fromValue(itemData), Qt::UserRole+1); 58 | m_pModel->appendRow(pItem); 59 | } 60 | } 61 | -------------------------------------------------------------------------------- /src/player/widgets/MuListView.h: -------------------------------------------------------------------------------- 1 | /** 2 | * MumuMusic 3 | * 基于Qt的模仿网易云音乐PC客户端的app 4 | * 5 | * FlyWM_ 6 | * GitHub: https://github.com/FlyWM 7 | * CSDN: https://blog.csdn.net/a844651990 8 | */ 9 | 10 | #ifndef MULISTVIEW_H 11 | #define MULISTVIEW_H 12 | 13 | #include 14 | 15 | class QStandardItemModel; 16 | class MuListView : public QListView 17 | { 18 | Q_OBJECT 19 | public: 20 | MuListView(QWidget *parent = nullptr); 21 | 22 | void updateData(const QList &data); 23 | 24 | private: 25 | QStandardItemModel *m_pModel; 26 | }; 27 | 28 | #endif // MULISTVIEW_H 29 | -------------------------------------------------------------------------------- /src/player/widgets/MuListViewItemDelegate.h: -------------------------------------------------------------------------------- 1 | /** 2 | * MumuMusic 3 | * 基于Qt的模仿网易云音乐PC客户端的app 4 | * 5 | * FlyWM_ 6 | * GitHub: https://github.com/FlyWM 7 | * CSDN: https://blog.csdn.net/a844651990 8 | */ 9 | 10 | #ifndef MULISTVIEWITEMDELEGATE_H 11 | #define MULISTVIEWITEMDELEGATE_H 12 | 13 | #include 14 | 15 | class MuListViewItemDelegate : public QStyledItemDelegate 16 | { 17 | Q_OBJECT 18 | public: 19 | MuListViewItemDelegate(QObject *parent = nullptr); 20 | 21 | void paint(QPainter *painter, 22 | const QStyleOptionViewItem &option, const QModelIndex &index) const Q_DECL_OVERRIDE; 23 | 24 | QSize sizeHint(const QStyleOptionViewItem &option, 25 | const QModelIndex &index) const Q_DECL_OVERRIDE; 26 | }; 27 | 28 | #endif // MULISTVIEWITEMDELEGATE_H 29 | -------------------------------------------------------------------------------- /src/player/widgets/MuListWidgetItem.cpp: -------------------------------------------------------------------------------- 1 | /** 2 | * MumuMusic 3 | * 基于Qt的模仿网易云音乐PC客户端的app 4 | * 5 | * FlyWM_ 6 | * GitHub: https://github.com/FlyWM 7 | * CSDN: https://blog.csdn.net/a844651990 8 | */ 9 | 10 | #include 11 | #include 12 | #include "MuListWidgetItem.h" 13 | 14 | MuListWidgetItem::MuListWidgetItem(QIcon icon, const QString itemName, QWidget *parent) 15 | : QWidget(parent) 16 | { 17 | QLabel *pIconLabel1 = new QLabel(this); 18 | QLabel *pNameLabel = new QLabel(this); 19 | QLabel *pIconLabel2 = new QLabel(this); 20 | pIconLabel1->setPixmap(QPixmap(icon.name())); 21 | pNameLabel->setText(itemName); 22 | QHBoxLayout *pMainLayout = new QHBoxLayout(this); 23 | pMainLayout->addWidget(pIconLabel1); 24 | pMainLayout->addWidget(pNameLabel); 25 | pMainLayout->addWidget(pIconLabel2); 26 | } 27 | -------------------------------------------------------------------------------- /src/player/widgets/MuListWidgetItem.h: -------------------------------------------------------------------------------- 1 | /** 2 | * MumuMusic 3 | * 基于Qt的模仿网易云音乐PC客户端的app 4 | * 5 | * FlyWM_ 6 | * GitHub: https://github.com/FlyWM 7 | * CSDN: https://blog.csdn.net/a844651990 8 | */ 9 | 10 | #ifndef MULISTWIDGETITEM_H 11 | #define MULISTWIDGETITEM_H 12 | 13 | #include 14 | #include 15 | 16 | class MuListWidgetItem : public QWidget, public QListWidgetItem 17 | { 18 | Q_OBJECT 19 | public: 20 | explicit MuListWidgetItem(QIcon icon, const QString itemName, QWidget *parent = nullptr); 21 | 22 | signals: 23 | 24 | public slots: 25 | }; 26 | 27 | #endif // MULISTWIDGETITEM_H 28 | -------------------------------------------------------------------------------- /src/player/widgets/MuMainWindow.h: -------------------------------------------------------------------------------- 1 | /** 2 | * MumuMusic 3 | * 基于Qt的模仿网易云音乐PC客户端的app 4 | * 5 | * FlyWM_ 6 | * GitHub: https://github.com/FlyWM 7 | * CSDN: https://blog.csdn.net/a844651990 8 | */ 9 | 10 | #ifndef MUMAINWINDOW_H 11 | #define MUMAINWINDOW_H 12 | 13 | #include "MuCustomWindow.h" 14 | 15 | class MuScrollArea; 16 | class MuLocalMusicWidget; 17 | class MuMainWindow : 18 | #ifdef Q_OS_LINUX 19 | public MuCustomWindow 20 | #elif defined Q_OS_WIN32 21 | public MuWinAeroShadowWindow 22 | #endif 23 | { 24 | Q_OBJECT 25 | public: 26 | MuMainWindow(QWidget *parent = nullptr); 27 | 28 | void initPos(); 29 | static QPoint getMainWidgetPos(); 30 | static QSize getMainWidgetSize(); 31 | 32 | protected: 33 | virtual void moveEvent(QMoveEvent *e); 34 | 35 | private slots: 36 | void onLogicalDotsPerInchChanged(qreal dpi); 37 | 38 | private: 39 | void initMainWindow(); 40 | static QPoint m_pos; 41 | #ifdef Q_OS_LINUX 42 | static MuCustomWindow *m_instance; 43 | #elif defined Q_OS_WIN32 44 | static MuWinAeroShadowWindow *m_instance; 45 | #endif 46 | }; 47 | 48 | #endif // MUMAINWINDOW_H 49 | -------------------------------------------------------------------------------- /src/player/widgets/MuMusicMangeWidget.h: -------------------------------------------------------------------------------- 1 | /** 2 | * MumuMusic 3 | * 基于Qt的模仿网易云音乐PC客户端的app 4 | * 5 | * FlyWM_ 6 | * GitHub: https://github.com/FlyWM 7 | * CSDN: https://blog.csdn.net/a844651990 8 | */ 9 | 10 | #ifndef MUMUSICMANGEWIDGET_H 11 | #define MUMUSICMANGEWIDGET_H 12 | 13 | #include 14 | 15 | /** 16 | * @brief The MuMusicMangeWidget class 17 | * the left widget that manages the songs 18 | */ 19 | class MuMusicMangeWidget : public QWidget 20 | { 21 | Q_OBJECT 22 | public: 23 | explicit MuMusicMangeWidget(QWidget *parent = nullptr); 24 | 25 | protected: 26 | virtual void paintEvent(QPaintEvent *event); 27 | 28 | private: 29 | QWidget *createMangeScrollArea(); 30 | 31 | signals: 32 | void ListItemPressed(const int index); 33 | 34 | public slots: 35 | }; 36 | 37 | #endif // MUMUSICMANGEWIDGET_H 38 | -------------------------------------------------------------------------------- /src/player/widgets/MuPlayStatusBar.cpp: -------------------------------------------------------------------------------- 1 | /** 2 | * MumuMusic 3 | * 基于Qt的模仿网易云音乐PC客户端的app 4 | * 5 | * FlyWM_ 6 | * GitHub: https://github.com/FlyWM 7 | * CSDN: https://blog.csdn.net/a844651990 8 | */ 9 | 10 | #include "muplaystatusbar.h" 11 | 12 | MuPlayStatusBar::MuPlayStatusBar(QWidget *parent) 13 | : QWidget(parent) 14 | { 15 | 16 | } 17 | -------------------------------------------------------------------------------- /src/player/widgets/MuPlayStatusBar.h: -------------------------------------------------------------------------------- 1 | /** 2 | * MumuMusic 3 | * 基于Qt的模仿网易云音乐PC客户端的app 4 | * 5 | * FlyWM_ 6 | * GitHub: https://github.com/FlyWM 7 | * CSDN: https://blog.csdn.net/a844651990 8 | */ 9 | 10 | #ifndef MUPLAYSTATUSBAR_H 11 | #define MUPLAYSTATUSBAR_H 12 | 13 | #include 14 | 15 | class MuPlayStatusBar : public QWidget 16 | { 17 | Q_OBJECT 18 | public: 19 | MuPlayStatusBar(QWidget *parent = nullptr); 20 | }; 21 | 22 | #endif // MUPLAYSTATUSBAR_H 23 | -------------------------------------------------------------------------------- /src/player/widgets/MuPopupWidgetButton.h: -------------------------------------------------------------------------------- 1 | /** 2 | * MumuMusic 3 | * 基于Qt的模仿网易云音乐PC客户端的app 4 | * 5 | * FlyWM_ 6 | * GitHub: https://github.com/FlyWM 7 | * CSDN: https://blog.csdn.net/a844651990 8 | */ 9 | 10 | #ifndef MUPOPUPWIDGETBUTTON_H 11 | #define MUPOPUPWIDGETBUTTON_H 12 | 13 | #include 14 | #include 15 | 16 | namespace PWB { 17 | enum WidgetOrientation { 18 | Horizontal, 19 | Vertical, 20 | }; 21 | } 22 | 23 | class QPushButton; 24 | class PopupWidget; 25 | class MuPopupWidgetButton : public QWidget 26 | { 27 | Q_OBJECT 28 | public: 29 | explicit MuPopupWidgetButton(PWB::WidgetOrientation orien, QWidget *parent = nullptr); 30 | ~MuPopupWidgetButton(); 31 | 32 | /** 33 | * @brief setMainWidget 设置弹出的widget 34 | * @param widget 35 | */ 36 | void setMainWidget(QWidget *widget); 37 | /** 38 | * @brief setButtonObjectName 设置按钮 objectname,方便设置样式表 39 | * @param name 40 | */ 41 | void setButtonObjectName(const QString &name); 42 | 43 | /** 44 | * @brief button 方便设置按钮的一些属性 45 | * @return 46 | */ 47 | QPushButton *button() { return m_pButton; } 48 | 49 | 50 | 51 | protected: 52 | virtual bool eventFilter(QObject *watched, QEvent *event); 53 | 54 | signals: 55 | void ButtonClicked(); 56 | void OthersClicked(); 57 | 58 | public slots: 59 | void hideWidget(); 60 | 61 | private: 62 | QPushButton *m_pButton; 63 | PWB::WidgetOrientation m_orien; 64 | PopupWidget *m_pMainWidget; 65 | bool m_mainWidgetClicked; 66 | static QList m_pWidgets; 67 | }; 68 | 69 | #endif // MUPOPUPWIDGETBUTTON_H 70 | -------------------------------------------------------------------------------- /src/player/widgets/MuScrollArea.cpp: -------------------------------------------------------------------------------- 1 | /** 2 | * MumuMusic 3 | * 基于Qt的模仿网易云音乐PC客户端的app 4 | * 5 | * FlyWM_ 6 | * GitHub: https://github.com/FlyWM 7 | * CSDN: https://blog.csdn.net/a844651990 8 | */ 9 | 10 | #include 11 | #include 12 | #include 13 | #include "MuScrollArea.h" 14 | 15 | MuScrollArea::MuScrollArea(QWidget *parent) 16 | : QScrollArea(parent) 17 | , m_scrollEnabled(false) 18 | { 19 | installEventFilter(this); 20 | } 21 | 22 | bool MuScrollArea::eventFilter(QObject *o, QEvent *e) 23 | { 24 | if (e->type() == QEvent::Wheel && !m_scrollEnabled) { 25 | return true; 26 | } else if (e->type() == QEvent::Resize) { 27 | QResizeEvent *re = dynamic_cast(e); 28 | if (re != nullptr) { 29 | // qDebug() << re->size(); 30 | } 31 | } 32 | return QScrollArea::eventFilter(o, e); 33 | } 34 | -------------------------------------------------------------------------------- /src/player/widgets/MuScrollArea.h: -------------------------------------------------------------------------------- 1 | /** 2 | * MumuMusic 3 | * 基于Qt的模仿网易云音乐PC客户端的app 4 | * 5 | * FlyWM_ 6 | * GitHub: https://github.com/FlyWM 7 | * CSDN: https://blog.csdn.net/a844651990 8 | */ 9 | 10 | #ifndef MUSCROLLAREA_H 11 | #define MUSCROLLAREA_H 12 | 13 | #include 14 | 15 | class MuScrollArea : public QScrollArea 16 | { 17 | Q_OBJECT 18 | 19 | public: 20 | explicit MuScrollArea(QWidget *parent = nullptr); 21 | 22 | void setScrollEnabled(bool enabled) { m_scrollEnabled = enabled; } 23 | 24 | bool eventFilter(QObject *o, QEvent *e); 25 | 26 | private: 27 | bool m_scrollEnabled; 28 | }; 29 | 30 | #endif // MUSCROLLAREA_H 31 | -------------------------------------------------------------------------------- /src/player/widgets/MuShadowWidget.cpp: -------------------------------------------------------------------------------- 1 | /** 2 | * MumuMusic 3 | * 基于Qt的模仿网易云音乐PC客户端的app 4 | * 5 | * FlyWM_ 6 | * GitHub: https://github.com/FlyWM 7 | * CSDN: https://blog.csdn.net/a844651990 8 | */ 9 | 10 | #include "mushadowwidget.h" 11 | #include 12 | #include 13 | #include 14 | #include 15 | 16 | MuGraphicsDropShadowEffectWidget::MuGraphicsDropShadowEffectWidget(QWidget *parent) 17 | : QWidget(parent) 18 | { 19 | setMinimumSize(150, 150); 20 | this->setAttribute(Qt::WA_TranslucentBackground, true); 21 | 22 | m_pMainLayout = new QVBoxLayout(this); 23 | m_pMainWidget = new QWidget(this); 24 | m_pMainWidget->setStyleSheet(QStringLiteral(" background-color: green; border-radius: 10px;")); 25 | m_pMainLayout->addWidget(m_pMainWidget); 26 | // m_pMainLayout->setContentsMargins(5, 5, 5, 5); 27 | 28 | QGraphicsDropShadowEffect *shadow = new QGraphicsDropShadowEffect(this); 29 | shadow->setOffset(0, 0); 30 | shadow->setColor(QColor(QStringLiteral("#888888"))); 31 | shadow->setBlurRadius(30); 32 | m_pMainWidget->setGraphicsEffect(shadow); 33 | m_pMainLayout->setMargin(24); 34 | } 35 | 36 | void MuGraphicsDropShadowEffectWidget::setMainWidget(QWidget *widget) 37 | { 38 | if (widget == nullptr) return; 39 | 40 | m_pMainWidget->deleteLater(); 41 | m_pMainWidget = widget; 42 | m_pMainWidget->setStyleSheet(QStringLiteral(" background-color: green; ")); 43 | } 44 | 45 | void MuGraphicsDropShadowEffectWidget::setShadowSize(int size) 46 | { 47 | Q_UNUSED(size) 48 | } 49 | 50 | void MuGraphicsDropShadowEffectWidget::paintEvent(QPaintEvent *e) 51 | { 52 | Q_UNUSED(e) 53 | 54 | // QPainter painter(this); 55 | 56 | // QStyleOption opt; 57 | // opt.init(this); 58 | // style()->drawPrimitive(QStyle::PE_Widget, &opt, &painter, this); 59 | } 60 | -------------------------------------------------------------------------------- /src/player/widgets/MuShadowWidget.h: -------------------------------------------------------------------------------- 1 | /** 2 | * MumuMusic 3 | * 基于Qt的模仿网易云音乐PC客户端的app 4 | * 5 | * FlyWM_ 6 | * GitHub: https://github.com/FlyWM 7 | * CSDN: https://blog.csdn.net/a844651990 8 | */ 9 | 10 | #ifndef MUSHADOWWIDGET_H 11 | #define MUSHADOWWIDGET_H 12 | 13 | #include 14 | 15 | class QVBoxLayout; 16 | class MuGraphicsDropShadowEffectWidget : public QWidget 17 | { 18 | Q_OBJECT 19 | 20 | public: 21 | explicit MuGraphicsDropShadowEffectWidget(QWidget *parent = nullptr); 22 | 23 | void setMainWidget(QWidget *widget); 24 | void setShadowSize(int size); 25 | 26 | protected: 27 | virtual void paintEvent(QPaintEvent *e); 28 | 29 | private: 30 | QWidget *m_pMainWidget; 31 | QVBoxLayout *m_pMainLayout; 32 | }; 33 | 34 | #endif // MUSHADOWWIDGET_H 35 | -------------------------------------------------------------------------------- /src/player/widgets/MuTableManageMenu.h: -------------------------------------------------------------------------------- 1 | /** 2 | * MumuMusic 3 | * 基于Qt的模仿网易云音乐PC客户端的app 4 | * 5 | * FlyWM_ 6 | * GitHub: https://github.com/FlyWM 7 | * CSDN: https://blog.csdn.net/a844651990 8 | */ 9 | 10 | #ifndef MUTABLEMANAGEMENU_H 11 | #define MUTABLEMANAGEMENU_H 12 | 13 | #include 14 | #include 15 | #include "MuDialogUI.h" 16 | #include "MuShadowWindow.h" 17 | 18 | /** 19 | * @brief The MuTableRightButtonMenu class 20 | * 音乐列表右键弹出菜单 21 | */ 22 | class MuTableRightButtonMenu : public MuShadowWindow 23 | { 24 | Q_OBJECT 25 | 26 | public: 27 | enum TableType 28 | { 29 | LocalTable, 30 | PlayListTable, 31 | }; 32 | 33 | MuTableRightButtonMenu(TableType table, int tableRowIndex, QWidget *parent = nullptr); 34 | 35 | protected: 36 | virtual bool eventFilter(QObject *watched, QEvent *event); 37 | 38 | private slots: 39 | void onActionTriggered(QAction *action); 40 | 41 | private: 42 | void createMainWidget(); 43 | void deleteLastOne(); 44 | void deleteThisOne(); 45 | 46 | private: 47 | TableType m_tableType; 48 | int m_tableRowIndex; 49 | QAction *m_pViewCommentsAc; 50 | QAction *m_pPlayAc; 51 | QAction *m_pNextSongAc; 52 | QAction *m_pAddToPlaylistAc; 53 | QAction *m_pShareAc; 54 | QAction *m_pCopyLkAdAc; 55 | QAction *m_pUpToMyCloudAc; 56 | QAction *m_pOpenFolderAc; 57 | QAction *m_pDeleteFromListAc; 58 | QAction *m_pDeleteFromDiskAc; 59 | 60 | QMenu *m_pMenu; 61 | 62 | private: 63 | static QQueue m_instances; 64 | }; 65 | 66 | #endif // MUTABLEMANAGEMENU_H 67 | -------------------------------------------------------------------------------- /src/player/widgets/MuTableViewHelper.h: -------------------------------------------------------------------------------- 1 | /** 2 | * MumuMusic 3 | * 基于Qt的模仿网易云音乐PC客户端的app 4 | * 5 | * FlyWM_ 6 | * GitHub: https://github.com/FlyWM 7 | * CSDN: https://blog.csdn.net/a844651990 8 | */ 9 | 10 | #ifndef MUTABLEVIEWHELPER_H 11 | #define MUTABLEVIEWHELPER_H 12 | 13 | #include 14 | #include 15 | #include 16 | #include 17 | #include 18 | 19 | class MuTableViewModel : public QStandardItemModel 20 | { 21 | Q_OBJECT 22 | 23 | public: 24 | explicit MuTableViewModel(QObject *parent = nullptr); 25 | 26 | // int rowCount(const QModelIndex &parent) const; 27 | // int columnCount(const QModelIndex &parent) const; 28 | virtual QVariant data(const QModelIndex &index, int role) const; 29 | // virtual QVariant headerData(int section, Qt::Orientation orientation, int role) const; 30 | QVariant headerData(int section, Qt::Orientation orientation, int role) const; 31 | }; 32 | 33 | class MuPushButtonDelegate : public QStyledItemDelegate 34 | { 35 | Q_OBJECT 36 | 37 | public: 38 | explicit MuPushButtonDelegate(QObject *parent = nullptr); 39 | 40 | void paint(QPainter *painter, 41 | const QStyleOptionViewItem &option, const QModelIndex &index) const Q_DECL_OVERRIDE; 42 | }; 43 | 44 | //class MuHeaderView : public QHeaderView 45 | //{ 46 | // Q_OBJECT 47 | 48 | //public: 49 | // explicit MuHeaderView(Qt::Orientation orientation, QWidget *parent = nullptr); 50 | 51 | //protected: 52 | // virtual void paintSection(QPainter *painter, const QRect &rect, int logicalIndex) const; 53 | //}; 54 | 55 | 56 | #endif // MUTABLEVIEWHELPER_H 57 | -------------------------------------------------------------------------------- /src/player/widgets/MubaseWidget.h: -------------------------------------------------------------------------------- 1 | /** 2 | * MumuMusic 3 | * 基于Qt的模仿网易云音乐PC客户端的app 4 | * 5 | * FlyWM_ 6 | * GitHub: https://github.com/FlyWM 7 | * CSDN: https://blog.csdn.net/a844651990 8 | */ 9 | 10 | #ifndef MUBASEWIDGET_H 11 | #define MUBASEWIDGET_H 12 | 13 | #include 14 | 15 | class MuBaseWidget : public QWidget 16 | { 17 | Q_OBJECT 18 | public: 19 | explicit MuBaseWidget(QWidget *parent = nullptr); 20 | 21 | protected: 22 | virtual void paintEvent(QPaintEvent *event); 23 | 24 | signals: 25 | 26 | public slots: 27 | }; 28 | 29 | #endif // MUBASEWIDGET_H 30 | -------------------------------------------------------------------------------- /src/player/widgets/MucentralWidget.cpp: -------------------------------------------------------------------------------- 1 | /** 2 | * MumuMusic 3 | * 基于Qt的模仿网易云音乐PC客户端的app 4 | * 5 | * FlyWM_ 6 | * GitHub: https://github.com/FlyWM 7 | * CSDN: https://blog.csdn.net/a844651990 8 | **/ 9 | 10 | #include 11 | #include "MuCentralWidget.h" 12 | 13 | MuCentralWidget::MuCentralWidget(QWidget *parent) 14 | : MuBaseWidget(parent) 15 | { 16 | } 17 | -------------------------------------------------------------------------------- /src/player/widgets/MucentralWidget.h: -------------------------------------------------------------------------------- 1 | /** 2 | * MumuMusic 3 | * 基于Qt的模仿网易云音乐PC客户端的app 4 | * 5 | * FlyWM_ 6 | * GitHub: https://github.com/FlyWM 7 | * CSDN: https://blog.csdn.net/a844651990 8 | */ 9 | 10 | #ifndef MUCENTRALWIDGET_H 11 | #define MUCENTRALWIDGET_H 12 | 13 | #include "mubasewidget.h" 14 | #include 15 | 16 | class MuCentralWidget : public MuBaseWidget 17 | { 18 | Q_OBJECT 19 | public: 20 | explicit MuCentralWidget(QWidget *parent = nullptr); 21 | 22 | signals: 23 | 24 | public slots: 25 | }; 26 | 27 | #endif // MUCENTRALWIDGET_H 28 | -------------------------------------------------------------------------------- /test/main.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | #include 5 | #include 6 | #include 7 | #include 8 | using namespace std; 9 | //#pragma execution_character_set("utf-8") 10 | 11 | int main(int argc, char *argv[]) 12 | { 13 | QCoreApplication a(argc, argv); 14 | 15 | // test1 16 | QString str = "E:\\CloudMusic\\1的.mp3"; 17 | 18 | QTextCodec *gbk = QTextCodec::codecForName("UTF-8"); 19 | str = gbk->toUnicode(str.toLocal8Bit()); 20 | 21 | QByteArray arr1; 22 | arr1.append(str); 23 | QString qStr = QString::fromLocal8Bit(str.toLocal8Bit()); 24 | string stdStr = "我是中文"; 25 | string stdStr1; 26 | string stdStr2 = str.toStdString().c_str(); 27 | stdStr1 = qStr.toLocal8Bit().toStdString(); 28 | 29 | fstream f(stdStr1); 30 | cout << f.is_open() << endl; 31 | 32 | qDebug() << "Test1: \n" << qStr; 33 | printf("%s\n", stdStr1.data()); 34 | cout << stdStr1 << endl; 35 | 36 | return a.exec(); 37 | } 38 | --------------------------------------------------------------------------------