├── MCloudMusic ├── .qmake.stash ├── MCloudMusic.pro ├── MCloudMusic.pro.user ├── MCloudMusic_resource.rc ├── Makefile ├── Makefile.Debug ├── Makefile.Release ├── defaultQss.qss ├── images │ ├── Messageform │ │ └── mainback.png │ ├── Personform │ │ ├── bend.png │ │ ├── btn_tiandao_h.png │ │ ├── btn_tiandao_n.png │ │ ├── dengji.png │ │ ├── mainback.png │ │ ├── off.png │ │ ├── qita.png │ │ ├── setup.png │ │ ├── shop.png │ │ ├── user_nember.png │ │ ├── user_nember_h.png │ │ └── xinlang.png │ ├── bottom_back.png │ ├── btn_add_h.png │ ├── btn_add_n.png │ ├── btn_close_h.png │ ├── btn_close_n.png │ ├── btn_delete_h.png │ ├── btn_delete_n.png │ ├── btn_down_h.png │ ├── btn_down_n.png │ ├── btn_last_h.png │ ├── btn_last_n.png │ ├── btn_left_h.png │ ├── btn_left_n.png │ ├── btn_max_h.png │ ├── btn_max_n.png │ ├── btn_message_h.png │ ├── btn_message_n.png │ ├── btn_min_h.png │ ├── btn_min_n.png │ ├── btn_mini_h.png │ ├── btn_mini_n.png │ ├── btn_next_h.png │ ├── btn_next_n.png │ ├── btn_paly_h.png │ ├── btn_paly_n.png │ ├── btn_people_h.png │ ├── btn_people_n.png │ ├── btn_right_1_h.png │ ├── btn_right_1_n.png │ ├── btn_right_h.png │ ├── btn_right_n.png │ ├── btn_set_h.png │ ├── btn_set_n.png │ ├── btn_shoucang_h.png │ ├── btn_shoucang_n.png │ ├── btn_skin_h.png │ ├── btn_skin_n.png │ ├── circulation.png │ ├── diantai.png │ ├── download.png │ ├── fm.png │ ├── friend.png │ ├── horn.png │ ├── icon_play.png │ ├── lable_part.png │ ├── list.png │ ├── listwidget_h.png │ ├── lock.png │ ├── logo.ico │ ├── logo.png │ ├── lyric.png │ ├── mainback.png │ ├── music.png │ ├── music_1.png │ ├── musicform │ │ ├── btn_like_h.png │ │ ├── btn_like_n.png │ │ ├── btn_music_picture_h.png │ │ ├── btn_music_picture_n.png │ │ ├── btn_share_h.png │ │ ├── btn_share_n.png │ │ ├── btn_unlike_h.png │ │ └── btn_unlike_n.png │ ├── musiclist.png │ ├── picturewall │ │ ├── 001.png │ │ ├── 002.png │ │ ├── 003.png │ │ ├── 004.png │ │ ├── 005.png │ │ ├── 006.png │ │ ├── 007.png │ │ └── 008.png │ ├── point_music.png │ ├── pretty_girl.png │ ├── search.png │ ├── shoucang.png │ ├── show_music.png │ ├── show_music_n.png │ ├── title_back.png │ ├── title_logo.png │ ├── video.png │ ├── yun.png │ ├── zanweifu.png │ └── 音乐条.psd ├── main.cpp ├── mainwindow.cpp ├── mainwindow.h ├── mainwindow.ui ├── messageform.cpp ├── messageform.h ├── messageform.ui ├── messageform_sixin_item.cpp ├── messageform_sixin_item.h ├── messageform_sixin_item.ui ├── musicform.cpp ├── musicform.h ├── musicform.ui ├── object_script.MCloudMusic.Debug ├── object_script.MCloudMusic.Release ├── personform.cpp ├── personform.h ├── personform.ui ├── picturewallform.cpp ├── picturewallform.h ├── picturewallform.ui ├── playlistform.cpp ├── playlistform.h ├── playlistform.ui ├── resource.qrc ├── ui_mainwindow.h ├── ui_messageform.h ├── ui_messageform_sixin_item.h ├── ui_musicform.h ├── ui_personform.h ├── ui_picturewallform.h └── ui_playlistform.h └── README.md /MCloudMusic/.qmake.stash: -------------------------------------------------------------------------------- 1 | QMAKE_CXX.INCDIRS = \ 2 | D:/Qt/Qt5.10.0/Tools/mingw530_32/lib/gcc/i686-w64-mingw32/5.3.0/include \ 3 | D:/Qt/Qt5.10.0/Tools/mingw530_32/lib/gcc/i686-w64-mingw32/5.3.0/include-fixed \ 4 | D:/Qt/Qt5.10.0/Tools/mingw530_32/i686-w64-mingw32/include \ 5 | D:/Qt/Qt5.10.0/Tools/mingw530_32/i686-w64-mingw32/include/c++ \ 6 | D:/Qt/Qt5.10.0/Tools/mingw530_32/i686-w64-mingw32/include/c++/i686-w64-mingw32 \ 7 | D:/Qt/Qt5.10.0/Tools/mingw530_32/i686-w64-mingw32/include/c++/backward 8 | QMAKE_CXX.LIBDIRS = \ 9 | D:/Qt/Qt5.10.0/Tools/mingw530_32/lib/gcc/i686-w64-mingw32/5.3.0 \ 10 | D:/Qt/Qt5.10.0/Tools/mingw530_32/lib/gcc \ 11 | D:/Qt/Qt5.10.0/Tools/mingw530_32/i686-w64-mingw32/lib \ 12 | D:/Qt/Qt5.10.0/Tools/mingw530_32/lib 13 | QMAKE_CXX.QT_COMPILER_STDCXX = 199711L 14 | QMAKE_CXX.QMAKE_GCC_MAJOR_VERSION = 5 15 | QMAKE_CXX.QMAKE_GCC_MINOR_VERSION = 3 16 | QMAKE_CXX.QMAKE_GCC_PATCH_VERSION = 0 17 | QMAKE_CXX.COMPILER_MACROS = \ 18 | QT_COMPILER_STDCXX \ 19 | QMAKE_GCC_MAJOR_VERSION \ 20 | QMAKE_GCC_MINOR_VERSION \ 21 | QMAKE_GCC_PATCH_VERSION 22 | -------------------------------------------------------------------------------- /MCloudMusic/MCloudMusic.pro: -------------------------------------------------------------------------------- 1 | #------------------------------------------------- 2 | # 3 | # Project created by QtCreator 2018-06-30T11:10:35 4 | # 5 | #------------------------------------------------- 6 | 7 | QT += core gui 8 | 9 | greaterThan(QT_MAJOR_VERSION, 4): QT += widgets 10 | 11 | TARGET = MCloudMusic 12 | TEMPLATE = app 13 | RC_ICONS = ./images/logo.ico 14 | 15 | # The following define makes your compiler emit warnings if you use 16 | # any feature of Qt which has been marked as deprecated (the exact warnings 17 | # depend on your compiler). Please consult the documentation of the 18 | # deprecated API in order to know how to port your code away from it. 19 | DEFINES += QT_DEPRECATED_WARNINGS 20 | 21 | # You can also make your code fail to compile if you use deprecated APIs. 22 | # In order to do so, uncomment the following line. 23 | # You can also select to disable deprecated APIs only up to a certain version of Qt. 24 | #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0 25 | 26 | 27 | SOURCES += \ 28 | main.cpp \ 29 | mainwindow.cpp \ 30 | musicform.cpp \ 31 | playlistform.cpp \ 32 | personform.cpp \ 33 | messageform.cpp \ 34 | messageform_sixin_item.cpp \ 35 | picturewallform.cpp 36 | 37 | HEADERS += \ 38 | mainwindow.h \ 39 | musicform.h \ 40 | playlistform.h \ 41 | personform.h \ 42 | messageform.h \ 43 | messageform_sixin_item.h \ 44 | picturewallform.h 45 | 46 | FORMS += \ 47 | mainwindow.ui \ 48 | musicform.ui \ 49 | playlistform.ui \ 50 | personform.ui \ 51 | messageform.ui \ 52 | messageform_sixin_item.ui \ 53 | picturewallform.ui 54 | 55 | RESOURCES += \ 56 | resource.qrc 57 | -------------------------------------------------------------------------------- /MCloudMusic/MCloudMusic.pro.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | EnvironmentId 7 | {805f8037-c23a-4161-a118-f758b02238af} 8 | 9 | 10 | ProjectExplorer.Project.ActiveTarget 11 | 0 12 | 13 | 14 | ProjectExplorer.Project.EditorSettings 15 | 16 | true 17 | false 18 | true 19 | 20 | Cpp 21 | 22 | CppGlobal 23 | 24 | 25 | 26 | QmlJS 27 | 28 | QmlJSGlobal 29 | 30 | 31 | 2 32 | UTF-8 33 | false 34 | 4 35 | false 36 | 80 37 | true 38 | true 39 | 1 40 | true 41 | false 42 | 0 43 | true 44 | true 45 | 0 46 | 8 47 | true 48 | 1 49 | true 50 | true 51 | true 52 | false 53 | 54 | 55 | 56 | ProjectExplorer.Project.PluginSettings 57 | 58 | 59 | 60 | ProjectExplorer.Project.Target.0 61 | 62 | Desktop Qt 5.10.0 MinGW 32bit 63 | Desktop Qt 5.10.0 MinGW 32bit 64 | qt.qt5.5100.win32_mingw53_kit 65 | 0 66 | 0 67 | 0 68 | 69 | D:/Projects/MCloudMusic 70 | 71 | 72 | true 73 | qmake 74 | 75 | QtProjectManager.QMakeBuildStep 76 | true 77 | 78 | false 79 | false 80 | false 81 | 82 | 83 | true 84 | Make 85 | 86 | Qt4ProjectManager.MakeStep 87 | 88 | false 89 | 90 | 91 | 92 | 2 93 | 构建 94 | 95 | ProjectExplorer.BuildSteps.Build 96 | 97 | 98 | 99 | true 100 | Make 101 | 102 | Qt4ProjectManager.MakeStep 103 | 104 | true 105 | clean 106 | 107 | 108 | 1 109 | 清理 110 | 111 | ProjectExplorer.BuildSteps.Clean 112 | 113 | 2 114 | false 115 | 116 | Debug 117 | 118 | Qt4ProjectManager.Qt4BuildConfiguration 119 | 2 120 | true 121 | 122 | 1 123 | 124 | 125 | 0 126 | 部署 127 | 128 | ProjectExplorer.BuildSteps.Deploy 129 | 130 | 1 131 | 在本地部署 132 | 133 | ProjectExplorer.DefaultDeployConfiguration 134 | 135 | 1 136 | 137 | 138 | false 139 | false 140 | 1000 141 | 142 | true 143 | 144 | false 145 | false 146 | false 147 | false 148 | true 149 | 0.01 150 | 10 151 | true 152 | 1 153 | 25 154 | 155 | 1 156 | true 157 | false 158 | true 159 | valgrind 160 | 161 | 0 162 | 1 163 | 2 164 | 3 165 | 4 166 | 5 167 | 6 168 | 7 169 | 8 170 | 9 171 | 10 172 | 11 173 | 12 174 | 13 175 | 14 176 | 177 | 2 178 | 179 | MCloudMusic 180 | 181 | Qt4ProjectManager.Qt4RunConfiguration:D:/Projects/MCloudMusic/MCloudMusic.pro 182 | true 183 | 184 | MCloudMusic.pro 185 | false 186 | 187 | D:/Projects/MCloudMusic 188 | 3768 189 | false 190 | true 191 | false 192 | false 193 | true 194 | 195 | 1 196 | 197 | 198 | 199 | ProjectExplorer.Project.TargetCount 200 | 1 201 | 202 | 203 | ProjectExplorer.Project.Updater.FileVersion 204 | 18 205 | 206 | 207 | Version 208 | 18 209 | 210 | 211 | -------------------------------------------------------------------------------- /MCloudMusic/MCloudMusic_resource.rc: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | IDI_ICON1 ICON DISCARDABLE "D:\\Projects\\MCloudMusic\\images\\logo.ico" 4 | 5 | VS_VERSION_INFO VERSIONINFO 6 | FILEVERSION 0,0,0,0 7 | PRODUCTVERSION 0,0,0,0 8 | FILEFLAGSMASK 0x3fL 9 | #ifdef _DEBUG 10 | FILEFLAGS VS_FF_DEBUG 11 | #else 12 | FILEFLAGS 0x0L 13 | #endif 14 | FILEOS VOS__WINDOWS32 15 | FILETYPE VFT_DLL 16 | FILESUBTYPE 0x0L 17 | BEGIN 18 | BLOCK "StringFileInfo" 19 | BEGIN 20 | BLOCK "040904b0" 21 | BEGIN 22 | VALUE "CompanyName", "\0" 23 | VALUE "FileDescription", "\0" 24 | VALUE "FileVersion", "0.0.0.0\0" 25 | VALUE "LegalCopyright", "\0" 26 | VALUE "OriginalFilename", "MCloudMusic.exe\0" 27 | VALUE "ProductName", "MCloudMusic\0" 28 | VALUE "ProductVersion", "0.0.0.0\0" 29 | END 30 | END 31 | BLOCK "VarFileInfo" 32 | BEGIN 33 | VALUE "Translation", 0x0409, 1200 34 | END 35 | END 36 | /* End of Version info */ 37 | 38 | -------------------------------------------------------------------------------- /MCloudMusic/defaultQss.qss: -------------------------------------------------------------------------------- 1 | /*标题背景文件*/ 2 | QLabel#label_title_back 3 | { 4 | border-image:url(./images/title_back.png); 5 | } 6 | /*标题LOGO文件*/ 7 | QLabel#label_title_logo 8 | { 9 | border-image:url(./images/title_logo.png); 10 | } 11 | /*关闭按钮*/ 12 | QPushButton#pushButton_close 13 | { 14 | border-image:url(images/btn_close_n.png); 15 | } 16 | QPushButton::hover#pushButton_close 17 | { 18 | border-image:url(images/btn_close_h.png); 19 | } 20 | QPushButton::pressed#pushButton_close 21 | { 22 | border-image:url(images/btn_close_n.png); 23 | } 24 | /*最大化按钮*/ 25 | QPushButton#pushButton_max 26 | { 27 | border-image:url(images/btn_max_n.png); 28 | } 29 | QPushButton::hover#pushButton_max 30 | { 31 | border-image:url(images/btn_max_h.png); 32 | } 33 | QPushButton::pressed#pushButton_max 34 | { 35 | border-image:url(images/btn_max_n.png); 36 | } 37 | /*最小化按钮*/ 38 | QPushButton#pushButton_min 39 | { 40 | border-image:url(images/btn_min_n.png); 41 | } 42 | QPushButton::hover#pushButton_min 43 | { 44 | border-image:url(images/btn_min_h.png); 45 | } 46 | QPushButton::pressed#pushButton_min 47 | { 48 | border-image:url(images/btn_min_n.png); 49 | } 50 | /*迷你按钮*/ 51 | QPushButton#pushButton_mini 52 | { 53 | border-image:url(images/btn_mini_n.png); 54 | } 55 | QPushButton::hover#pushButton_mini 56 | { 57 | border-image:url(images/btn_mini_h.png); 58 | } 59 | QPushButton::pressed#pushButton_mini 60 | { 61 | border-image:url(images/btn_mini_n.png); 62 | } 63 | /*设置按钮*/ 64 | QPushButton#pushButton_set 65 | { 66 | border-image:url(images/btn_set_n.png); 67 | } 68 | QPushButton::hover#pushButton_set 69 | { 70 | border-image:url(images/btn_set_h.png); 71 | } 72 | QPushButton::pressed#pushButton_set 73 | { 74 | border-image:url(images/btn_set_n.png); 75 | } 76 | /*消息按钮*/ 77 | QPushButton#pushButton_message 78 | { 79 | border-image:url(images/btn_message_n.png); 80 | } 81 | QPushButton::hover#pushButton_message 82 | { 83 | border-image:url(images/btn_message_h.png); 84 | } 85 | QPushButton::pressed#pushButton_message 86 | { 87 | border-image:url(images/btn_message_n.png); 88 | } 89 | /*消息提示框*/ 90 | QLabel#label_message_Tip 91 | { 92 | color: rgb(255, 255, 255); 93 | background-color: rgb(255, 0, 0); 94 | border-width:1; 95 | border-color:rgb(57, 58, 60); 96 | border-style: solid; 97 | border-radius: 7px; 98 | } 99 | /*皮肤主题按钮*/ 100 | QPushButton#pushButton_skin 101 | { 102 | border-image:url(images/btn_skin_n.png); 103 | } 104 | QPushButton::hover#pushButton_skin 105 | { 106 | border-image:url(images/btn_skin_h.png); 107 | } 108 | QPushButton::pressed#pushButton_skin 109 | { 110 | border-image:url(images/btn_skin_n.png); 111 | } 112 | /*个人中心按钮*/ 113 | QPushButton#pushButton_people 114 | { 115 | border-image:url(images/btn_people_n.png); 116 | } 117 | QPushButton::hover#pushButton_people 118 | { 119 | border-image:url(images/btn_people_h.png); 120 | } 121 | QPushButton::pressed#pushButton_people 122 | { 123 | border-image:url(images/btn_people_n.png); 124 | } 125 | /*个人中心文本*/ 126 | QLabel#label_people 127 | { 128 | color: rgb(175, 175, 175); 129 | } 130 | /*个人中心按钮*/ 131 | QPushButton#pushButton_people_1 132 | { 133 | border-image:url(images/pretty_girl.png); 134 | } 135 | /* 136 | QPushButton::hover#pushButton_people_1 137 | { 138 | border-image:url(images/btn_people_h.png); 139 | } 140 | QPushButton::pressed#pushButton_people_1 141 | { 142 | border-image:url(images/btn_people_n.png); 143 | } 144 | */ 145 | /*后退按钮*/ 146 | QPushButton#pushButton_title_left 147 | { 148 | border-image:url(images/btn_left_n.png); 149 | } 150 | QPushButton::hover#pushButton_title_left 151 | { 152 | border-image:url(images/btn_left_h.png); 153 | } 154 | QPushButton::pressed#pushButton_title_left 155 | { 156 | border-image:url(images/btn_left_n.png); 157 | } 158 | /*前进按钮*/ 159 | QPushButton#pushButton_title_right 160 | { 161 | border-image:url(images/btn_right_n.png); 162 | } 163 | QPushButton::hover#pushButton_title_right 164 | { 165 | border-image:url(images/btn_right_h.png); 166 | } 167 | QPushButton::pressed#pushButton_title_right 168 | { 169 | border-image:url(images/btn_right_n.png); 170 | } 171 | /*标题输入框*/ 172 | QLineEdit#lineEdit_title_input 173 | { 174 | border: 1px solid rgb(57, 58, 60,0); 175 | color: rgb(175, 175, 175); 176 | background: rgb(57, 58, 60,0); 177 | font-size: 14; 178 | font-family: "微软雅黑"; 179 | font-weight: bold; 180 | border-width:1; 181 | border-color:rgb(57, 58, 60,0); 182 | border-style: solid; 183 | border-radius: 10px; 184 | } 185 | QLabel#label_input_back 186 | { 187 | border: 1px solid rgb(57, 58, 60); 188 | color: rgb(175, 175, 175); 189 | background: rgb(57, 58, 60); 190 | border-width:1; 191 | border-color:rgb(57, 58, 60); 192 | border-style: solid; 193 | border-radius: 10px; 194 | } 195 | /*标题栏搜索按钮*/ 196 | QPushButton#pushButton_search 197 | { 198 | border-image:url(images/search.png); 199 | } 200 | /*音乐条背景*/ 201 | QLabel#label_bottom_back 202 | { 203 | border-image:url(images/bottom_back.png); 204 | } 205 | /*播放按钮*/ 206 | QPushButton#pushButton_play 207 | { 208 | border-image:url(images/btn_paly_n.png); 209 | } 210 | QPushButton::hover#pushButton_play 211 | { 212 | border-image:url(images/btn_paly_h.png); 213 | } 214 | QPushButton::pressed#pushButton_play 215 | { 216 | border-image:url(images/btn_paly_n.png); 217 | } 218 | /*下一曲按钮*/ 219 | QPushButton#pushButton_next 220 | { 221 | border-image:url(images/btn_next_n.png); 222 | } 223 | QPushButton::hover#pushButton_next 224 | { 225 | border-image:url(images/btn_next_h.png); 226 | } 227 | QPushButton::pressed#pushButton_next 228 | { 229 | border-image:url(images/btn_next_n.png); 230 | } 231 | /*上一曲按钮*/ 232 | QPushButton#pushButton_last 233 | { 234 | border-image:url(images/btn_last_n.png); 235 | } 236 | QPushButton::hover#pushButton_last 237 | { 238 | border-image:url(images/btn_last_h.png); 239 | } 240 | QPushButton::pressed#pushButton_last 241 | { 242 | border-image:url(images/btn_last_n.png); 243 | } 244 | /*音乐条时间*/ 245 | QLabel#label_time 246 | { 247 | color: rgb(175, 175, 175); 248 | } 249 | /*音乐条总时间*/ 250 | QLabel#label_time_long 251 | { 252 | color: rgb(175, 175, 175); 253 | } 254 | /*音乐条声音按钮*/ 255 | QPushButton#pushButton_horn 256 | { 257 | border-image:url(images/horn.png); 258 | } 259 | /*音乐条循环模式按钮*/ 260 | QPushButton#pushButton_circulation 261 | { 262 | border-image:url(images/circulation.png); 263 | } 264 | /*音乐条循环模式按钮*/ 265 | QPushButton#pushButton_lyric 266 | { 267 | border-image:url(images/lyric.png); 268 | } 269 | /*音乐条播放列表按钮*/ 270 | QPushButton#pushButton_list 271 | { 272 | border-image:url(images/list.png); 273 | } 274 | /*音乐条音乐列表*/ 275 | QLabel#label_sound_count 276 | { 277 | color: rgb(255, 255, 255); 278 | background-color: rgb(43, 43, 46); 279 | border-width:1; 280 | border-color:rgb(57, 58, 60); 281 | border-style: solid; 282 | border-radius: 7px; 283 | } 284 | /*音乐播放条*/ 285 | QSlider::add-page:Horizontal#horizontalSlider_music 286 | { 287 | background-color: rgb(69, 69, 70);height:5px; 288 | } 289 | QSlider::sub-page:Horizontal#horizontalSlider_music 290 | { 291 | background-color: rgb(255, 0, 0);height:5px; 292 | } 293 | QSlider::handle:Horizontal#horizontalSlider_music 294 | { 295 | width:14px;border-image: url(images/point_music.png);margin:-5 px -5px; 296 | } 297 | QSlider::groove:Horizontal#horizontalSlider_music 298 | { 299 | background:rgb(0, 255, 0);height:5px; 300 | } 301 | 302 | /*音乐音量条*/ 303 | QSlider::add-page:Horizontal#horizontalSlider_sound 304 | { 305 | background-color: rgb(69, 69, 70);height:5px; 306 | } 307 | QSlider::sub-page:Horizontal#horizontalSlider_sound 308 | { 309 | background-color: rgb(255, 0, 0);height:5px; 310 | } 311 | QSlider::groove:Horizontal#horizontalSlider_sound 312 | { 313 | background:rgb(0, 255, 0);height:5px; 314 | } 315 | QSlider::handle:Horizontal#horizontalSlider_sound 316 | { 317 | margin: -5px -5px;height: 10px;width:10px;background-color: transparent; 318 | } 319 | /*音乐模块全屏按钮*/ 320 | QPushButton#pushButton_music_picture 321 | { 322 | border-image:url(images/musicform/btn_music_picture_n.png); 323 | } 324 | QPushButton::hover#pushButton_music_picture 325 | { 326 | border-image:url(images/musicform/btn_music_picture_h.png); 327 | } 328 | QPushButton::pressed#pushButton_music_picture 329 | { 330 | border-image:url(images/musicform/btn_music_picture_n.png); 331 | } 332 | 333 | /*音乐模块分享按钮*/ 334 | QPushButton#pushButton_share 335 | { 336 | border-image:url(images/musicform/btn_share_n.png); 337 | } 338 | QPushButton::hover#pushButton_share 339 | { 340 | border-image:url(images/musicform/btn_share_h.png); 341 | } 342 | QPushButton::pressed#pushButton_share 343 | { 344 | border-image:url(images/musicform/btn_share_n.png); 345 | } 346 | /*音乐模块歌名*/ 347 | QLabel#label_music_name 348 | { 349 | color: rgb(255, 255, 255); 350 | } 351 | /*音乐模块歌词*/ 352 | QLabel#label_music_singer 353 | { 354 | color: rgb(102, 102, 102); 355 | } 356 | /*主窗口分割条*/ 357 | QLabel#label_part 358 | { 359 | border-image:url(images/lable_part.png); 360 | } 361 | /*推荐标签*/ 362 | QLabel#label_text_recommend 363 | { 364 | background: rgb(25, 27, 31); 365 | color: rgb(124, 124, 124); 366 | } 367 | /*我的音乐标签*/ 368 | QLabel#label_text_mymusic 369 | { 370 | background: rgb(25, 27, 31); 371 | color: rgb(124, 124, 124); 372 | } 373 | /*创建的歌单*/ 374 | QLabel#label_text_create_music_list 375 | { 376 | background: rgb(25, 27, 31); 377 | color: rgb(124, 124, 124); 378 | } 379 | /*音乐列表添加列表*/ 380 | QPushButton#pushButton_add 381 | { 382 | border-image:url(images/btn_add_n.png); 383 | } 384 | QPushButton::hover#pushButton_add 385 | { 386 | border-image:url(images/btn_add_h.png); 387 | } 388 | QPushButton::pressed#pushButton_add 389 | { 390 | border-image:url(images/btn_add_n.png); 391 | } 392 | /*收藏的歌单*/ 393 | QLabel#label_text_create_music_list_collect 394 | { 395 | background: rgb(25, 27, 31); 396 | color: rgb(124, 124, 124); 397 | } 398 | /*垂直滚动条*/ 399 | QScrollBar:vertical { 400 | width: 10px; 401 | background: transparent; 402 | margin-left: 3px; 403 | margin-right: 3px; 404 | } 405 | QScrollBar::handle:vertical { 406 | width: 20px; 407 | min-height: 30px; 408 | background: rgb(47, 49, 52); 409 | margin-top: 15px; 410 | margin-bottom: 15px; 411 | } 412 | QScrollBar::handle:vertical:hover { 413 | background: rgb(165, 195, 225); 414 | } 415 | QScrollBar::sub-line:vertical { 416 | height: 15px; 417 | background: transparent; 418 | subcontrol-position: top; 419 | } 420 | QScrollBar::add-line:vertical { 421 | height: 15px; 422 | background: transparent; 423 | subcontrol-position: bottom; 424 | } 425 | QScrollBar::sub-line:vertical:hover { 426 | background: rgb(170, 200, 230); 427 | } 428 | QScrollBar::add-line:vertical:hover { 429 | background: rgb(170, 200, 230); 430 | } 431 | QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical { 432 | background: transparent; 433 | } 434 | /*tabwidget*/ 435 | QTabWidget::pane { /* The tab widget frame */ 436 | border-top: 2px solid #00C2C7CB; 437 | position: absolute; 438 | top: 10px; 439 | background: #2d2f33; 440 | } 441 | 442 | QTabWidget::tab-bar { 443 | alignment: center; 444 | 445 | } 446 | QTabBar::tab { 447 | background: #282a2e; 448 | border: 2px solid #3c3e42; 449 | min-width: 10px; 450 | padding-left:20px; 451 | padding-right:20px; 452 | padding-top:5px; 453 | padding-bottom:5px; 454 | color:#686a6e; 455 | 456 | 457 | 458 | } 459 | 460 | QTabBar::tab:selected, QTabBar::tab:hover { 461 | background: #3a3a3f; 462 | } 463 | 464 | QTabBar::tab:selected { 465 | border-color: #3a3a3f; 466 | color:#dcdde4; 467 | border-bottom-color: #00C2C7CB; 468 | } 469 | /*播放列表收藏按钮*/ 470 | QPushButton#pushButton_PL_shoucang 471 | { 472 | background: #00282a2e; 473 | color:#828385; 474 | 475 | } 476 | QPushButton::hover#pushButton_PL_shoucang 477 | { 478 | background: #00282a2e; 479 | color:#FFFFFF; 480 | } 481 | QPushButton::pressed#pushButton_PL_shoucang 482 | { 483 | background: #00282a2e; 484 | color:#828385; 485 | } 486 | /*播放列表清除按钮*/ 487 | QPushButton#pushButton_PL_delete 488 | { 489 | background: #00282a2e; 490 | color:#828385; 491 | 492 | } 493 | QPushButton::hover#pushButton_PL_delete 494 | { 495 | background: #00282a2e; 496 | color:#FFFFFF; 497 | } 498 | QPushButton::pressed#pushButton_PL_delete 499 | { 500 | background: #00282a2e; 501 | color:#828385; 502 | } 503 | /*历史记录清除按钮*/ 504 | QPushButton#pushButton_PL_delete_2 505 | { 506 | background: #00282a2e; 507 | color:#828385; 508 | 509 | } 510 | QPushButton::hover#pushButton_PL_delete_2 511 | { 512 | background: #00282a2e; 513 | color:#FFFFFF; 514 | } 515 | QPushButton::pressed#pushButton_PL_delete_2 516 | { 517 | background: #00282a2e; 518 | color:#828385; 519 | } 520 | /*迷你个人中心头像按钮*/ 521 | QPushButton#pushButton_person_head_image 522 | { 523 | border-image:url(images/pretty_girl.png); 524 | } 525 | QPushButton::hover#pushButton_person_head_image 526 | { 527 | border-image:url(images/pretty_girl.png); 528 | } 529 | QPushButton::pressed#pushButton_person_head_image 530 | { 531 | border-image:url(images/pretty_girl.png); 532 | } 533 | /*会员表示*/ 534 | QLabel#label_user_member_icon 535 | { 536 | border-image:url(images/Personform/user_nember.png); 537 | } 538 | /*迷你个人中心文本*/ 539 | QLabel#label_user_name 540 | { 541 | color: rgb(175, 175, 175); 542 | } 543 | /*个人中心按钮*/ 544 | QPushButton#pushButton 545 | { 546 | background:#00FFFFFF; 547 | } 548 | QPushButton::hover#pushButton 549 | { 550 | background:#00FFFFFF; 551 | } 552 | QPushButton::pressed#pushButton 553 | { 554 | background:#00FFFFFF; 555 | } 556 | /*迷你个人中签到按钮*/ 557 | QPushButton#pushButton_sign 558 | { 559 | border-image:url(images/Personform/btn_tiandao_n.png); 560 | } 561 | QPushButton::hover#pushButton_sign 562 | { 563 | border-image:url(images/Personform/btn_tiandao_h.png); 564 | } 565 | QPushButton::pressed#pushButton_sign 566 | { 567 | border-image:url(images/Personform/btn_tiandao_n.png); 568 | } 569 | 570 | /*迷你个人中动态按钮*/ 571 | QPushButton#pushButton_dynamic 572 | { 573 | background:#00FFFFFF; 574 | color: rgb(130,131,133); 575 | } 576 | QPushButton::hover#pushButton_dynamic 577 | { 578 | background:#00FFFFFF; 579 | color: rgb(255,255,255); 580 | } 581 | QPushButton::pressed#pushButton_dynamic 582 | { 583 | background:#00FFFFFF; 584 | color: rgb(130,131,133); 585 | } 586 | /*迷你个人中心关注按钮*/ 587 | QPushButton#pushButton_attention 588 | { 589 | background:#00FFFFFF; 590 | color: rgb(130,131,133); 591 | } 592 | QPushButton::hover#pushButton_attention 593 | { 594 | background:#00FFFFFF; 595 | color: rgb(255,255,255); 596 | } 597 | QPushButton::pressed#pushButton_attention 598 | { 599 | background:#00FFFFFF; 600 | color: rgb(130,131,133); 601 | } 602 | /*迷你个人中心粉丝按钮*/ 603 | QPushButton#pushButton_fans 604 | { 605 | background:#00FFFFFF; 606 | color: rgb(130,131,133); 607 | } 608 | QPushButton::hover#pushButton_fans 609 | { 610 | background:#00FFFFFF; 611 | color: rgb(255,255,255); 612 | } 613 | QPushButton::pressed#pushButton_fans 614 | { 615 | background:#00FFFFFF; 616 | color: rgb(130,131,133); 617 | } 618 | /*迷你个人中心分割线*/ 619 | QLabel#labelline_1 620 | { 621 | background: rgb(55, 57, 61); 622 | } 623 | QLabel#labelline_2 624 | { 625 | background: rgb(55, 57, 61); 626 | } 627 | QLabel#labelline_3 628 | { 629 | background: rgb(55, 57, 61); 630 | } 631 | /*迷你个人中心关注文本*/ 632 | QLabel#label_attention 633 | { 634 | color: rgb(255, 255, 255); 635 | } 636 | /*迷你个人中心动态文本*/ 637 | QLabel#label_dynamic 638 | { 639 | color: rgb(255, 255, 255); 640 | } 641 | /*迷你个人中心粉丝文本*/ 642 | QLabel#label_fans 643 | { 644 | color: rgb(255, 255, 255); 645 | } 646 | /*迷你个人中心我的会员按钮*/ 647 | QPushButton#pushButton_mymember 648 | { 649 | background:#00393b3e; 650 | } 651 | QPushButton::hover#pushButton_mymember 652 | { 653 | background:#55393b3e; 654 | border-width:0; 655 | border-color:rgb(255,132,0,0); 656 | border-style: solid; 657 | border-radius: 0px; 658 | } 659 | QPushButton::pressed#pushButton_mymember 660 | { 661 | background:#00FFFFFF; 662 | } 663 | /*迷你个人中心我的会员头像*/ 664 | QLabel#label_my_menber 665 | { 666 | border-image:url(images/Personform/user_nember_h.png); 667 | } 668 | /*迷你个人中心我的会员文本*/ 669 | QLabel#label_my_member 670 | { 671 | color: rgb(175, 175, 175); 672 | } 673 | /*迷你个人中心我的会员时间文本*/ 674 | QLabel#label_my_member_time 675 | { 676 | color: rgb(95, 95, 99); 677 | } 678 | /*迷你个人中心我>文本*/ 679 | QLabel#label_L_1 680 | { 681 | color: rgb(95, 95, 99); 682 | } 683 | QLabel#label_L_2 684 | { 685 | color: rgb(95, 95, 99); 686 | } 687 | /*迷你个人中心等级按钮*/ 688 | QPushButton#pushButton_dengji 689 | { 690 | background:#00393b3e; 691 | } 692 | QPushButton::hover#pushButton_dengji 693 | { 694 | background:#55393b3e; 695 | border-width:0; 696 | border-color:rgb(255,132,0,0); 697 | border-style: solid; 698 | border-radius: 0px; 699 | } 700 | QPushButton::pressed#pushButton_dengji 701 | { 702 | background:#00FFFFFF; 703 | } 704 | /*迷你个人中心商城按钮*/ 705 | QPushButton#pushButton_shop 706 | { 707 | background:#00393b3e; 708 | } 709 | QPushButton::hover#pushButton_shop 710 | { 711 | background:#55393b3e; 712 | border-width:0; 713 | border-color:rgb(255,132,0,0); 714 | border-style: solid; 715 | border-radius: 0px; 716 | } 717 | QPushButton::pressed#pushButton_shop 718 | { 719 | background:#00FFFFFF; 720 | } 721 | /*迷你个人中心个人信息按钮*/ 722 | QPushButton#pushButton_person_infor 723 | { 724 | background:#00393b3e; 725 | } 726 | QPushButton::hover#pushButton_person_infor 727 | { 728 | background:#55393b3e; 729 | border-width:0; 730 | border-color:rgb(255,132,0,0); 731 | border-style: solid; 732 | border-radius: 0px; 733 | } 734 | QPushButton::pressed#pushButton_person_infor 735 | { 736 | background:#00FFFFFF; 737 | } 738 | /*迷你个人中心绑定按钮*/ 739 | QPushButton#pushButton_bend 740 | { 741 | background:#00393b3e; 742 | } 743 | QPushButton::hover#pushButton_bend 744 | { 745 | background:#55393b3e; 746 | border-width:0; 747 | border-color:rgb(255,132,0,0); 748 | border-style: solid; 749 | border-radius: 0px; 750 | } 751 | QPushButton::pressed#pushButton_bend 752 | { 753 | background:#00FFFFFF; 754 | } 755 | /*迷你个人中心关闭按钮*/ 756 | QPushButton#pushButton_off 757 | { 758 | background:#00393b3e; 759 | } 760 | QPushButton::hover#pushButton_off 761 | { 762 | background:#55393b3e; 763 | border-width:0; 764 | border-color:rgb(255,132,0,0); 765 | border-style: solid; 766 | border-radius: 0px; 767 | } 768 | QPushButton::pressed#pushButton_off 769 | { 770 | background:#00FFFFFF; 771 | } 772 | /*迷你个人中心等级头像*/ 773 | QLabel#label_my_dengji 774 | { 775 | border-image:url(images/Personform/dengji.png); 776 | } 777 | /*迷你个人中心等级文本*/ 778 | QLabel#label_my_dengji_1 779 | { 780 | color: rgb(175, 175, 175); 781 | } 782 | /*迷你个人中心我的会员时间文本*/ 783 | QLabel#label_my_dengji_2 784 | { 785 | color: rgb(95, 95, 99); 786 | } 787 | /*商城*/ 788 | QLabel#label_my_shop 789 | { 790 | border-image:url(images/Personform/shop.png); 791 | } 792 | QLabel#label_my_shop2 793 | { 794 | color: rgb(175, 175, 175); 795 | } 796 | QLabel#label_L_3 797 | { 798 | color: rgb(95, 95, 99); 799 | } 800 | /*个人信息设置*/ 801 | QLabel#label_my_setup 802 | { 803 | border-image:url(images/Personform/setup.png); 804 | } 805 | QLabel#label_my_setup2 806 | { 807 | color: rgb(175, 175, 175); 808 | } 809 | QLabel#label_L_4 810 | { 811 | color: rgb(95, 95, 99); 812 | } 813 | /*绑定社交账号*/ 814 | QLabel#label_my_bend 815 | { 816 | border-image:url(images/Personform/bend.png); 817 | } 818 | QLabel#label_my_bend2 819 | { 820 | color: rgb(175, 175, 175); 821 | } 822 | QLabel#label_L_5 823 | { 824 | color: rgb(95, 95, 99); 825 | } 826 | QLabel#label_my_bend_3 827 | { 828 | border-image:url(images/Personform/xinlang.png); 829 | } 830 | QLabel#label_my_bend_4 831 | { 832 | border-image:url(images/Personform/qita.png); 833 | } 834 | /*退出登录*/ 835 | QLabel#label_my_off 836 | { 837 | border-image:url(images/Personform/off.png); 838 | } 839 | QLabel#label_my_off2 840 | { 841 | color: rgb(175, 175, 175); 842 | } 843 | QLabel 844 | { 845 | color: rgb(175, 175, 175); 846 | } 847 | 848 | QLabel#label_read_point 849 | { 850 | background:#FF0000; 851 | background:rgb(255, 0, 0); 852 | } 853 | 854 | QLabel#label_sixin_name 855 | { 856 | color: rgb(46, 107, 176); 857 | } 858 | 859 | 860 | /*tabwidget_main*/ 861 | 862 | QTabWidget::pane#tabWidget_main { /* The tab widget frame */ 863 | border-top: 2px solid #00C2C7CB; 864 | position: absolute; 865 | top: 10px; 866 | background: #002d2f33; 867 | } 868 | 869 | QTabWidget#tabWidget_main::tab-bar { 870 | alignment: center; 871 | } 872 | 873 | 874 | -------------------------------------------------------------------------------- /MCloudMusic/images/Messageform/mainback.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/Messageform/mainback.png -------------------------------------------------------------------------------- /MCloudMusic/images/Personform/bend.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/Personform/bend.png -------------------------------------------------------------------------------- /MCloudMusic/images/Personform/btn_tiandao_h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/Personform/btn_tiandao_h.png -------------------------------------------------------------------------------- /MCloudMusic/images/Personform/btn_tiandao_n.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/Personform/btn_tiandao_n.png -------------------------------------------------------------------------------- /MCloudMusic/images/Personform/dengji.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/Personform/dengji.png -------------------------------------------------------------------------------- /MCloudMusic/images/Personform/mainback.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/Personform/mainback.png -------------------------------------------------------------------------------- /MCloudMusic/images/Personform/off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/Personform/off.png -------------------------------------------------------------------------------- /MCloudMusic/images/Personform/qita.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/Personform/qita.png -------------------------------------------------------------------------------- /MCloudMusic/images/Personform/setup.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/Personform/setup.png -------------------------------------------------------------------------------- /MCloudMusic/images/Personform/shop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/Personform/shop.png -------------------------------------------------------------------------------- /MCloudMusic/images/Personform/user_nember.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/Personform/user_nember.png -------------------------------------------------------------------------------- /MCloudMusic/images/Personform/user_nember_h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/Personform/user_nember_h.png -------------------------------------------------------------------------------- /MCloudMusic/images/Personform/xinlang.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/Personform/xinlang.png -------------------------------------------------------------------------------- /MCloudMusic/images/bottom_back.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/bottom_back.png -------------------------------------------------------------------------------- /MCloudMusic/images/btn_add_h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/btn_add_h.png -------------------------------------------------------------------------------- /MCloudMusic/images/btn_add_n.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/btn_add_n.png -------------------------------------------------------------------------------- /MCloudMusic/images/btn_close_h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/btn_close_h.png -------------------------------------------------------------------------------- /MCloudMusic/images/btn_close_n.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/btn_close_n.png -------------------------------------------------------------------------------- /MCloudMusic/images/btn_delete_h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/btn_delete_h.png -------------------------------------------------------------------------------- /MCloudMusic/images/btn_delete_n.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/btn_delete_n.png -------------------------------------------------------------------------------- /MCloudMusic/images/btn_down_h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/btn_down_h.png -------------------------------------------------------------------------------- /MCloudMusic/images/btn_down_n.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/btn_down_n.png -------------------------------------------------------------------------------- /MCloudMusic/images/btn_last_h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/btn_last_h.png -------------------------------------------------------------------------------- /MCloudMusic/images/btn_last_n.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/btn_last_n.png -------------------------------------------------------------------------------- /MCloudMusic/images/btn_left_h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/btn_left_h.png -------------------------------------------------------------------------------- /MCloudMusic/images/btn_left_n.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/btn_left_n.png -------------------------------------------------------------------------------- /MCloudMusic/images/btn_max_h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/btn_max_h.png -------------------------------------------------------------------------------- /MCloudMusic/images/btn_max_n.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/btn_max_n.png -------------------------------------------------------------------------------- /MCloudMusic/images/btn_message_h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/btn_message_h.png -------------------------------------------------------------------------------- /MCloudMusic/images/btn_message_n.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/btn_message_n.png -------------------------------------------------------------------------------- /MCloudMusic/images/btn_min_h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/btn_min_h.png -------------------------------------------------------------------------------- /MCloudMusic/images/btn_min_n.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/btn_min_n.png -------------------------------------------------------------------------------- /MCloudMusic/images/btn_mini_h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/btn_mini_h.png -------------------------------------------------------------------------------- /MCloudMusic/images/btn_mini_n.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/btn_mini_n.png -------------------------------------------------------------------------------- /MCloudMusic/images/btn_next_h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/btn_next_h.png -------------------------------------------------------------------------------- /MCloudMusic/images/btn_next_n.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/btn_next_n.png -------------------------------------------------------------------------------- /MCloudMusic/images/btn_paly_h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/btn_paly_h.png -------------------------------------------------------------------------------- /MCloudMusic/images/btn_paly_n.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/btn_paly_n.png -------------------------------------------------------------------------------- /MCloudMusic/images/btn_people_h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/btn_people_h.png -------------------------------------------------------------------------------- /MCloudMusic/images/btn_people_n.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/btn_people_n.png -------------------------------------------------------------------------------- /MCloudMusic/images/btn_right_1_h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/btn_right_1_h.png -------------------------------------------------------------------------------- /MCloudMusic/images/btn_right_1_n.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/btn_right_1_n.png -------------------------------------------------------------------------------- /MCloudMusic/images/btn_right_h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/btn_right_h.png -------------------------------------------------------------------------------- /MCloudMusic/images/btn_right_n.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/btn_right_n.png -------------------------------------------------------------------------------- /MCloudMusic/images/btn_set_h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/btn_set_h.png -------------------------------------------------------------------------------- /MCloudMusic/images/btn_set_n.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/btn_set_n.png -------------------------------------------------------------------------------- /MCloudMusic/images/btn_shoucang_h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/btn_shoucang_h.png -------------------------------------------------------------------------------- /MCloudMusic/images/btn_shoucang_n.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/btn_shoucang_n.png -------------------------------------------------------------------------------- /MCloudMusic/images/btn_skin_h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/btn_skin_h.png -------------------------------------------------------------------------------- /MCloudMusic/images/btn_skin_n.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/btn_skin_n.png -------------------------------------------------------------------------------- /MCloudMusic/images/circulation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/circulation.png -------------------------------------------------------------------------------- /MCloudMusic/images/diantai.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/diantai.png -------------------------------------------------------------------------------- /MCloudMusic/images/download.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/download.png -------------------------------------------------------------------------------- /MCloudMusic/images/fm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/fm.png -------------------------------------------------------------------------------- /MCloudMusic/images/friend.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/friend.png -------------------------------------------------------------------------------- /MCloudMusic/images/horn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/horn.png -------------------------------------------------------------------------------- /MCloudMusic/images/icon_play.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/icon_play.png -------------------------------------------------------------------------------- /MCloudMusic/images/lable_part.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/lable_part.png -------------------------------------------------------------------------------- /MCloudMusic/images/list.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/list.png -------------------------------------------------------------------------------- /MCloudMusic/images/listwidget_h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/listwidget_h.png -------------------------------------------------------------------------------- /MCloudMusic/images/lock.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/lock.png -------------------------------------------------------------------------------- /MCloudMusic/images/logo.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/logo.ico -------------------------------------------------------------------------------- /MCloudMusic/images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/logo.png -------------------------------------------------------------------------------- /MCloudMusic/images/lyric.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/lyric.png -------------------------------------------------------------------------------- /MCloudMusic/images/mainback.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/mainback.png -------------------------------------------------------------------------------- /MCloudMusic/images/music.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/music.png -------------------------------------------------------------------------------- /MCloudMusic/images/music_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/music_1.png -------------------------------------------------------------------------------- /MCloudMusic/images/musicform/btn_like_h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/musicform/btn_like_h.png -------------------------------------------------------------------------------- /MCloudMusic/images/musicform/btn_like_n.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/musicform/btn_like_n.png -------------------------------------------------------------------------------- /MCloudMusic/images/musicform/btn_music_picture_h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/musicform/btn_music_picture_h.png -------------------------------------------------------------------------------- /MCloudMusic/images/musicform/btn_music_picture_n.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/musicform/btn_music_picture_n.png -------------------------------------------------------------------------------- /MCloudMusic/images/musicform/btn_share_h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/musicform/btn_share_h.png -------------------------------------------------------------------------------- /MCloudMusic/images/musicform/btn_share_n.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/musicform/btn_share_n.png -------------------------------------------------------------------------------- /MCloudMusic/images/musicform/btn_unlike_h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/musicform/btn_unlike_h.png -------------------------------------------------------------------------------- /MCloudMusic/images/musicform/btn_unlike_n.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/musicform/btn_unlike_n.png -------------------------------------------------------------------------------- /MCloudMusic/images/musiclist.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/musiclist.png -------------------------------------------------------------------------------- /MCloudMusic/images/picturewall/001.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/picturewall/001.png -------------------------------------------------------------------------------- /MCloudMusic/images/picturewall/002.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/picturewall/002.png -------------------------------------------------------------------------------- /MCloudMusic/images/picturewall/003.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/picturewall/003.png -------------------------------------------------------------------------------- /MCloudMusic/images/picturewall/004.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/picturewall/004.png -------------------------------------------------------------------------------- /MCloudMusic/images/picturewall/005.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/picturewall/005.png -------------------------------------------------------------------------------- /MCloudMusic/images/picturewall/006.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/picturewall/006.png -------------------------------------------------------------------------------- /MCloudMusic/images/picturewall/007.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/picturewall/007.png -------------------------------------------------------------------------------- /MCloudMusic/images/picturewall/008.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/picturewall/008.png -------------------------------------------------------------------------------- /MCloudMusic/images/point_music.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/point_music.png -------------------------------------------------------------------------------- /MCloudMusic/images/pretty_girl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/pretty_girl.png -------------------------------------------------------------------------------- /MCloudMusic/images/search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/search.png -------------------------------------------------------------------------------- /MCloudMusic/images/shoucang.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/shoucang.png -------------------------------------------------------------------------------- /MCloudMusic/images/show_music.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/show_music.png -------------------------------------------------------------------------------- /MCloudMusic/images/show_music_n.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/show_music_n.png -------------------------------------------------------------------------------- /MCloudMusic/images/title_back.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/title_back.png -------------------------------------------------------------------------------- /MCloudMusic/images/title_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/title_logo.png -------------------------------------------------------------------------------- /MCloudMusic/images/video.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/video.png -------------------------------------------------------------------------------- /MCloudMusic/images/yun.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/yun.png -------------------------------------------------------------------------------- /MCloudMusic/images/zanweifu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/zanweifu.png -------------------------------------------------------------------------------- /MCloudMusic/images/音乐条.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DreamLife-Jianwei/MCloudMusic/29b82617a860671e205cc617e79c082c59c96956/MCloudMusic/images/音乐条.psd -------------------------------------------------------------------------------- /MCloudMusic/main.cpp: -------------------------------------------------------------------------------- 1 | #include "mainwindow.h" 2 | #include 3 | #include 4 | class LoadQSS 5 | { 6 | public: 7 | static void setStyle(const QString &style) 8 | { 9 | QFile qss(style); 10 | qss.open(QFile::ReadOnly); 11 | qApp->setStyleSheet(qss.readAll()); 12 | qss.close(); 13 | } 14 | }; 15 | int main(int argc, char *argv[]) 16 | { 17 | QApplication a(argc, argv); 18 | LoadQSS::setStyle("./defaultQss.qss"); 19 | MainWindow w; 20 | w.show(); 21 | 22 | return a.exec(); 23 | } 24 | -------------------------------------------------------------------------------- /MCloudMusic/mainwindow.cpp: -------------------------------------------------------------------------------- 1 | #include "mainwindow.h" 2 | #include "ui_mainwindow.h" 3 | #include 4 | #include 5 | 6 | MainWindow::MainWindow(QWidget *parent) : 7 | QWidget(parent), 8 | ui(new Ui::MainWindow) 9 | { 10 | ui->setupUi(this); 11 | this->setWindowFlag(Qt::FramelessWindowHint); 12 | 13 | //初始化音乐条范围和位置 14 | ui->horizontalSlider_music->setMaximum(100); 15 | ui->horizontalSlider_music->setMinimum(0); 16 | ui->horizontalSlider_music->setValue(50); 17 | 18 | //初始化音量条范围和位置 19 | ui->horizontalSlider_sound->setMaximum(100); 20 | ui->horizontalSlider_sound->setMinimum(0); 21 | ui->horizontalSlider_sound->setValue(30); 22 | 23 | //初始化音乐模块 24 | musicform = new MusicForm(this); 25 | connect(musicform,&MusicForm::full_show,this,&MainWindow::slot_musicform_resize); 26 | musicform->setGeometry(0,565,200,55); 27 | musicform->set_Music_Picture("./images/pretty_girl.png"); 28 | musicform->set_Music_Name_Singer("我记得我爱过","何润东"); 29 | musicform->show(); 30 | 31 | //播放列表模块 32 | playlistform = new PlayListForm(this); 33 | playlistform->setGeometry(454,149,568,472); 34 | playlistform->hide(); 35 | 36 | //主窗口tabwidgte 37 | ui->tabWidget_main->setTabText(0,"个性推荐"); 38 | ui->tabWidget_main->setTabText(1,"歌单"); 39 | ui->tabWidget_main->setTabText(2,"主播电台"); 40 | ui->tabWidget_main->setTabText(3,"排行榜"); 41 | ui->tabWidget_main->setTabText(4,"歌手"); 42 | ui->tabWidget_main->setTabText(5,"最新音乐"); 43 | ui->tabWidget_main->setStyleSheet("QTabBar::tab {background: #00000000;border: none;border-bottom: 2px solid #003c3e42;min-width: 10px;margin-right: 20px;" 44 | "padding-left:20px;padding-right:20px;padding-top:5px;padding-bottom:5px;color:#686a6e;}" 45 | "QTabBar::tab:hover {background: #3a3a3f;}" 46 | "QTabBar::tab:selected {border-color: #3a3a3f;color:#dcdde4;border-bottom-color: #dcdde4;}"); 47 | 48 | 49 | //个性推荐里面照片墙 50 | picturewall = new PictureWallForm(ui->tab_tuijian); 51 | picturewall->setGeometry(23,0,766,220); 52 | picturewall->show(); 53 | 54 | 55 | 56 | //滚动模块 57 | scrollArea = new QScrollArea(this); 58 | scrollArea->setGeometry(0,50,200,510); 59 | scrollArea->viewport()->setStyleSheet("background-color:transparent;"); 60 | scrollArea->setStyleSheet("QScrollArea {background-color:transparent;border: none;}"); 61 | scrollArea->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff); 62 | scrollArea->setWidget(ui->widget_list); 63 | 64 | //展开按钮样式 65 | ui->pushButton_unfold->setStyleSheet("QPushButton{border-image:url(images/btn_right_1_n.png);}" 66 | "QPushButton::hover{border-image:url(images/btn_right_1_h.png);}" 67 | "QPushButton::pressed{border-image:url(images/btn_right_1_n.png);}"); 68 | //收藏展开按钮样式 69 | ui->pushButton_unfold_collect->setStyleSheet("QPushButton{border-image:url(images/btn_right_1_n.png);}" 70 | "QPushButton::hover{border-image:url(images/btn_right_1_h.png);}" 71 | "QPushButton::pressed{border-image:url(images/btn_right_1_n.png);}"); 72 | 73 | //推荐列表 列表样式 74 | ui->listWidget->setStyleSheet("QListWidget{color:rgb(173,175,178); background:rgb(25,27,31);border:0px solid gray;}" 75 | "QListWidget::Item{height:30px;border:0px solid gray;padding-left:15;}" 76 | "QListWidget::Item:hover{color:rgb(255,255,255);background:transparent;border:0px solid gray;}" 77 | "QListWidget::Item:selected{border-image:url(images/listwidget_h.png); color:rgb(255,255,255);border:0px solid gray;}" 78 | "QListWidget::Item:selected:active{background:#00FFFFFF;color:#FFFFFF;border-width:0;}" 79 | ); 80 | //去掉滚动条 81 | ui->listWidget->setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff); 82 | ui->listWidget->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff); 83 | 84 | 85 | QListWidgetItem *add_item_1 = new QListWidgetItem(ui->listWidget); 86 | add_item_1->setIcon(QIcon("./images/music.png")); 87 | add_item_1->setText("发现音乐"); 88 | 89 | 90 | QListWidgetItem *add_item_2 = new QListWidgetItem(ui->listWidget); 91 | add_item_2->setIcon(QIcon("./images/fm.png")); 92 | add_item_2->setText("私人FM"); 93 | 94 | QListWidgetItem *add_item_3 = new QListWidgetItem(ui->listWidget); 95 | add_item_3->setIcon(QIcon("./images/video.png")); 96 | add_item_3->setText("MV"); 97 | 98 | QListWidgetItem *add_item_4 = new QListWidgetItem(ui->listWidget); 99 | add_item_4->setIcon(QIcon("./images/friend.png")); 100 | add_item_4->setText("朋友"); 101 | //我的音乐列表 102 | ui->listWidget_mymusic->setStyleSheet("QListWidget{color:rgb(173,175,178); background:rgb(25,27,31);border:0px solid gray;}" 103 | "QListWidget::Item{height:30px;border:0px solid gray;padding-left:15;}" 104 | "QListWidget::Item:hover{color:rgb(255,255,255);background:transparent;border:0px solid gray;}" 105 | "QListWidget::Item:selected{border-image:url(images/listwidget_h.png); color:rgb(255,255,255);border:0px solid gray;}" 106 | "QListWidget::Item:selected:active{background:#00FFFFFF;color:#FFFFFF;border-width:0;}"); 107 | //去掉滚动条 108 | ui->listWidget_mymusic->setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff); 109 | ui->listWidget_mymusic->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff); 110 | 111 | QListWidgetItem *add_item_5 = new QListWidgetItem(ui->listWidget_mymusic); 112 | add_item_5->setIcon(QIcon("./images/music_1.png")); 113 | add_item_5->setText("本地音乐"); 114 | QListWidgetItem *add_item_6 = new QListWidgetItem(ui->listWidget_mymusic); 115 | add_item_6->setIcon(QIcon("./images/download.png")); 116 | add_item_6->setText("下载管理"); 117 | 118 | QListWidgetItem *add_item_7 = new QListWidgetItem(ui->listWidget_mymusic); 119 | add_item_7->setIcon(QIcon("./images/yun.png")); 120 | add_item_7->setText("我的音乐云盘"); 121 | 122 | QListWidgetItem *add_item_8 = new QListWidgetItem(ui->listWidget_mymusic); 123 | add_item_8->setIcon(QIcon("./images/diantai.png")); 124 | add_item_8->setText("我的电台"); 125 | 126 | QListWidgetItem *add_item_9 = new QListWidgetItem(ui->listWidget_mymusic); 127 | add_item_9->setIcon(QIcon("./images/shoucang.png")); 128 | add_item_9->setText("我的搜藏"); 129 | //创建的歌单 130 | my_Create_Music_List = new QListWidget(ui->widget_list); 131 | connect(my_Create_Music_List,&QListWidget::itemClicked,this,&MainWindow::slot_my_Create_Music_List_itemClicked); 132 | my_Create_Music_List->setStyleSheet("QListWidget{color:rgb(173,175,178); background:rgb(25,27,31);border:0px solid gray;}" 133 | "QListWidget::Item{height:30px;border:0px solid gray;padding-left:15;}" 134 | "QListWidget::Item:hover{color:rgb(255,255,255);background:transparent;border:0px solid gray;}" 135 | "QListWidget::Item:selected{border-image:url(images/listwidget_h.png); color:rgb(255,255,255);border:0px solid gray;}" 136 | "QListWidget::Item:selected:active{background:#00FFFFFF;color:#FFFFFF;border-width:0;}"); 137 | //去掉滚动条 138 | my_Create_Music_List->setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff); 139 | my_Create_Music_List->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff); 140 | my_Create_Music_List->hide(); 141 | 142 | //创建列表测试 143 | QListWidgetItem *add_item_10 = new QListWidgetItem(my_Create_Music_List); 144 | add_item_10->setIcon(QIcon("./images/musicform/btn_like_n.png")); 145 | add_item_10->setText("我喜欢的音乐"); 146 | QListWidgetItem *add_item_11 = new QListWidgetItem(my_Create_Music_List); 147 | add_item_11->setIcon(QIcon("./images/lock.png")); 148 | add_item_11->setText("我的音乐"); 149 | 150 | QListWidgetItem *add_item_12 = new QListWidgetItem(my_Create_Music_List); 151 | add_item_12->setIcon(QIcon("./images/musiclist.png")); 152 | add_item_12->setText("我创建的歌单1"); 153 | 154 | QListWidgetItem *add_item_13 = new QListWidgetItem(my_Create_Music_List); 155 | add_item_13->setIcon(QIcon("./images/musiclist.png")); 156 | add_item_13->setText("我创建的歌单2"); 157 | 158 | QListWidgetItem *add_item_14 = new QListWidgetItem(my_Create_Music_List); 159 | add_item_14->setIcon(QIcon("./images/musiclist.png")); 160 | add_item_14->setText("我创建的歌单3"); 161 | 162 | 163 | 164 | //收藏的歌单 165 | my_Collect_Music_List = new QListWidget(ui->widget_list); 166 | connect(my_Collect_Music_List,&QListWidget::itemClicked,this,&MainWindow::slot_my_my_Collect_Music_List_itemClicked); 167 | my_Collect_Music_List->setStyleSheet("QListWidget{color:rgb(173,175,178); background:rgb(25,27,31);border:0px solid gray;}" 168 | "QListWidget::Item{height:30px;border:0px solid gray;padding-left:15;}" 169 | "QListWidget::Item:hover{color:rgb(255,255,255);background:transparent;border:0px solid gray;}" 170 | "QListWidget::Item:selected{border-image:url(images/listwidget_h.png); color:rgb(255,255,255);border:0px solid gray;}" 171 | "QListWidget::Item:selected:active{background:#00FFFFFF;color:#FFFFFF;border-width:0;}"); 172 | //去掉滚动条 173 | my_Collect_Music_List->setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff); 174 | my_Collect_Music_List->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff); 175 | my_Collect_Music_List->hide(); 176 | 177 | //收藏歌单测试 178 | QListWidgetItem *add_item_15 = new QListWidgetItem(my_Collect_Music_List); 179 | add_item_15->setIcon(QIcon("./images/musiclist.png")); 180 | add_item_15->setText("我收藏的歌单1"); 181 | 182 | QListWidgetItem *add_item_16 = new QListWidgetItem(my_Collect_Music_List); 183 | add_item_16->setIcon(QIcon("./images/musiclist.png")); 184 | add_item_16->setText("我收藏的歌单2"); 185 | 186 | QListWidgetItem *add_item_17 = new QListWidgetItem(my_Collect_Music_List); 187 | add_item_17->setIcon(QIcon("./images/musiclist.png")); 188 | add_item_17->setText("我收藏的歌单3"); 189 | 190 | 191 | } 192 | 193 | MainWindow::~MainWindow() 194 | { 195 | delete ui; 196 | } 197 | /* 198 | * 绘制函数 199 | * 绘制程序北京 200 | */ 201 | void MainWindow::paintEvent(QPaintEvent *event) 202 | { 203 | Q_UNUSED(event); 204 | QPainter painter_mainback(this); 205 | painter_mainback.drawPixmap(0,0,this->width(),this->height(),QPixmap(":/mianwindow/images/mainback.png")); 206 | ui->pushButton_people_1->setMask(QRegion(0,0,25,25,QRegion::Ellipse)); //设置遮罩 207 | 208 | } 209 | /* 210 | * 鼠标按下操作 211 | * 记录当前坐标 212 | */ 213 | static QPoint last(0,0); //保存坐标 214 | const int TITLE_HEIGHT = 50; //这里也可以使用宏定义,保存标题高度,也就是鼠标点击区域的高度 215 | void MainWindow::mousePressEvent(QMouseEvent *event) 216 | { 217 | if(event->y()globalPos(); 220 | } 221 | } 222 | /* 223 | * 鼠标移动函数 224 | * 这里实时修改窗口的坐标 225 | */ 226 | void MainWindow::mouseMoveEvent(QMouseEvent *event) 227 | { 228 | if(event->y()globalX() - last.x(); 231 | int dy = event->globalY() - last.y(); 232 | last = event->globalPos(); 233 | this->move(this->x()+dx,this->y()+dy); 234 | } 235 | } 236 | /* 237 | * 鼠标释放函数 238 | */ 239 | void MainWindow::mouseReleaseEvent(QMouseEvent *event) 240 | { 241 | if(event->y()globalX() - last.x(); 244 | int dy = event->globalY() - last.y(); 245 | this->move(this->x()+dx,this->y()+dy); 246 | } 247 | } 248 | /* 249 | * 关闭按钮槽函数 250 | */ 251 | void MainWindow::on_pushButton_close_clicked() 252 | { 253 | this->close(); 254 | } 255 | /* 256 | * 最大化按钮参函数 257 | */ 258 | void MainWindow::on_pushButton_max_clicked() 259 | { 260 | 261 | } 262 | /* 263 | * 最小化槽函数 264 | */ 265 | void MainWindow::on_pushButton_min_clicked() 266 | { 267 | this->showMinimized(); 268 | } 269 | /* 270 | * 迷你槽函数 271 | */ 272 | void MainWindow::on_pushButton_mini_clicked() 273 | { 274 | 275 | } 276 | /* 277 | * 设置按钮槽函数 278 | */ 279 | void MainWindow::on_pushButton_set_clicked() 280 | { 281 | 282 | } 283 | /* 284 | * 消息按钮槽函数 285 | */ 286 | void MainWindow::on_pushButton_message_clicked() 287 | { 288 | if(messageform) 289 | { 290 | if(messageform->isHidden()) 291 | { 292 | if(personform) 293 | { 294 | if(!personform->isHidden()) 295 | { 296 | personform->hide(); 297 | } 298 | } 299 | messageform->show(); 300 | } 301 | else 302 | { 303 | messageform->hide(); 304 | } 305 | } 306 | else 307 | { 308 | messageform = new MessageForm(this); 309 | messageform->setGeometry(672,40,350,591); 310 | messageform->raise(); 311 | if(personform) 312 | { 313 | if(!personform->isHidden()) 314 | { 315 | personform->hide(); 316 | } 317 | } 318 | messageform->show(); 319 | } 320 | 321 | } 322 | /* 323 | * 皮肤主题按钮槽函数 324 | */ 325 | void MainWindow::on_pushButton_skin_clicked() 326 | { 327 | 328 | } 329 | /* 330 | * 个人中心头像点击按钮 331 | */ 332 | void MainWindow::on_pushButton_people_1_clicked() 333 | { 334 | 335 | } 336 | /* 337 | * 搜索按钮 338 | */ 339 | void MainWindow::on_pushButton_search_clicked() 340 | { 341 | 342 | } 343 | /* 344 | * 上一曲按钮 345 | */ 346 | void MainWindow::on_pushButton_last_clicked() 347 | { 348 | 349 | } 350 | /* 351 | * 播放暂停按钮 352 | */ 353 | void MainWindow::on_pushButton_play_clicked() 354 | { 355 | 356 | } 357 | /* 358 | * 下一曲按钮 359 | */ 360 | void MainWindow::on_pushButton_next_clicked() 361 | { 362 | 363 | } 364 | /* 365 | * 静音按钮 366 | */ 367 | void MainWindow::on_pushButton_horn_clicked() 368 | { 369 | 370 | } 371 | /* 372 | * 循环模式按钮 373 | */ 374 | void MainWindow::on_pushButton_circulation_clicked() 375 | { 376 | 377 | } 378 | /* 379 | * 显示歌词按钮 380 | */ 381 | void MainWindow::on_pushButton_lyric_clicked() 382 | { 383 | 384 | } 385 | /* 386 | * 播放列表按钮 387 | */ 388 | void MainWindow::on_pushButton_list_clicked() 389 | { 390 | if(playlistform) 391 | { 392 | if(playlistform->isHidden()) 393 | { 394 | playlistform->show(); 395 | } 396 | else 397 | { 398 | playlistform->hide(); 399 | } 400 | } 401 | else 402 | { 403 | playlistform = new PlayListForm(this); 404 | playlistform->setGeometry(454,149,568,472); 405 | playlistform->show(); 406 | } 407 | } 408 | /* 409 | * 改变音乐模块显示方式 410 | */ 411 | void MainWindow::slot_musicform_resize(bool full_show_state) 412 | { 413 | if(full_show_state == true) 414 | { 415 | 416 | scrollArea->hide(); 417 | if(musicform != NULL) 418 | { 419 | musicform->setGeometry(0,50,1022,570); 420 | } 421 | } 422 | else 423 | { 424 | scrollArea->show(); 425 | if(musicform != NULL) 426 | { 427 | musicform->setGeometry(0,565,200,55); 428 | } 429 | } 430 | 431 | } 432 | /* 433 | * 推荐列表 434 | */ 435 | void MainWindow::on_listWidget_itemClicked(QListWidgetItem *item) 436 | { 437 | Q_UNUSED(item); 438 | // qDebug()<text(); 439 | ui->listWidget_mymusic->clearSelection(); 440 | my_Collect_Music_List->clearSelection(); 441 | my_Create_Music_List->clearSelection(); 442 | } 443 | /* 444 | * 我的音乐列表 445 | */ 446 | void MainWindow::on_listWidget_mymusic_itemClicked(QListWidgetItem *item) 447 | { 448 | Q_UNUSED(item); 449 | // qDebug()<text(); 450 | ui->listWidget->clearSelection(); 451 | my_Collect_Music_List->clearSelection(); 452 | my_Create_Music_List->clearSelection(); 453 | } 454 | /* 455 | * 我创建的列表点击 456 | */ 457 | void MainWindow::slot_my_Create_Music_List_itemClicked(QListWidgetItem *item) 458 | { 459 | Q_UNUSED(item); 460 | // qDebug()<text(); 461 | ui->listWidget_mymusic->clearSelection(); 462 | ui->listWidget->clearSelection(); 463 | my_Collect_Music_List->clearSelection(); 464 | } 465 | /* 466 | * 我收藏的列表点击 467 | */ 468 | void MainWindow::slot_my_my_Collect_Music_List_itemClicked(QListWidgetItem *item) 469 | { 470 | Q_UNUSED(item); 471 | // qDebug()<text(); 472 | ui->listWidget_mymusic->clearSelection(); 473 | ui->listWidget->clearSelection(); 474 | my_Create_Music_List->clearSelection(); 475 | } 476 | /* 477 | * 创建歌单 478 | */ 479 | void MainWindow::on_pushButton_add_clicked() 480 | { 481 | 482 | } 483 | /* 484 | * 创建列表展开列表 485 | */ 486 | static bool unfold_Flag = false; 487 | void MainWindow::on_pushButton_unfold_clicked() 488 | { 489 | if(!unfold_Flag) 490 | { 491 | if(my_Create_Music_List->isHidden()) 492 | { 493 | my_Create_Music_List->setGeometry(0,360,200,30*my_Create_Music_List->count()); 494 | my_Create_Music_List->show(); 495 | } 496 | unfold_Flag = !unfold_Flag; 497 | ui->pushButton_unfold->setStyleSheet("QPushButton{border-image:url(images/btn_down_n.png);}" 498 | "QPushButton::hover{border-image:url(images/btn_down_h.png);}" 499 | "QPushButton::pressed{border-image:url(images/btn_down_n.png);}"); 500 | ui->widget_list->resize(200,ui->widget_list->height() + 30*my_Create_Music_List->count()); 501 | ui->widget_Collect_form->setGeometry(0,my_Create_Music_List->y()+30*my_Create_Music_List->count(),200,30); 502 | if(!my_Collect_Music_List->isHidden()) 503 | { 504 | my_Collect_Music_List->setGeometry(0,ui->widget_Collect_form->y()+30,200,30*my_Collect_Music_List->count()); 505 | } 506 | } 507 | else 508 | { 509 | my_Create_Music_List->hide(); 510 | unfold_Flag = !unfold_Flag; 511 | ui->pushButton_unfold->setStyleSheet("QPushButton{border-image:url(images/btn_right_1_n.png);}" 512 | "QPushButton::hover{border-image:url(images/btn_right_1_h.png);}" 513 | "QPushButton::pressed{border-image:url(images/btn_right_1_n.png);}"); 514 | ui->widget_list->resize(200,ui->widget_list->height() - 30*my_Create_Music_List->count()); 515 | ui->widget_Collect_form->setGeometry(0,370,200,30); 516 | if(!my_Collect_Music_List->isHidden()) 517 | { 518 | my_Collect_Music_List->setGeometry(0,ui->widget_Collect_form->y()+30,200,30*my_Collect_Music_List->count()); 519 | } 520 | } 521 | 522 | } 523 | /* 524 | * 收藏列表展开按钮 525 | */ 526 | static bool unfold_collect_Flag = false; 527 | void MainWindow::on_pushButton_unfold_collect_clicked() 528 | { 529 | if(!unfold_collect_Flag) 530 | { 531 | if(my_Collect_Music_List->isHidden()) 532 | { 533 | my_Collect_Music_List->setGeometry(0,ui->widget_Collect_form->y()+30,200,30*my_Collect_Music_List->count()); 534 | my_Collect_Music_List->show(); 535 | } 536 | unfold_collect_Flag = !unfold_collect_Flag; 537 | ui->pushButton_unfold_collect->setStyleSheet("QPushButton{border-image:url(images/btn_down_n.png);}" 538 | "QPushButton::hover{border-image:url(images/btn_down_h.png);}" 539 | "QPushButton::pressed{border-image:url(images/btn_down_n.png);}"); 540 | ui->widget_list->resize(200,ui->widget_list->height() + 30*my_Create_Music_List->count()); 541 | 542 | 543 | } 544 | else 545 | { 546 | my_Collect_Music_List->hide(); 547 | unfold_collect_Flag = !unfold_collect_Flag; 548 | ui->pushButton_unfold_collect->setStyleSheet("QPushButton{border-image:url(images/btn_right_1_n.png);}" 549 | "QPushButton::hover{border-image:url(images/btn_right_1_h.png);}" 550 | "QPushButton::pressed{border-image:url(images/btn_right_1_n.png);}"); 551 | ui->widget_list->resize(200,ui->widget_list->height() - 30*my_Create_Music_List->count()); 552 | } 553 | 554 | } 555 | /* 556 | * 个人信息按钮 557 | */ 558 | void MainWindow::on_pushButton_people_clicked() 559 | { 560 | if(personform) 561 | { 562 | if(personform->isHidden()) 563 | { 564 | if(messageform) 565 | { 566 | if(!messageform->isHidden()) 567 | { 568 | messageform->hide(); 569 | } 570 | } 571 | personform->show(); 572 | } 573 | else 574 | { 575 | personform->hide(); 576 | } 577 | } 578 | else 579 | { 580 | personform = new PersonForm(this); 581 | personform->setGeometry(588,40,267,367); 582 | personform->raise(); //提升显示层数 583 | if(messageform) 584 | { 585 | if(!messageform->isHidden()) 586 | { 587 | messageform->hide(); 588 | } 589 | } 590 | personform->show(); 591 | } 592 | 593 | } 594 | -------------------------------------------------------------------------------- /MCloudMusic/mainwindow.h: -------------------------------------------------------------------------------- 1 | #ifndef MAINWINDOW_H 2 | #define MAINWINDOW_H 3 | 4 | #include 5 | #include 6 | #include 7 | #include 8 | #include 9 | #include 10 | #include 11 | #include 12 | 13 | #include "musicform.h" 14 | #include "playlistform.h" 15 | #include "personform.h" 16 | #include "messageform.h" 17 | #include "picturewallform.h" 18 | 19 | namespace Ui { 20 | class MainWindow; 21 | } 22 | 23 | class MainWindow : public QWidget 24 | { 25 | Q_OBJECT 26 | 27 | public: 28 | explicit MainWindow(QWidget *parent = 0); 29 | ~MainWindow(); 30 | 31 | 32 | private slots: 33 | void on_pushButton_close_clicked(); 34 | 35 | void on_pushButton_max_clicked(); 36 | 37 | void on_pushButton_min_clicked(); 38 | 39 | void on_pushButton_mini_clicked(); 40 | 41 | void on_pushButton_set_clicked(); 42 | 43 | void on_pushButton_message_clicked(); 44 | 45 | void on_pushButton_skin_clicked(); 46 | 47 | void on_pushButton_people_1_clicked(); 48 | 49 | void on_pushButton_search_clicked(); 50 | 51 | void on_pushButton_last_clicked(); 52 | 53 | void on_pushButton_play_clicked(); 54 | 55 | void on_pushButton_next_clicked(); 56 | 57 | void on_pushButton_horn_clicked(); 58 | 59 | void on_pushButton_circulation_clicked(); 60 | 61 | void on_pushButton_lyric_clicked(); 62 | 63 | void on_pushButton_list_clicked(); 64 | 65 | void slot_musicform_resize(bool full_show_state); 66 | 67 | void on_listWidget_itemClicked(QListWidgetItem *item); 68 | 69 | void on_listWidget_mymusic_itemClicked(QListWidgetItem *item); 70 | 71 | void slot_my_Create_Music_List_itemClicked(QListWidgetItem *item); 72 | 73 | void slot_my_my_Collect_Music_List_itemClicked(QListWidgetItem *item); 74 | 75 | void on_pushButton_add_clicked(); 76 | 77 | void on_pushButton_unfold_clicked(); 78 | 79 | void on_pushButton_unfold_collect_clicked(); 80 | 81 | void on_pushButton_people_clicked(); 82 | 83 | private: 84 | //绘制背景函数 85 | void paintEvent(QPaintEvent* event); 86 | //鼠标按下 87 | void mousePressEvent(QMouseEvent* event); 88 | //鼠标移动 89 | void mouseMoveEvent(QMouseEvent* event); 90 | //鼠标释放 91 | void mouseReleaseEvent(QMouseEvent* event); 92 | 93 | 94 | private: 95 | Ui::MainWindow *ui; 96 | QPushButton *btn_search; 97 | 98 | 99 | 100 | 101 | 102 | 103 | MusicForm *musicform = NULL; //音乐名片模块 104 | PlayListForm *playlistform = NULL; //播放列表模块 105 | PersonForm *personform = NULL; //个人信息按钮 106 | MessageForm *messageform = NULL; //消息界面 107 | PictureWallForm *picturewall = NULL; 108 | 109 | 110 | QScrollArea *scrollArea = NULL; //滚动区域 111 | QListWidget *my_Create_Music_List = NULL; //创建的歌单 112 | QListWidget *my_Collect_Music_List = NULL; //收藏的歌单 113 | 114 | 115 | }; 116 | 117 | #endif // MAINWINDOW_H 118 | -------------------------------------------------------------------------------- /MCloudMusic/messageform.cpp: -------------------------------------------------------------------------------- 1 | #include "messageform.h" 2 | #include "ui_messageform.h" 3 | #include 4 | MessageForm::MessageForm(QWidget *parent) : 5 | QWidget(parent), 6 | ui(new Ui::MessageForm) 7 | { 8 | ui->setupUi(this); 9 | ui->tabWidget->setTabText(0,"@我"); 10 | ui->tabWidget->setTabText(1,"私信"); 11 | ui->tabWidget->setTabText(2,"评论"); 12 | ui->tabWidget->setTabText(3,"通知"); 13 | 14 | ui->listWidget_sixin->setStyleSheet("QListWidget{color:rgb(173,175,178); background:rgb(25,27,31,0);border:0px solid gray;}" 15 | "QListWidget::Item{height:30px;border:0px solid gray;}" 16 | "QListWidget::Item:hover{color:rgb(255,255,255);background:transparent;border:0px solid gray;}" 17 | "QListWidget::Item:selected{ color:rgb(255,255,255);border:0px solid gray;}" 18 | "QListWidget::Item:selected:active{background:#00FFFFFF;color:#FFFFFF;border-width:0;}"); 19 | 20 | //测试数据 21 | MessageForm_SiXin_Item *sixinItem = new MessageForm_SiXin_Item; 22 | MessageForm_SiXin_Item *sixinItem1 = new MessageForm_SiXin_Item; 23 | QListWidgetItem *item = new QListWidgetItem(ui->listWidget_sixin); 24 | ui->listWidget_sixin->addItem(item); 25 | ui->listWidget_sixin->setItemWidget(item,sixinItem); 26 | item->setSizeHint(QSize(0,60)); 27 | 28 | QListWidgetItem *item1 = new QListWidgetItem(ui->listWidget_sixin); 29 | ui->listWidget_sixin->addItem(item1); 30 | ui->listWidget_sixin->setItemWidget(item1,sixinItem1); 31 | item1->setSizeHint(QSize(0,60)); 32 | 33 | } 34 | 35 | MessageForm::~MessageForm() 36 | { 37 | delete ui; 38 | } 39 | /* 40 | * 绘制背景 41 | */ 42 | void MessageForm::paintEvent(QPaintEvent *event) 43 | { 44 | Q_UNUSED(event); 45 | QPainter painter_mainback(this); 46 | painter_mainback.drawPixmap(0,0,this->width(),this->height(),QPixmap("./images/Messageform/mainback.png")); 47 | } 48 | /* 49 | * 鼠标离开 50 | */ 51 | void MessageForm::leaveEvent(QEvent *event) 52 | { 53 | Q_UNUSED(event); 54 | this->close(); 55 | } 56 | -------------------------------------------------------------------------------- /MCloudMusic/messageform.h: -------------------------------------------------------------------------------- 1 | #ifndef MESSAGEFORM_H 2 | #define MESSAGEFORM_H 3 | 4 | #include 5 | #include 6 | #include 7 | #include 8 | 9 | #include "messageform_sixin_item.h" 10 | namespace Ui { 11 | class MessageForm; 12 | } 13 | 14 | class MessageForm : public QWidget 15 | { 16 | Q_OBJECT 17 | 18 | public: 19 | explicit MessageForm(QWidget *parent = 0); 20 | ~MessageForm(); 21 | protected: 22 | void paintEvent(QPaintEvent *event); 23 | void leaveEvent(QEvent *event); 24 | private: 25 | Ui::MessageForm *ui; 26 | 27 | }; 28 | 29 | #endif // MESSAGEFORM_H 30 | -------------------------------------------------------------------------------- /MCloudMusic/messageform.ui: -------------------------------------------------------------------------------- 1 | 2 | 3 | MessageForm 4 | 5 | 6 | 7 | 0 8 | 0 9 | 350 10 | 591 11 | 12 | 13 | 14 | Form 15 | 16 | 17 | 18 | 19 | 0 20 | 30 21 | 350 22 | 571 23 | 24 | 25 | 26 | 1 27 | 28 | 29 | 30 | Tab 1 31 | 32 | 33 | 34 | 35 | 0 36 | 80 37 | 351 38 | 31 39 | 40 | 41 | 42 | 暂无@我的内容 43 | 44 | 45 | Qt::AlignCenter 46 | 47 | 48 | 49 | 50 | 51 | Tab 2 52 | 53 | 54 | 55 | 56 | 0 57 | 0 58 | 350 59 | 571 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | -------------------------------------------------------------------------------- /MCloudMusic/messageform_sixin_item.cpp: -------------------------------------------------------------------------------- 1 | #include "messageform_sixin_item.h" 2 | #include "ui_messageform_sixin_item.h" 3 | 4 | MessageForm_SiXin_Item::MessageForm_SiXin_Item(QWidget *parent) : 5 | QWidget(parent), 6 | ui(new Ui::MessageForm_SiXin_Item) 7 | { 8 | ui->setupUi(this); 9 | ui->label_read_point->setMask(QRegion(0,0,10,10,QRegion::Ellipse)); 10 | ui->label_sixin_head->setMask(QRegion(0,0,50,50,QRegion::Ellipse)); 11 | 12 | } 13 | 14 | MessageForm_SiXin_Item::~MessageForm_SiXin_Item() 15 | { 16 | delete ui; 17 | } 18 | -------------------------------------------------------------------------------- /MCloudMusic/messageform_sixin_item.h: -------------------------------------------------------------------------------- 1 | #ifndef MESSAGEFORM_SIXIN_ITEM_H 2 | #define MESSAGEFORM_SIXIN_ITEM_H 3 | 4 | #include 5 | 6 | namespace Ui { 7 | class MessageForm_SiXin_Item; 8 | } 9 | 10 | class MessageForm_SiXin_Item : public QWidget 11 | { 12 | Q_OBJECT 13 | 14 | public: 15 | explicit MessageForm_SiXin_Item(QWidget *parent = 0); 16 | ~MessageForm_SiXin_Item(); 17 | 18 | private: 19 | Ui::MessageForm_SiXin_Item *ui; 20 | }; 21 | 22 | #endif // MESSAGEFORM_SIXIN_ITEM_H 23 | -------------------------------------------------------------------------------- /MCloudMusic/messageform_sixin_item.ui: -------------------------------------------------------------------------------- 1 | 2 | 3 | MessageForm_SiXin_Item 4 | 5 | 6 | 7 | 0 8 | 0 9 | 350 10 | 60 11 | 12 | 13 | 14 | Form 15 | 16 | 17 | 18 | 19 | 10 20 | 25 21 | 10 22 | 10 23 | 24 | 25 | 26 | background-color: rgb(170, 0, 0); 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 90 36 | 10 37 | 100 38 | 20 39 | 40 | 41 | 42 | 网易云音乐 43 | 44 | 45 | 46 | 47 | 48 | 30 49 | 5 50 | 50 51 | 50 52 | 53 | 54 | 55 | background-color: rgb(0, 255, 127); 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 90 65 | 30 66 | 261 67 | 20 68 | 69 | 70 | 71 | 活动:我要坚持不下去了,现在好像找个人抱抱 72 | 73 | 74 | 75 | 76 | 77 | 240 78 | 10 79 | 100 80 | 20 81 | 82 | 83 | 84 | 7月3日 85 | 86 | 87 | Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter 88 | 89 | 90 | 91 | 92 | 93 | 94 | -------------------------------------------------------------------------------- /MCloudMusic/musicform.cpp: -------------------------------------------------------------------------------- 1 | #include "musicform.h" 2 | #include "ui_musicform.h" 3 | 4 | /* 5 | * 构造函数 6 | */ 7 | MusicForm::MusicForm(QWidget *parent) : 8 | QWidget(parent), 9 | ui(new Ui::MusicForm) 10 | { 11 | ui->setupUi(this); 12 | if(music_Like_State == false) 13 | { 14 | ui->pushButton_like->setStyleSheet("QPushButton{border-image:url(images/musicform/btn_like_n.png);}" 15 | "QPushButton::hover{border-image:url(images/musicform/btn_like_h.png);}" 16 | "QPushButton::pressed{border-image:url(images/musicform/btn_like_n.png);}"); 17 | } 18 | } 19 | 20 | MusicForm::~MusicForm() 21 | { 22 | delete ui; 23 | } 24 | /* 25 | * 这是音乐头像 26 | */ 27 | void MusicForm::set_Music_Picture(QString picPath) 28 | { 29 | QString qss = "QLabel{border-image:url("+picPath+");}"; 30 | ui->label_music_picture->setStyleSheet(qss); 31 | } 32 | /* 33 | * 设置歌曲名称和歌手 34 | */ 35 | void MusicForm::set_Music_Name_Singer(QString musicName, QString musicSinger) 36 | { 37 | 38 | ui->label_music_name->setText(getText(ui->label_music_name->font(),musicName,90)); 39 | ui->label_music_singer->setText(getText(ui->label_music_singer->font(),musicSinger,90)); 40 | 41 | } 42 | /* 43 | * 正常显示,把我的按钮还给我 44 | */ 45 | void MusicForm::slot_show_Normal() 46 | { 47 | 48 | emit full_show(false); 49 | ui->label_music_singer->show(); 50 | ui->label_music_name->show(); 51 | ui->label_music_picture->show(); 52 | ui->pushButton_like->show(); 53 | ui->pushButton_music_picture->show(); 54 | ui->pushButton_share->show(); 55 | 56 | 57 | btn_Show_Normal->hide(); 58 | music_Form->hide(); 59 | } 60 | /* 61 | * 绘制背景函数 62 | */ 63 | void MusicForm::paintEvent(QPaintEvent *event) 64 | { 65 | Q_UNUSED(event); 66 | QPainter painter_mainback(this); 67 | painter_mainback.setPen(Qt::NoPen); 68 | painter_mainback.setBrush(QColor(25,27,31)); 69 | painter_mainback.drawRect(0,0,this->width(),this->height()); 70 | } 71 | /* 72 | * 省略号函数 73 | */ 74 | QString MusicForm::getText(QFont font, QString str, int MaxWidth) 75 | { 76 | QFontMetrics fontWidth(font); 77 | int width = fontWidth.width(str); //计算字符串宽度 78 | if(width>=MaxWidth) //当字符串宽度大于最大宽度时进行转换 79 | { 80 | str = fontWidth.elidedText(str,Qt::ElideRight,MaxWidth); //右部显示省略号 81 | } 82 | return str; //返回处理后的字符串 83 | } 84 | /* 85 | * 全屏按钮按下 86 | */ 87 | void MusicForm::on_pushButton_music_picture_clicked() 88 | { 89 | if(full_Show_State == false) 90 | { 91 | emit full_show(true); 92 | ui->label_music_singer->hide(); 93 | ui->label_music_name->hide(); 94 | ui->label_music_picture->hide(); 95 | ui->pushButton_like->hide(); 96 | ui->pushButton_music_picture->hide(); 97 | ui->pushButton_share->hide(); 98 | 99 | 100 | 101 | if(music_Form) 102 | { 103 | music_Form->show(); 104 | } 105 | else 106 | { 107 | music_Form = new QWidget(this); 108 | music_Form->setGeometry(0,0,this->width(),this->height()); 109 | music_Form->setStyleSheet("QWidget{background-color: rgb(255, 0, 0);}"); 110 | music_Form->show(); 111 | } 112 | if(btn_Show_Normal == NULL) 113 | { 114 | btn_Show_Normal = new QPushButton(this); 115 | btn_Show_Normal->setGeometry(958,33,34,24); 116 | btn_Show_Normal->setStyleSheet("QPushButton{border-image:url(./images/show_music.png);}" 117 | "QPushButton:hover{border-image:url(./images/show_music_n.png);}" 118 | "QPushButton:pressed{border-image:url(./images/show_music.png);}"); 119 | btn_Show_Normal->show(); 120 | connect(btn_Show_Normal,&QPushButton::clicked,this,&MusicForm::slot_show_Normal); 121 | } 122 | else 123 | { 124 | btn_Show_Normal->setGeometry(958,33,34,24); 125 | btn_Show_Normal->show(); 126 | } 127 | } 128 | } 129 | /* 130 | * 喜欢按钮 131 | */ 132 | void MusicForm::on_pushButton_like_clicked() 133 | { 134 | if(music_Like_State == false) 135 | { 136 | music_Like_State = true; 137 | ui->pushButton_like->setStyleSheet("QPushButton{border-image:url(images/musicform/btn_unlike_n.png);}" 138 | "QPushButton::hover{border-image:url(images/musicform/btn_unlike_h.png);}" 139 | "QPushButton::pressed{border-image:url(images/musicform/btn_unlike_n.png);}"); 140 | 141 | } 142 | else 143 | { 144 | music_Like_State = false; 145 | ui->pushButton_like->setStyleSheet("QPushButton{border-image:url(images/musicform/btn_like_n.png);}" 146 | "QPushButton::hover{border-image:url(images/musicform/btn_like_h.png);}" 147 | "QPushButton::pressed{border-image:url(images/musicform/btn_like_n.png);}"); 148 | } 149 | } 150 | /* 151 | * 分享按钮 152 | */ 153 | void MusicForm::on_pushButton_share_clicked() 154 | { 155 | 156 | } 157 | -------------------------------------------------------------------------------- /MCloudMusic/musicform.h: -------------------------------------------------------------------------------- 1 | #ifndef MUSICFORM_H 2 | #define MUSICFORM_H 3 | 4 | #include 5 | #include 6 | #include 7 | #include 8 | #include 9 | namespace Ui { 10 | class MusicForm; 11 | } 12 | 13 | class MusicForm : public QWidget 14 | { 15 | Q_OBJECT 16 | 17 | public: 18 | explicit MusicForm(QWidget *parent = 0); 19 | ~MusicForm(); 20 | 21 | 22 | void set_Music_Picture(QString picPath); 23 | 24 | void set_Music_Name_Singer(QString musicName,QString musicSinger); 25 | protected slots: 26 | void slot_show_Normal(); 27 | signals: 28 | void full_show(bool full_show_state); //音乐模块全屏显示 29 | protected: 30 | void paintEvent(QPaintEvent* event); 31 | 32 | QString getText(QFont font,QString str,int MaxWidth); 33 | 34 | private slots: 35 | void on_pushButton_music_picture_clicked(); 36 | 37 | void on_pushButton_like_clicked(); 38 | 39 | void on_pushButton_share_clicked(); 40 | 41 | private: 42 | Ui::MusicForm *ui; 43 | 44 | 45 | 46 | bool music_Like_State = false; 47 | bool full_Show_State = false; 48 | 49 | 50 | 51 | QPushButton *btn_Show_Normal = NULL; 52 | 53 | QWidget *music_Form = NULL; 54 | }; 55 | 56 | #endif // MUSICFORM_H 57 | -------------------------------------------------------------------------------- /MCloudMusic/musicform.ui: -------------------------------------------------------------------------------- 1 | 2 | 3 | MusicForm 4 | 5 | 6 | 7 | 0 8 | 0 9 | 200 10 | 55 11 | 12 | 13 | 14 | Form 15 | 16 | 17 | 18 | 19 | 5 20 | 5 21 | 45 22 | 45 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 5 33 | 5 34 | 45 35 | 45 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 60 46 | 10 47 | 101 48 | 16 49 | 50 | 51 | 52 | 我记得我爱过 53 | 54 | 55 | 56 | 57 | 58 | 60 59 | 30 60 | 101 61 | 16 62 | 63 | 64 | 65 | 何润东 66 | 67 | 68 | 69 | 70 | 71 | 175 72 | 5 73 | 20 74 | 20 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 175 85 | 30 86 | 20 87 | 20 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | -------------------------------------------------------------------------------- /MCloudMusic/object_script.MCloudMusic.Debug: -------------------------------------------------------------------------------- 1 | INPUT( 2 | ./debug\main.o 3 | ./debug\mainwindow.o 4 | ./debug\musicform.o 5 | ./debug\playlistform.o 6 | ./debug\personform.o 7 | ./debug\messageform.o 8 | ./debug\messageform_sixin_item.o 9 | ./debug\picturewallform.o 10 | ./debug\qrc_resource.o 11 | ./debug\moc_mainwindow.o 12 | ./debug\moc_musicform.o 13 | ./debug\moc_playlistform.o 14 | ./debug\moc_personform.o 15 | ./debug\moc_messageform.o 16 | ./debug\moc_messageform_sixin_item.o 17 | ./debug\moc_picturewallform.o 18 | ); 19 | -------------------------------------------------------------------------------- /MCloudMusic/object_script.MCloudMusic.Release: -------------------------------------------------------------------------------- 1 | INPUT( 2 | ./release\main.o 3 | ./release\mainwindow.o 4 | ./release\musicform.o 5 | ./release\playlistform.o 6 | ./release\personform.o 7 | ./release\messageform.o 8 | ./release\messageform_sixin_item.o 9 | ./release\picturewallform.o 10 | ./release\qrc_resource.o 11 | ./release\moc_mainwindow.o 12 | ./release\moc_musicform.o 13 | ./release\moc_playlistform.o 14 | ./release\moc_personform.o 15 | ./release\moc_messageform.o 16 | ./release\moc_messageform_sixin_item.o 17 | ./release\moc_picturewallform.o 18 | ); 19 | -------------------------------------------------------------------------------- /MCloudMusic/personform.cpp: -------------------------------------------------------------------------------- 1 | #include "personform.h" 2 | #include "ui_personform.h" 3 | #include 4 | PersonForm::PersonForm(QWidget *parent) : 5 | QWidget(parent), 6 | ui(new Ui::PersonForm) 7 | { 8 | ui->setupUi(this); 9 | } 10 | 11 | PersonForm::~PersonForm() 12 | { 13 | delete ui; 14 | } 15 | 16 | void PersonForm::paintEvent(QPaintEvent *event) 17 | { 18 | Q_UNUSED(event); 19 | QPainter painter_mainback(this); 20 | painter_mainback.drawPixmap(0,0,this->width(),this->height(),QPixmap("./images/Personform/mainback.png")); 21 | ui->pushButton_person_head_image->setMask(QRegion(0,0,40,40,QRegion::Ellipse)); //设置头像遮罩 22 | } 23 | /* 24 | * 鼠标离开 25 | */ 26 | void PersonForm::leaveEvent(QEvent *event) 27 | { 28 | Q_UNUSED(event); 29 | this->close(); 30 | 31 | } 32 | /* 33 | * 头像点击按钮 34 | */ 35 | void PersonForm::on_pushButton_person_head_image_clicked() 36 | { 37 | qDebug()<<"头像按钮点击"; 38 | } 39 | /* 40 | * 个人名字点击效果 41 | */ 42 | void PersonForm::on_pushButton_clicked() 43 | { 44 | qDebug()<<"用户名字点击"; 45 | } 46 | /* 47 | * 签到按钮槽函数 48 | */ 49 | void PersonForm::on_pushButton_sign_clicked() 50 | { 51 | qDebug()<<"签到按钮点击"; 52 | } 53 | /* 54 | * 粉丝按钮按下 55 | */ 56 | void PersonForm::on_pushButton_fans_clicked() 57 | { 58 | qDebug()<<"粉丝按钮点击"; 59 | } 60 | /* 61 | * 关注按钮按下 62 | */ 63 | void PersonForm::on_pushButton_attention_clicked() 64 | { 65 | qDebug()<<"关注按钮点击"; 66 | } 67 | /* 68 | * 动态按钮按下 69 | */ 70 | void PersonForm::on_pushButton_dynamic_clicked() 71 | { 72 | qDebug()<<"动态按钮点击"; 73 | } 74 | /* 75 | * 我的会员点击按钮 76 | */ 77 | void PersonForm::on_pushButton_mymember_clicked() 78 | { 79 | qDebug()<<"我的会员按钮点击"; 80 | } 81 | /* 82 | * 等级按钮 83 | */ 84 | void PersonForm::on_pushButton_dengji_clicked() 85 | { 86 | qDebug()<<"等级按钮点击"; 87 | } 88 | /* 89 | * 商城按钮 90 | */ 91 | void PersonForm::on_pushButton_shop_clicked() 92 | { 93 | qDebug()<<"商城按钮点击"; 94 | } 95 | /* 96 | * 个人信息按钮设置 97 | */ 98 | void PersonForm::on_pushButton_person_infor_clicked() 99 | { 100 | qDebug()<<"个人信息设置按钮点击"; 101 | } 102 | /* 103 | * 绑定社交账号按钮 104 | */ 105 | void PersonForm::on_pushButton_bend_clicked() 106 | { 107 | qDebug()<<"绑定社交账号按钮点击"; 108 | } 109 | /* 110 | * 退出登录按钮 111 | */ 112 | void PersonForm::on_pushButton_off_clicked() 113 | { 114 | qDebug()<<"退出登录按钮点击"; 115 | } 116 | -------------------------------------------------------------------------------- /MCloudMusic/personform.h: -------------------------------------------------------------------------------- 1 | #ifndef PERSONFORM_H 2 | #define PERSONFORM_H 3 | 4 | #include 5 | #include 6 | #include 7 | namespace Ui { 8 | class PersonForm; 9 | } 10 | 11 | class PersonForm : public QWidget 12 | { 13 | Q_OBJECT 14 | 15 | public: 16 | explicit PersonForm(QWidget *parent = 0); 17 | ~PersonForm(); 18 | protected: 19 | void paintEvent(QPaintEvent *event); 20 | void leaveEvent(QEvent *event); 21 | private slots: 22 | void on_pushButton_person_head_image_clicked(); 23 | 24 | void on_pushButton_clicked(); 25 | 26 | void on_pushButton_sign_clicked(); 27 | 28 | void on_pushButton_fans_clicked(); 29 | 30 | void on_pushButton_attention_clicked(); 31 | 32 | void on_pushButton_dynamic_clicked(); 33 | 34 | void on_pushButton_mymember_clicked(); 35 | 36 | void on_pushButton_dengji_clicked(); 37 | 38 | void on_pushButton_shop_clicked(); 39 | 40 | void on_pushButton_person_infor_clicked(); 41 | 42 | void on_pushButton_bend_clicked(); 43 | 44 | void on_pushButton_off_clicked(); 45 | 46 | private: 47 | Ui::PersonForm *ui; 48 | }; 49 | 50 | #endif // PERSONFORM_H 51 | -------------------------------------------------------------------------------- /MCloudMusic/personform.ui: -------------------------------------------------------------------------------- 1 | 2 | 3 | PersonForm 4 | 5 | 6 | 7 | 0 8 | 0 9 | 276 10 | 376 11 | 12 | 13 | 14 | Form 15 | 16 | 17 | 18 | 19 | 20 20 | 30 21 | 40 22 | 40 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 70 33 | 43 34 | 60 35 | 15 36 | 37 | 38 | 39 | 40 | 60 41 | 15 42 | 43 | 44 | 45 | 梦想少年 46 | 47 | 48 | 49 | 50 | 51 | 130 52 | 43 53 | 15 54 | 15 55 | 56 | 57 | 58 | 59 | 15 60 | 15 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 70 71 | 43 72 | 75 73 | 15 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 197 84 | 37 85 | 64 86 | 26 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 0 97 | 80 98 | 90 99 | 60 100 | 101 | 102 | 103 | 动态 104 | 105 | 106 | 107 | 108 | 109 | 93 110 | 80 111 | 90 112 | 60 113 | 114 | 115 | 116 | 关注 117 | 118 | 119 | 120 | 121 | 122 | 186 123 | 80 124 | 90 125 | 60 126 | 127 | 128 | 129 | 粉丝 130 | 131 | 132 | 133 | 134 | 135 | 0 136 | 142 137 | 276 138 | 1 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 0 149 | 80 150 | 90 151 | 20 152 | 153 | 154 | 155 | 156 | 9 157 | 75 158 | true 159 | 160 | 161 | 162 | 123 163 | 164 | 165 | Qt::AlignCenter 166 | 167 | 168 | 169 | 170 | 171 | 93 172 | 80 173 | 90 174 | 20 175 | 176 | 177 | 178 | 179 | 9 180 | 75 181 | true 182 | 183 | 184 | 185 | 2000 186 | 187 | 188 | Qt::AlignCenter 189 | 190 | 191 | 192 | 193 | 194 | 186 195 | 80 196 | 90 197 | 20 198 | 199 | 200 | 201 | 202 | 9 203 | 75 204 | true 205 | 206 | 207 | 208 | 10000 209 | 210 | 211 | Qt::AlignCenter 212 | 213 | 214 | 215 | 216 | 217 | 0 218 | 142 219 | 276 220 | 36 221 | 222 | 223 | 224 | 225 | 226 | 227 | 228 | 229 | 230 | 0 231 | 251 232 | 276 233 | 1 234 | 235 | 236 | 237 | 238 | 239 | 240 | 241 | 242 | 243 | 0 244 | 324 245 | 276 246 | 1 247 | 248 | 249 | 250 | 251 | 252 | 253 | 254 | 255 | 256 | 20 257 | 152 258 | 18 259 | 16 260 | 261 | 262 | 263 | 264 | 265 | 266 | 267 | 268 | 269 | 50 270 | 152 271 | 100 272 | 16 273 | 274 | 275 | 276 | 我的会员 277 | 278 | 279 | 280 | 281 | 282 | 140 283 | 152 284 | 100 285 | 16 286 | 287 | 288 | 289 | 2019.05.05到期 290 | 291 | 292 | Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter 293 | 294 | 295 | 296 | 297 | 298 | 255 299 | 152 300 | 16 301 | 16 302 | 303 | 304 | 305 | > 306 | 307 | 308 | 309 | 310 | 311 | 0 312 | 178 313 | 276 314 | 36 315 | 316 | 317 | 318 | 319 | 320 | 321 | 322 | 323 | 324 | 0 325 | 214 326 | 276 327 | 36 328 | 329 | 330 | 331 | 332 | 333 | 334 | 335 | 336 | 337 | 0 338 | 253 339 | 276 340 | 36 341 | 342 | 343 | 344 | 345 | 346 | 347 | 348 | 349 | 350 | 0 351 | 289 352 | 276 353 | 36 354 | 355 | 356 | 357 | 358 | 359 | 360 | 361 | 362 | 363 | 0 364 | 326 365 | 276 366 | 50 367 | 368 | 369 | 370 | 371 | 372 | 373 | 374 | 375 | 376 | 20 377 | 188 378 | 18 379 | 16 380 | 381 | 382 | 383 | 384 | 385 | 386 | 387 | 388 | 389 | 50 390 | 188 391 | 100 392 | 16 393 | 394 | 395 | 396 | 等级 397 | 398 | 399 | 400 | 401 | 402 | 255 403 | 188 404 | 16 405 | 16 406 | 407 | 408 | 409 | > 410 | 411 | 412 | 413 | 414 | 415 | 140 416 | 188 417 | 100 418 | 16 419 | 420 | 421 | 422 | LV.9 423 | 424 | 425 | Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter 426 | 427 | 428 | 429 | 430 | 431 | 20 432 | 224 433 | 18 434 | 16 435 | 436 | 437 | 438 | 439 | 440 | 441 | 442 | 443 | 444 | 50 445 | 224 446 | 100 447 | 16 448 | 449 | 450 | 451 | 商城 452 | 453 | 454 | 455 | 456 | 457 | 255 458 | 224 459 | 16 460 | 16 461 | 462 | 463 | 464 | > 465 | 466 | 467 | 468 | 469 | 470 | 255 471 | 263 472 | 16 473 | 16 474 | 475 | 476 | 477 | > 478 | 479 | 480 | 481 | 482 | 483 | 50 484 | 263 485 | 100 486 | 16 487 | 488 | 489 | 490 | 个人信息设置 491 | 492 | 493 | 494 | 495 | 496 | 20 497 | 263 498 | 18 499 | 16 500 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 509 | 20 510 | 299 511 | 18 512 | 16 513 | 514 | 515 | 516 | 517 | 518 | 519 | 520 | 521 | 522 | 50 523 | 299 524 | 100 525 | 16 526 | 527 | 528 | 529 | 绑定社交账号 530 | 531 | 532 | 533 | 534 | 535 | 255 536 | 299 537 | 16 538 | 16 539 | 540 | 541 | 542 | > 543 | 544 | 545 | 546 | 547 | 548 | 200 549 | 299 550 | 18 551 | 16 552 | 553 | 554 | 555 | 556 | 557 | 558 | 559 | 560 | 561 | 220 562 | 299 563 | 18 564 | 16 565 | 566 | 567 | 568 | 569 | 570 | 571 | 572 | 573 | 574 | 20 575 | 339 576 | 18 577 | 16 578 | 579 | 580 | 581 | 582 | 583 | 584 | 585 | 586 | 587 | 50 588 | 339 589 | 100 590 | 16 591 | 592 | 593 | 594 | 退出登录 595 | 596 | 597 | pushButton_person_head_image 598 | label_user_name 599 | label_user_member_icon 600 | pushButton 601 | pushButton_sign 602 | labelline_1 603 | label_dynamic 604 | label_attention 605 | label_fans 606 | pushButton_fans 607 | pushButton_dynamic 608 | pushButton_attention 609 | labelline_2 610 | labelline_3 611 | label_my_menber 612 | label_my_member 613 | label_my_member_time 614 | label_L_1 615 | pushButton_mymember 616 | label_my_dengji 617 | label_my_dengji_1 618 | label_L_2 619 | label_my_dengji_2 620 | pushButton_dengji 621 | label_my_shop 622 | label_my_shop2 623 | label_L_3 624 | pushButton_shop 625 | label_L_4 626 | label_my_setup2 627 | label_my_setup 628 | pushButton_person_infor 629 | label_my_bend 630 | label_my_bend2 631 | label_L_5 632 | label_my_bend_3 633 | label_my_bend_4 634 | pushButton_bend 635 | label_my_off 636 | label_my_off2 637 | pushButton_off 638 | 639 | 640 | 641 | 642 | -------------------------------------------------------------------------------- /MCloudMusic/picturewallform.cpp: -------------------------------------------------------------------------------- 1 | #include "picturewallform.h" 2 | #include "ui_picturewallform.h" 3 | 4 | 5 | 6 | int static picture_index = 2; //当前图片索引值 7 | PictureWallForm::PictureWallForm(QWidget *parent) : 8 | QWidget(parent), 9 | ui(new Ui::PictureWallForm) 10 | { 11 | ui->setupUi(this); 12 | 13 | QString qss_1 = QString("QLabel{border-image:url(./images/picturewall/00%1.png);}").arg(picture_index); 14 | QString qss_2 = QString("QLabel{border-image:url(./images/picturewall/00%1.png);}").arg(picture_index-1); 15 | QString qss_3 = QString("QLabel{border-image:url(./images/picturewall/00%1.png);}").arg(picture_index+1); 16 | 17 | ui->label_main->setStyleSheet(qss_1); 18 | ui->label_main_l->setStyleSheet(qss_2); 19 | ui->label_main_r->setStyleSheet(qss_3); 20 | 21 | } 22 | 23 | PictureWallForm::~PictureWallForm() 24 | { 25 | delete ui; 26 | } 27 | 28 | void PictureWallForm::on_pushButton_plus_clicked() 29 | { 30 | picture_index++; 31 | if(picture_index==8) 32 | { 33 | QString qss_1 = QString("QLabel{border-image:url(./images/picturewall/00%1.png);}").arg(picture_index); 34 | QString qss_2 = QString("QLabel{border-image:url(./images/picturewall/00%1.png);}").arg(picture_index-1); 35 | QString qss_3 = QString("QLabel{border-image:url(./images/picturewall/00%1.png);}").arg("1"); 36 | ui->label_main->setStyleSheet(qss_1); 37 | ui->label_main_l->setStyleSheet(qss_2); 38 | ui->label_main_r->setStyleSheet(qss_3); 39 | picture_index = 0; 40 | } 41 | else 42 | { 43 | QString qss_1 = QString("QLabel{border-image:url(./images/picturewall/00%1.png);}").arg(picture_index); 44 | QString qss_2 = QString("QLabel{border-image:url(./images/picturewall/00%1.png);}").arg(picture_index-1); 45 | QString qss_3 = QString("QLabel{border-image:url(./images/picturewall/00%1.png);}").arg(picture_index+1); 46 | ui->label_main->setStyleSheet(qss_1); 47 | ui->label_main_l->setStyleSheet(qss_2); 48 | ui->label_main_r->setStyleSheet(qss_3); 49 | } 50 | 51 | } 52 | 53 | void PictureWallForm::on_pushButton_subtract_clicked() 54 | { 55 | picture_index--; 56 | 57 | if(picture_index==1) 58 | { 59 | QString qss_1 = QString("QLabel{border-image:url(./images/picturewall/00%1.png);}").arg(picture_index); 60 | QString qss_2 = QString("QLabel{border-image:url(./images/picturewall/00%1.png);}").arg("8"); 61 | QString qss_3 = QString("QLabel{border-image:url(./images/picturewall/00%1.png);}").arg(picture_index+1); 62 | ui->label_main->setStyleSheet(qss_1); 63 | ui->label_main_l->setStyleSheet(qss_2); 64 | ui->label_main_r->setStyleSheet(qss_3); 65 | picture_index = 8; 66 | } 67 | else 68 | { 69 | QString qss_1 = QString("QLabel{border-image:url(./images/picturewall/00%1.png);}").arg(picture_index); 70 | QString qss_2 = QString("QLabel{border-image:url(./images/picturewall/00%1.png);}").arg(picture_index-1); 71 | QString qss_3 = QString("QLabel{border-image:url(./images/picturewall/00%1.png);}").arg(picture_index+1); 72 | ui->label_main->setStyleSheet(qss_1); 73 | ui->label_main_l->setStyleSheet(qss_2); 74 | ui->label_main_r->setStyleSheet(qss_3); 75 | } 76 | } 77 | -------------------------------------------------------------------------------- /MCloudMusic/picturewallform.h: -------------------------------------------------------------------------------- 1 | #ifndef PICTUREWALLFORM_H 2 | #define PICTUREWALLFORM_H 3 | 4 | #include 5 | 6 | namespace Ui { 7 | class PictureWallForm; 8 | } 9 | 10 | class PictureWallForm : public QWidget 11 | { 12 | Q_OBJECT 13 | 14 | public: 15 | explicit PictureWallForm(QWidget *parent = 0); 16 | ~PictureWallForm(); 17 | 18 | private slots: 19 | void on_pushButton_plus_clicked(); 20 | 21 | void on_pushButton_subtract_clicked(); 22 | 23 | private: 24 | Ui::PictureWallForm *ui; 25 | }; 26 | 27 | #endif // PICTUREWALLFORM_H 28 | -------------------------------------------------------------------------------- /MCloudMusic/picturewallform.ui: -------------------------------------------------------------------------------- 1 | 2 | 3 | PictureWallForm 4 | 5 | 6 | 7 | 0 8 | 0 9 | 776 10 | 220 11 | 12 | 13 | 14 | Form 15 | 16 | 17 | 18 | 19 | 118 20 | 10 21 | 540 22 | 200 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 236 33 | 20 34 | 540 35 | 180 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 0 46 | 20 47 | 540 48 | 180 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 20 59 | 60 60 | 80 61 | 81 62 | 63 | 64 | 65 | << 66 | 67 | 68 | 69 | 70 | 71 | 690 72 | 60 73 | 80 74 | 81 75 | 76 | 77 | 78 | >> 79 | 80 | 81 | label_main_r 82 | label_main_l 83 | label_main 84 | pushButton_subtract 85 | pushButton_plus 86 | 87 | 88 | 89 | 90 | -------------------------------------------------------------------------------- /MCloudMusic/playlistform.cpp: -------------------------------------------------------------------------------- 1 | #include "playlistform.h" 2 | #include "ui_playlistform.h" 3 | 4 | 5 | 6 | 7 | PlayListForm::PlayListForm(QWidget *parent) : 8 | QWidget(parent), 9 | ui(new Ui::PlayListForm) 10 | { 11 | ui->setupUi(this); 12 | ui->tabWidget->setTabText(0,"播放列表"); 13 | ui->tabWidget->setTabText(1,"历史记录"); 14 | ui->pushButton_PL_shoucang->setIcon(QIcon("./images/btn_shoucang_n.png")); 15 | ui->pushButton_PL_delete->setIcon(QIcon("./images/btn_delete_n.png")); 16 | ui->pushButton_PL_delete_2->setIcon(QIcon("./images/btn_delete_n.png")); 17 | QHeaderView *headview = ui->tableWidget_playlist->verticalHeader(); //隐藏列 18 | headview->setHidden(true); 19 | headview = ui->tableWidget_playlist->horizontalHeader(); //隐藏行 20 | headview->setHidden(true); 21 | ui->tableWidget_playlist->setSelectionBehavior(QAbstractItemView::SelectRows); //选中整行 22 | ui->tableWidget_playlist->setSelectionMode(QAbstractItemView::SingleSelection); //单行模式 23 | ui->tableWidget_playlist->setColumnCount(4); 24 | ui->tableWidget_playlist->setRowCount(20); 25 | ui->tableWidget_playlist->setShowGrid(false); 26 | ui->tableWidget_playlist->setStyleSheet("QTableWidget{border-top:0px solid #e8f3f9;background:transparent;alternate-background-color:red;selection-background-color:#3b3d41;}" 27 | "QTableWidget::Item:selected:active{background:#00FFFFFF;color:#FFFFFF;border-width:0;}"); 28 | ui->tableWidget_playlist->horizontalHeader()->resizeSection(0,417); 29 | ui->tableWidget_playlist->horizontalHeader()->resizeSection(1,50); 30 | ui->tableWidget_playlist->horizontalHeader()->resizeSection(2,50); 31 | ui->tableWidget_playlist->horizontalHeader()->resizeSection(3,50); 32 | 33 | headview = ui->tableWidget_historylist->verticalHeader(); //隐藏列 34 | headview->setHidden(true); 35 | headview = ui->tableWidget_historylist->horizontalHeader(); //隐藏行 36 | headview->setHidden(true); 37 | ui->tableWidget_historylist->setSelectionBehavior(QAbstractItemView::SelectRows); //选中整行 38 | ui->tableWidget_historylist->setSelectionMode(QAbstractItemView::SingleSelection); //单行模式 39 | ui->tableWidget_historylist->setColumnCount(4); 40 | ui->tableWidget_historylist->setRowCount(20); 41 | ui->tableWidget_historylist->setShowGrid(false); 42 | ui->tableWidget_historylist->setStyleSheet("QTableWidget{border-top:0px solid #e8f3f9;background:transparent;alternate-background-color:red;selection-background-color:#3b3d41;}" 43 | "QTableWidget::Item:selected:active{background:#00FFFFFF;color:#FFFFFF;border-width:0;}"); 44 | ui->tableWidget_historylist->horizontalHeader()->resizeSection(0,417); 45 | ui->tableWidget_historylist->horizontalHeader()->resizeSection(1,50); 46 | ui->tableWidget_historylist->horizontalHeader()->resizeSection(2,50); 47 | ui->tableWidget_historylist->horizontalHeader()->resizeSection(3,50); 48 | 49 | 50 | 51 | QPalette pal = ui->tableWidget_playlist->palette(); 52 | pal.setBrush(QPalette::Base,QBrush(QColor(255,255,255,0))); 53 | ui->tableWidget_playlist->setPalette( pal ); 54 | QStringList headers; 55 | headers<<"name"<<"singer"<<"from"<<"time"; 56 | 57 | //测试数据 58 | QTableWidgetItem *item = new QTableWidgetItem(QIcon("./images/icon_play.png"),"爱的就是你"); 59 | ui->tableWidget_playlist->setItem(0,0,item); 60 | item->setTextColor(QColor(255,255,255)); 61 | QTableWidgetItem *item1 = new QTableWidgetItem("刘佳"); 62 | item1->setTextColor(QColor(95,95,99)); 63 | ui->tableWidget_playlist->setItem(0,1,item1); 64 | QTableWidgetItem *item2 = new QTableWidgetItem("来源"); 65 | item2->setTextColor(QColor(95,95,99)); 66 | ui->tableWidget_playlist->setItem(0,2,item2); 67 | QTableWidgetItem *item3 = new QTableWidgetItem("04:31"); 68 | item3->setTextColor(QColor(95,95,99)); 69 | ui->tableWidget_playlist->setItem(0,3,item3); 70 | for(int i=1;i<20;i++) 71 | { 72 | QTableWidgetItem *item = new QTableWidgetItem(QIcon("./images/zanweifu.png"),"爱的就是你"); 73 | item->setTextColor(QColor(255,255,255)); 74 | ui->tableWidget_playlist->setItem(i,0,item); 75 | QTableWidgetItem *item1 = new QTableWidgetItem("刘佳"); 76 | item1->setTextColor(QColor(95,95,99)); 77 | ui->tableWidget_playlist->setItem(i,1,item1); 78 | QTableWidgetItem *item2 = new QTableWidgetItem("来源"); 79 | item2->setTextColor(QColor(95,95,99)); 80 | ui->tableWidget_playlist->setItem(i,2,item2); 81 | QTableWidgetItem *item3 = new QTableWidgetItem("04:31"); 82 | item3->setTextColor(QColor(95,95,99)); 83 | ui->tableWidget_playlist->setItem(i,3,item3); 84 | } 85 | 86 | //测试数据 87 | QTableWidgetItem *item11 = new QTableWidgetItem(QIcon("./images/icon_play.png"),"爱的就是你"); 88 | ui->tableWidget_historylist->setItem(0,0,item11); 89 | item11->setTextColor(QColor(255,255,255)); 90 | QTableWidgetItem *item12 = new QTableWidgetItem("刘佳"); 91 | item12->setTextColor(QColor(95,95,99)); 92 | ui->tableWidget_historylist->setItem(0,1,item12); 93 | QTableWidgetItem *item13 = new QTableWidgetItem("来源"); 94 | item13->setTextColor(QColor(95,95,99)); 95 | ui->tableWidget_historylist->setItem(0,2,item13); 96 | QTableWidgetItem *item14 = new QTableWidgetItem("04:31"); 97 | item14->setTextColor(QColor(95,95,99)); 98 | ui->tableWidget_historylist->setItem(0,3,item14); 99 | for(int i=1;i<20;i++) 100 | { 101 | QTableWidgetItem *item11 = new QTableWidgetItem(QIcon("./images/zanweifu.png"),"爱的就是你"); 102 | item11->setTextColor(QColor(255,255,255)); 103 | ui->tableWidget_historylist->setItem(i,0,item11); 104 | QTableWidgetItem *item12 = new QTableWidgetItem("刘佳"); 105 | item12->setTextColor(QColor(95,95,99)); 106 | ui->tableWidget_historylist->setItem(i,1,item12); 107 | QTableWidgetItem *item13 = new QTableWidgetItem("来源"); 108 | item13->setTextColor(QColor(95,95,99)); 109 | ui->tableWidget_historylist->setItem(i,2,item13); 110 | QTableWidgetItem *item14 = new QTableWidgetItem("04:31"); 111 | item14->setTextColor(QColor(95,95,99)); 112 | ui->tableWidget_historylist->setItem(i,3,item14); 113 | } 114 | 115 | 116 | } 117 | 118 | PlayListForm::~PlayListForm() 119 | { 120 | delete ui; 121 | } 122 | 123 | void PlayListForm::paintEvent(QPaintEvent *event) 124 | { 125 | Q_UNUSED(event); 126 | QPainter painter_mainback(this); 127 | painter_mainback.setPen(Qt::NoPen); 128 | painter_mainback.setBrush(QColor(40,42,46)); 129 | painter_mainback.drawRect(0,0,this->width(),this->height()); 130 | 131 | } 132 | 133 | void PlayListForm::on_pushButton_close_clicked() 134 | { 135 | this->close(); 136 | } 137 | /* 138 | * 播放列表收藏全部按钮 139 | */ 140 | void PlayListForm::on_pushButton_PL_shoucang_clicked() 141 | { 142 | 143 | } 144 | /* 145 | * 播放列表情况按钮 146 | */ 147 | void PlayListForm::on_pushButton_PL_delete_clicked() 148 | { 149 | 150 | } 151 | /* 152 | * 历史记录列表清除按钮 153 | */ 154 | void PlayListForm::on_pushButton_PL_delete_2_clicked() 155 | { 156 | 157 | } 158 | -------------------------------------------------------------------------------- /MCloudMusic/playlistform.h: -------------------------------------------------------------------------------- 1 | #ifndef PLAYLISTFORM_H 2 | #define PLAYLISTFORM_H 3 | 4 | #include 5 | #include 6 | #include 7 | #include 8 | 9 | namespace Ui { 10 | class PlayListForm; 11 | } 12 | 13 | class PlayListForm : public QWidget 14 | { 15 | Q_OBJECT 16 | 17 | public: 18 | explicit PlayListForm(QWidget *parent = 0); 19 | ~PlayListForm(); 20 | 21 | protected: 22 | void paintEvent(QPaintEvent* event); 23 | 24 | private slots: 25 | void on_pushButton_close_clicked(); 26 | 27 | void on_pushButton_PL_shoucang_clicked(); 28 | 29 | void on_pushButton_PL_delete_clicked(); 30 | 31 | void on_pushButton_PL_delete_2_clicked(); 32 | 33 | private: 34 | Ui::PlayListForm *ui; 35 | }; 36 | 37 | #endif // PLAYLISTFORM_H 38 | -------------------------------------------------------------------------------- /MCloudMusic/playlistform.ui: -------------------------------------------------------------------------------- 1 | 2 | 3 | PlayListForm 4 | 5 | 6 | 7 | 0 8 | 0 9 | 568 10 | 472 11 | 12 | 13 | 14 | Form 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 550 23 | 10 24 | 16 25 | 15 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 0 36 | 10 37 | 571 38 | 471 39 | 40 | 41 | 42 | 0 43 | 44 | 45 | 46 | Tab 1 47 | 48 | 49 | 50 | 51 | 0 52 | 0 53 | 567 54 | 30 55 | 56 | 57 | 58 | background-color: rgb(45, 47, 51); 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 20 68 | 6 69 | 61 70 | 16 71 | 72 | 73 | 74 | color: rgb(130, 131, 133); 75 | 76 | 77 | 总100首 78 | 79 | 80 | 81 | 82 | 83 | 410 84 | 5 85 | 80 86 | 20 87 | 88 | 89 | 90 | 收藏全部 91 | 92 | 93 | 94 | 95 | 96 | 509 97 | 5 98 | 61 99 | 20 100 | 101 | 102 | 103 | 清空 104 | 105 | 106 | 107 | 108 | 109 | 498 110 | 5 111 | 16 112 | 16 113 | 114 | 115 | 116 | color: rgb(130, 131, 133); 117 | 118 | 119 | | 120 | 121 | 122 | 123 | 124 | 125 | 0 126 | 30 127 | 567 128 | 411 129 | 130 | 131 | 132 | 133 | 134 | 135 | Tab 2 136 | 137 | 138 | 139 | 140 | 0 141 | 0 142 | 567 143 | 30 144 | 145 | 146 | 147 | background-color: rgb(45, 47, 51); 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 509 157 | 5 158 | 61 159 | 20 160 | 161 | 162 | 163 | 清空 164 | 165 | 166 | 167 | 168 | 169 | 20 170 | 6 171 | 61 172 | 16 173 | 174 | 175 | 176 | color: rgb(130, 131, 133); 177 | 178 | 179 | 总100首 180 | 181 | 182 | 183 | 184 | 185 | 0 186 | 30 187 | 567 188 | 411 189 | 190 | 191 | 192 | 193 | 194 | tabWidget 195 | pushButton_close 196 | 197 | 198 | 199 | 200 | -------------------------------------------------------------------------------- /MCloudMusic/resource.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | images/mainback.png 4 | images/title_logo.png 5 | 6 | 7 | -------------------------------------------------------------------------------- /MCloudMusic/ui_mainwindow.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************** 2 | ** Form generated from reading UI file 'mainwindow.ui' 3 | ** 4 | ** Created by: Qt User Interface Compiler version 5.10.0 5 | ** 6 | ** WARNING! All changes made in this file will be lost when recompiling UI file! 7 | ********************************************************************************/ 8 | 9 | #ifndef UI_MAINWINDOW_H 10 | #define UI_MAINWINDOW_H 11 | 12 | #include 13 | #include 14 | #include 15 | #include 16 | #include 17 | #include 18 | #include 19 | #include 20 | #include 21 | #include 22 | #include 23 | #include 24 | 25 | QT_BEGIN_NAMESPACE 26 | 27 | class Ui_MainWindow 28 | { 29 | public: 30 | QLabel *label_title_back; 31 | QPushButton *pushButton_close; 32 | QPushButton *pushButton_max; 33 | QPushButton *pushButton_min; 34 | QPushButton *pushButton_mini; 35 | QLabel *label_title_logo; 36 | QLabel *label_shuxian; 37 | QPushButton *pushButton_set; 38 | QPushButton *pushButton_message; 39 | QPushButton *pushButton_skin; 40 | QLabel *label_message_Tip; 41 | QPushButton *pushButton_people; 42 | QLabel *label_people; 43 | QPushButton *pushButton_people_1; 44 | QPushButton *pushButton_title_left; 45 | QPushButton *pushButton_title_right; 46 | QLineEdit *lineEdit_title_input; 47 | QPushButton *pushButton_search; 48 | QLabel *label_input_back; 49 | QLabel *label_bottom_back; 50 | QPushButton *pushButton_play; 51 | QPushButton *pushButton_next; 52 | QPushButton *pushButton_last; 53 | QLabel *label_time; 54 | QSlider *horizontalSlider_music; 55 | QLabel *label_time_long; 56 | QPushButton *pushButton_horn; 57 | QSlider *horizontalSlider_sound; 58 | QPushButton *pushButton_circulation; 59 | QPushButton *pushButton_lyric; 60 | QPushButton *pushButton_list; 61 | QLabel *label_sound_count; 62 | QLabel *label_part; 63 | QWidget *widget_list; 64 | QListWidget *listWidget_mymusic; 65 | QLabel *label_text_mymusic; 66 | QLabel *label_text_recommend; 67 | QListWidget *listWidget; 68 | QWidget *widget_Create_form; 69 | QPushButton *pushButton_unfold; 70 | QLabel *label_text_create_music_list; 71 | QPushButton *pushButton_add; 72 | QWidget *widget_Collect_form; 73 | QPushButton *pushButton_unfold_collect; 74 | QLabel *label_text_create_music_list_collect; 75 | QTabWidget *tabWidget_main; 76 | QWidget *tab_tuijian; 77 | QLabel *label; 78 | QWidget *tab_gedan; 79 | QLabel *label_2; 80 | QWidget *tab_zhubodiantai; 81 | QLabel *label_3; 82 | QWidget *tab_paihangbang; 83 | QLabel *label_4; 84 | QWidget *tab_geshou; 85 | QLabel *label_5; 86 | QWidget *tab_zuixinyinyue; 87 | QLabel *label_6; 88 | QLabel *label_line; 89 | 90 | void setupUi(QWidget *MainWindow) 91 | { 92 | if (MainWindow->objectName().isEmpty()) 93 | MainWindow->setObjectName(QStringLiteral("MainWindow")); 94 | MainWindow->resize(1022, 670); 95 | label_title_back = new QLabel(MainWindow); 96 | label_title_back->setObjectName(QStringLiteral("label_title_back")); 97 | label_title_back->setGeometry(QRect(0, 0, 1022, 50)); 98 | pushButton_close = new QPushButton(MainWindow); 99 | pushButton_close->setObjectName(QStringLiteral("pushButton_close")); 100 | pushButton_close->setGeometry(QRect(991, 17, 16, 15)); 101 | pushButton_max = new QPushButton(MainWindow); 102 | pushButton_max->setObjectName(QStringLiteral("pushButton_max")); 103 | pushButton_max->setGeometry(QRect(968, 17, 16, 15)); 104 | pushButton_min = new QPushButton(MainWindow); 105 | pushButton_min->setObjectName(QStringLiteral("pushButton_min")); 106 | pushButton_min->setGeometry(QRect(943, 17, 16, 15)); 107 | pushButton_mini = new QPushButton(MainWindow); 108 | pushButton_mini->setObjectName(QStringLiteral("pushButton_mini")); 109 | pushButton_mini->setGeometry(QRect(922, 17, 16, 15)); 110 | label_title_logo = new QLabel(MainWindow); 111 | label_title_logo->setObjectName(QStringLiteral("label_title_logo")); 112 | label_title_logo->setGeometry(QRect(10, 10, 128, 30)); 113 | label_shuxian = new QLabel(MainWindow); 114 | label_shuxian->setObjectName(QStringLiteral("label_shuxian")); 115 | label_shuxian->setGeometry(QRect(907, 17, 16, 17)); 116 | label_shuxian->setStyleSheet(QStringLiteral("color: rgb(56, 56, 56);")); 117 | pushButton_set = new QPushButton(MainWindow); 118 | pushButton_set->setObjectName(QStringLiteral("pushButton_set")); 119 | pushButton_set->setGeometry(QRect(872, 17, 16, 15)); 120 | pushButton_message = new QPushButton(MainWindow); 121 | pushButton_message->setObjectName(QStringLiteral("pushButton_message")); 122 | pushButton_message->setGeometry(QRect(829, 17, 18, 18)); 123 | pushButton_skin = new QPushButton(MainWindow); 124 | pushButton_skin->setObjectName(QStringLiteral("pushButton_skin")); 125 | pushButton_skin->setGeometry(QRect(788, 17, 18, 18)); 126 | label_message_Tip = new QLabel(MainWindow); 127 | label_message_Tip->setObjectName(QStringLiteral("label_message_Tip")); 128 | label_message_Tip->setGeometry(QRect(840, 10, 20, 15)); 129 | label_message_Tip->setStyleSheet(QStringLiteral("")); 130 | pushButton_people = new QPushButton(MainWindow); 131 | pushButton_people->setObjectName(QStringLiteral("pushButton_people")); 132 | pushButton_people->setGeometry(QRect(696, 18, 70, 16)); 133 | label_people = new QLabel(MainWindow); 134 | label_people->setObjectName(QStringLiteral("label_people")); 135 | label_people->setGeometry(QRect(696, 18, 53, 16)); 136 | pushButton_people_1 = new QPushButton(MainWindow); 137 | pushButton_people_1->setObjectName(QStringLiteral("pushButton_people_1")); 138 | pushButton_people_1->setGeometry(QRect(667, 12, 25, 25)); 139 | pushButton_title_left = new QPushButton(MainWindow); 140 | pushButton_title_left->setObjectName(QStringLiteral("pushButton_title_left")); 141 | pushButton_title_left->setGeometry(QRect(192, 14, 27, 22)); 142 | pushButton_title_right = new QPushButton(MainWindow); 143 | pushButton_title_right->setObjectName(QStringLiteral("pushButton_title_right")); 144 | pushButton_title_right->setGeometry(QRect(218, 14, 27, 22)); 145 | lineEdit_title_input = new QLineEdit(MainWindow); 146 | lineEdit_title_input->setObjectName(QStringLiteral("lineEdit_title_input")); 147 | lineEdit_title_input->setGeometry(QRect(255, 14, 200, 22)); 148 | pushButton_search = new QPushButton(MainWindow); 149 | pushButton_search->setObjectName(QStringLiteral("pushButton_search")); 150 | pushButton_search->setGeometry(QRect(452, 16, 20, 20)); 151 | label_input_back = new QLabel(MainWindow); 152 | label_input_back->setObjectName(QStringLiteral("label_input_back")); 153 | label_input_back->setGeometry(QRect(255, 14, 220, 22)); 154 | label_bottom_back = new QLabel(MainWindow); 155 | label_bottom_back->setObjectName(QStringLiteral("label_bottom_back")); 156 | label_bottom_back->setGeometry(QRect(0, 620, 1022, 50)); 157 | pushButton_play = new QPushButton(MainWindow); 158 | pushButton_play->setObjectName(QStringLiteral("pushButton_play")); 159 | pushButton_play->setGeometry(QRect(83, 628, 34, 34)); 160 | pushButton_next = new QPushButton(MainWindow); 161 | pushButton_next->setObjectName(QStringLiteral("pushButton_next")); 162 | pushButton_next->setGeometry(QRect(141, 630, 30, 30)); 163 | pushButton_last = new QPushButton(MainWindow); 164 | pushButton_last->setObjectName(QStringLiteral("pushButton_last")); 165 | pushButton_last->setGeometry(QRect(29, 630, 30, 30)); 166 | label_time = new QLabel(MainWindow); 167 | label_time->setObjectName(QStringLiteral("label_time")); 168 | label_time->setGeometry(QRect(203, 640, 40, 16)); 169 | QFont font; 170 | font.setPointSize(10); 171 | label_time->setFont(font); 172 | horizontalSlider_music = new QSlider(MainWindow); 173 | horizontalSlider_music->setObjectName(QStringLiteral("horizontalSlider_music")); 174 | horizontalSlider_music->setGeometry(QRect(248, 640, 437, 17)); 175 | horizontalSlider_music->setOrientation(Qt::Horizontal); 176 | label_time_long = new QLabel(MainWindow); 177 | label_time_long->setObjectName(QStringLiteral("label_time_long")); 178 | label_time_long->setGeometry(QRect(693, 640, 40, 16)); 179 | label_time_long->setFont(font); 180 | pushButton_horn = new QPushButton(MainWindow); 181 | pushButton_horn->setObjectName(QStringLiteral("pushButton_horn")); 182 | pushButton_horn->setGeometry(QRect(748, 639, 20, 20)); 183 | horizontalSlider_sound = new QSlider(MainWindow); 184 | horizontalSlider_sound->setObjectName(QStringLiteral("horizontalSlider_sound")); 185 | horizontalSlider_sound->setGeometry(QRect(770, 646, 100, 5)); 186 | horizontalSlider_sound->setOrientation(Qt::Horizontal); 187 | pushButton_circulation = new QPushButton(MainWindow); 188 | pushButton_circulation->setObjectName(QStringLiteral("pushButton_circulation")); 189 | pushButton_circulation->setGeometry(QRect(890, 639, 20, 20)); 190 | pushButton_lyric = new QPushButton(MainWindow); 191 | pushButton_lyric->setObjectName(QStringLiteral("pushButton_lyric")); 192 | pushButton_lyric->setGeometry(QRect(926, 639, 20, 20)); 193 | pushButton_list = new QPushButton(MainWindow); 194 | pushButton_list->setObjectName(QStringLiteral("pushButton_list")); 195 | pushButton_list->setGeometry(QRect(959, 638, 20, 20)); 196 | label_sound_count = new QLabel(MainWindow); 197 | label_sound_count->setObjectName(QStringLiteral("label_sound_count")); 198 | label_sound_count->setGeometry(QRect(970, 638, 40, 20)); 199 | label_sound_count->setStyleSheet(QStringLiteral("")); 200 | label_sound_count->setAlignment(Qt::AlignCenter); 201 | label_part = new QLabel(MainWindow); 202 | label_part->setObjectName(QStringLiteral("label_part")); 203 | label_part->setGeometry(QRect(200, 50, 1, 570)); 204 | widget_list = new QWidget(MainWindow); 205 | widget_list->setObjectName(QStringLiteral("widget_list")); 206 | widget_list->setGeometry(QRect(0, 50, 200, 401)); 207 | listWidget_mymusic = new QListWidget(widget_list); 208 | listWidget_mymusic->setObjectName(QStringLiteral("listWidget_mymusic")); 209 | listWidget_mymusic->setGeometry(QRect(0, 180, 200, 150)); 210 | label_text_mymusic = new QLabel(widget_list); 211 | label_text_mymusic->setObjectName(QStringLiteral("label_text_mymusic")); 212 | label_text_mymusic->setGeometry(QRect(0, 150, 200, 30)); 213 | label_text_mymusic->setFont(font); 214 | label_text_recommend = new QLabel(widget_list); 215 | label_text_recommend->setObjectName(QStringLiteral("label_text_recommend")); 216 | label_text_recommend->setGeometry(QRect(0, 0, 200, 30)); 217 | label_text_recommend->setFont(font); 218 | listWidget = new QListWidget(widget_list); 219 | listWidget->setObjectName(QStringLiteral("listWidget")); 220 | listWidget->setGeometry(QRect(0, 30, 200, 120)); 221 | widget_Create_form = new QWidget(widget_list); 222 | widget_Create_form->setObjectName(QStringLiteral("widget_Create_form")); 223 | widget_Create_form->setGeometry(QRect(0, 330, 200, 30)); 224 | pushButton_unfold = new QPushButton(widget_Create_form); 225 | pushButton_unfold->setObjectName(QStringLiteral("pushButton_unfold")); 226 | pushButton_unfold->setGeometry(QRect(170, 10, 16, 16)); 227 | label_text_create_music_list = new QLabel(widget_Create_form); 228 | label_text_create_music_list->setObjectName(QStringLiteral("label_text_create_music_list")); 229 | label_text_create_music_list->setGeometry(QRect(0, 3, 200, 30)); 230 | label_text_create_music_list->setFont(font); 231 | pushButton_add = new QPushButton(widget_Create_form); 232 | pushButton_add->setObjectName(QStringLiteral("pushButton_add")); 233 | pushButton_add->setGeometry(QRect(140, 8, 20, 20)); 234 | label_text_create_music_list->raise(); 235 | pushButton_add->raise(); 236 | pushButton_unfold->raise(); 237 | widget_Collect_form = new QWidget(widget_list); 238 | widget_Collect_form->setObjectName(QStringLiteral("widget_Collect_form")); 239 | widget_Collect_form->setGeometry(QRect(0, 370, 200, 30)); 240 | widget_Collect_form->setStyleSheet(QStringLiteral("")); 241 | pushButton_unfold_collect = new QPushButton(widget_Collect_form); 242 | pushButton_unfold_collect->setObjectName(QStringLiteral("pushButton_unfold_collect")); 243 | pushButton_unfold_collect->setGeometry(QRect(170, 10, 16, 16)); 244 | label_text_create_music_list_collect = new QLabel(widget_Collect_form); 245 | label_text_create_music_list_collect->setObjectName(QStringLiteral("label_text_create_music_list_collect")); 246 | label_text_create_music_list_collect->setGeometry(QRect(0, 3, 200, 30)); 247 | label_text_create_music_list_collect->setFont(font); 248 | label_text_create_music_list_collect->raise(); 249 | pushButton_unfold_collect->raise(); 250 | tabWidget_main = new QTabWidget(MainWindow); 251 | tabWidget_main->setObjectName(QStringLiteral("tabWidget_main")); 252 | tabWidget_main->setGeometry(QRect(200, 60, 822, 561)); 253 | tabWidget_main->setStyleSheet(QStringLiteral("")); 254 | tab_tuijian = new QWidget(); 255 | tab_tuijian->setObjectName(QStringLiteral("tab_tuijian")); 256 | label = new QLabel(tab_tuijian); 257 | label->setObjectName(QStringLiteral("label")); 258 | label->setGeometry(QRect(230, 160, 261, 181)); 259 | QFont font1; 260 | font1.setPointSize(30); 261 | label->setFont(font1); 262 | tabWidget_main->addTab(tab_tuijian, QString()); 263 | tab_gedan = new QWidget(); 264 | tab_gedan->setObjectName(QStringLiteral("tab_gedan")); 265 | label_2 = new QLabel(tab_gedan); 266 | label_2->setObjectName(QStringLiteral("label_2")); 267 | label_2->setGeometry(QRect(120, 120, 401, 241)); 268 | label_2->setFont(font1); 269 | tabWidget_main->addTab(tab_gedan, QString()); 270 | tab_zhubodiantai = new QWidget(); 271 | tab_zhubodiantai->setObjectName(QStringLiteral("tab_zhubodiantai")); 272 | label_3 = new QLabel(tab_zhubodiantai); 273 | label_3->setObjectName(QStringLiteral("label_3")); 274 | label_3->setGeometry(QRect(130, 260, 341, 131)); 275 | label_3->setFont(font1); 276 | tabWidget_main->addTab(tab_zhubodiantai, QString()); 277 | tab_paihangbang = new QWidget(); 278 | tab_paihangbang->setObjectName(QStringLiteral("tab_paihangbang")); 279 | label_4 = new QLabel(tab_paihangbang); 280 | label_4->setObjectName(QStringLiteral("label_4")); 281 | label_4->setGeometry(QRect(240, 220, 221, 111)); 282 | label_4->setFont(font1); 283 | tabWidget_main->addTab(tab_paihangbang, QString()); 284 | tab_geshou = new QWidget(); 285 | tab_geshou->setObjectName(QStringLiteral("tab_geshou")); 286 | label_5 = new QLabel(tab_geshou); 287 | label_5->setObjectName(QStringLiteral("label_5")); 288 | label_5->setGeometry(QRect(110, 170, 361, 171)); 289 | label_5->setFont(font1); 290 | tabWidget_main->addTab(tab_geshou, QString()); 291 | tab_zuixinyinyue = new QWidget(); 292 | tab_zuixinyinyue->setObjectName(QStringLiteral("tab_zuixinyinyue")); 293 | label_6 = new QLabel(tab_zuixinyinyue); 294 | label_6->setObjectName(QStringLiteral("label_6")); 295 | label_6->setGeometry(QRect(300, 240, 251, 81)); 296 | label_6->setFont(font1); 297 | tabWidget_main->addTab(tab_zuixinyinyue, QString()); 298 | label_line = new QLabel(MainWindow); 299 | label_line->setObjectName(QStringLiteral("label_line")); 300 | label_line->setGeometry(QRect(223, 82, 776, 2)); 301 | label_line->setStyleSheet(QStringLiteral("background-color: rgb(32, 34, 38);")); 302 | label_title_back->raise(); 303 | pushButton_close->raise(); 304 | pushButton_max->raise(); 305 | pushButton_min->raise(); 306 | pushButton_mini->raise(); 307 | label_title_logo->raise(); 308 | label_shuxian->raise(); 309 | pushButton_set->raise(); 310 | pushButton_message->raise(); 311 | pushButton_skin->raise(); 312 | label_message_Tip->raise(); 313 | label_people->raise(); 314 | pushButton_people->raise(); 315 | pushButton_people_1->raise(); 316 | pushButton_title_left->raise(); 317 | pushButton_title_right->raise(); 318 | label_input_back->raise(); 319 | lineEdit_title_input->raise(); 320 | pushButton_search->raise(); 321 | label_bottom_back->raise(); 322 | pushButton_play->raise(); 323 | pushButton_next->raise(); 324 | pushButton_last->raise(); 325 | label_time->raise(); 326 | horizontalSlider_music->raise(); 327 | label_time_long->raise(); 328 | pushButton_horn->raise(); 329 | horizontalSlider_sound->raise(); 330 | pushButton_circulation->raise(); 331 | pushButton_lyric->raise(); 332 | label_sound_count->raise(); 333 | pushButton_list->raise(); 334 | label_part->raise(); 335 | widget_list->raise(); 336 | label_line->raise(); 337 | tabWidget_main->raise(); 338 | 339 | retranslateUi(MainWindow); 340 | 341 | tabWidget_main->setCurrentIndex(0); 342 | 343 | 344 | QMetaObject::connectSlotsByName(MainWindow); 345 | } // setupUi 346 | 347 | void retranslateUi(QWidget *MainWindow) 348 | { 349 | MainWindow->setWindowTitle(QApplication::translate("MainWindow", "MainWindow", nullptr)); 350 | label_title_back->setText(QString()); 351 | pushButton_close->setText(QString()); 352 | pushButton_max->setText(QString()); 353 | pushButton_min->setText(QString()); 354 | pushButton_mini->setText(QString()); 355 | label_title_logo->setText(QString()); 356 | label_shuxian->setText(QApplication::translate("MainWindow", "|", nullptr)); 357 | pushButton_set->setText(QString()); 358 | pushButton_message->setText(QString()); 359 | pushButton_skin->setText(QString()); 360 | label_message_Tip->setText(QApplication::translate("MainWindow", "11", nullptr)); 361 | pushButton_people->setText(QString()); 362 | label_people->setText(QApplication::translate("MainWindow", "\346\242\246\346\203\263\345\260\221\345\271\264", nullptr)); 363 | pushButton_people_1->setText(QString()); 364 | pushButton_title_left->setText(QString()); 365 | pushButton_title_right->setText(QString()); 366 | pushButton_search->setText(QString()); 367 | label_input_back->setText(QString()); 368 | label_bottom_back->setText(QString()); 369 | pushButton_play->setText(QString()); 370 | pushButton_next->setText(QString()); 371 | pushButton_last->setText(QString()); 372 | label_time->setText(QApplication::translate("MainWindow", "00:00", nullptr)); 373 | label_time_long->setText(QApplication::translate("MainWindow", "00:00", nullptr)); 374 | pushButton_horn->setText(QString()); 375 | pushButton_circulation->setText(QString()); 376 | pushButton_lyric->setText(QString()); 377 | pushButton_list->setText(QString()); 378 | label_sound_count->setText(QApplication::translate("MainWindow", "111", nullptr)); 379 | label_part->setText(QString()); 380 | label_text_mymusic->setText(QApplication::translate("MainWindow", " \346\210\221\347\232\204\351\237\263\344\271\220", nullptr)); 381 | label_text_recommend->setText(QApplication::translate("MainWindow", " \346\216\250\350\215\220", nullptr)); 382 | pushButton_unfold->setText(QString()); 383 | label_text_create_music_list->setText(QApplication::translate("MainWindow", " \345\210\233\345\273\272\347\232\204\346\255\214\345\215\225", nullptr)); 384 | pushButton_add->setText(QString()); 385 | pushButton_unfold_collect->setText(QString()); 386 | label_text_create_music_list_collect->setText(QApplication::translate("MainWindow", " \346\224\266\350\227\217\347\232\204\346\255\214\345\215\225", nullptr)); 387 | label->setText(QApplication::translate("MainWindow", "\344\270\252\346\200\247\346\216\250\350\215\220", nullptr)); 388 | tabWidget_main->setTabText(tabWidget_main->indexOf(tab_tuijian), QApplication::translate("MainWindow", "Tab 1", nullptr)); 389 | label_2->setText(QApplication::translate("MainWindow", "\346\255\214\345\215\225", nullptr)); 390 | tabWidget_main->setTabText(tabWidget_main->indexOf(tab_gedan), QApplication::translate("MainWindow", "Tab 2", nullptr)); 391 | label_3->setText(QApplication::translate("MainWindow", "\344\270\273\346\222\255\347\224\265\345\217\260", nullptr)); 392 | tabWidget_main->setTabText(tabWidget_main->indexOf(tab_zhubodiantai), QApplication::translate("MainWindow", "\351\241\265", nullptr)); 393 | label_4->setText(QApplication::translate("MainWindow", "\346\216\222\350\241\214\346\246\234", nullptr)); 394 | tabWidget_main->setTabText(tabWidget_main->indexOf(tab_paihangbang), QApplication::translate("MainWindow", "\351\241\265", nullptr)); 395 | label_5->setText(QApplication::translate("MainWindow", "\346\255\214\346\211\213", nullptr)); 396 | tabWidget_main->setTabText(tabWidget_main->indexOf(tab_geshou), QApplication::translate("MainWindow", "\351\241\265", nullptr)); 397 | label_6->setText(QApplication::translate("MainWindow", "\346\234\200\346\226\260\351\237\263\344\271\220", nullptr)); 398 | tabWidget_main->setTabText(tabWidget_main->indexOf(tab_zuixinyinyue), QApplication::translate("MainWindow", "\351\241\265", nullptr)); 399 | label_line->setText(QString()); 400 | } // retranslateUi 401 | 402 | }; 403 | 404 | namespace Ui { 405 | class MainWindow: public Ui_MainWindow {}; 406 | } // namespace Ui 407 | 408 | QT_END_NAMESPACE 409 | 410 | #endif // UI_MAINWINDOW_H 411 | -------------------------------------------------------------------------------- /MCloudMusic/ui_messageform.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************** 2 | ** Form generated from reading UI file 'messageform.ui' 3 | ** 4 | ** Created by: Qt User Interface Compiler version 5.10.0 5 | ** 6 | ** WARNING! All changes made in this file will be lost when recompiling UI file! 7 | ********************************************************************************/ 8 | 9 | #ifndef UI_MESSAGEFORM_H 10 | #define UI_MESSAGEFORM_H 11 | 12 | #include 13 | #include 14 | #include 15 | #include 16 | #include 17 | #include 18 | #include 19 | #include 20 | #include 21 | 22 | QT_BEGIN_NAMESPACE 23 | 24 | class Ui_MessageForm 25 | { 26 | public: 27 | QTabWidget *tabWidget; 28 | QWidget *tab_atMy; 29 | QLabel *label; 30 | QWidget *tab_sixin; 31 | QListWidget *listWidget_sixin; 32 | QWidget *tab_pinglun; 33 | QWidget *tab_tongzhi; 34 | 35 | void setupUi(QWidget *MessageForm) 36 | { 37 | if (MessageForm->objectName().isEmpty()) 38 | MessageForm->setObjectName(QStringLiteral("MessageForm")); 39 | MessageForm->resize(350, 591); 40 | tabWidget = new QTabWidget(MessageForm); 41 | tabWidget->setObjectName(QStringLiteral("tabWidget")); 42 | tabWidget->setGeometry(QRect(0, 30, 350, 571)); 43 | tab_atMy = new QWidget(); 44 | tab_atMy->setObjectName(QStringLiteral("tab_atMy")); 45 | label = new QLabel(tab_atMy); 46 | label->setObjectName(QStringLiteral("label")); 47 | label->setGeometry(QRect(0, 80, 351, 31)); 48 | label->setAlignment(Qt::AlignCenter); 49 | tabWidget->addTab(tab_atMy, QString()); 50 | tab_sixin = new QWidget(); 51 | tab_sixin->setObjectName(QStringLiteral("tab_sixin")); 52 | listWidget_sixin = new QListWidget(tab_sixin); 53 | listWidget_sixin->setObjectName(QStringLiteral("listWidget_sixin")); 54 | listWidget_sixin->setGeometry(QRect(0, 0, 350, 571)); 55 | tabWidget->addTab(tab_sixin, QString()); 56 | tab_pinglun = new QWidget(); 57 | tab_pinglun->setObjectName(QStringLiteral("tab_pinglun")); 58 | tabWidget->addTab(tab_pinglun, QString()); 59 | tab_tongzhi = new QWidget(); 60 | tab_tongzhi->setObjectName(QStringLiteral("tab_tongzhi")); 61 | tabWidget->addTab(tab_tongzhi, QString()); 62 | 63 | retranslateUi(MessageForm); 64 | 65 | tabWidget->setCurrentIndex(1); 66 | 67 | 68 | QMetaObject::connectSlotsByName(MessageForm); 69 | } // setupUi 70 | 71 | void retranslateUi(QWidget *MessageForm) 72 | { 73 | MessageForm->setWindowTitle(QApplication::translate("MessageForm", "Form", nullptr)); 74 | label->setText(QApplication::translate("MessageForm", "\346\232\202\346\227\240@\346\210\221\347\232\204\345\206\205\345\256\271", nullptr)); 75 | tabWidget->setTabText(tabWidget->indexOf(tab_atMy), QApplication::translate("MessageForm", "Tab 1", nullptr)); 76 | tabWidget->setTabText(tabWidget->indexOf(tab_sixin), QApplication::translate("MessageForm", "Tab 2", nullptr)); 77 | tabWidget->setTabText(tabWidget->indexOf(tab_pinglun), QApplication::translate("MessageForm", "\351\241\265", nullptr)); 78 | tabWidget->setTabText(tabWidget->indexOf(tab_tongzhi), QApplication::translate("MessageForm", "\351\241\265", nullptr)); 79 | } // retranslateUi 80 | 81 | }; 82 | 83 | namespace Ui { 84 | class MessageForm: public Ui_MessageForm {}; 85 | } // namespace Ui 86 | 87 | QT_END_NAMESPACE 88 | 89 | #endif // UI_MESSAGEFORM_H 90 | -------------------------------------------------------------------------------- /MCloudMusic/ui_messageform_sixin_item.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************** 2 | ** Form generated from reading UI file 'messageform_sixin_item.ui' 3 | ** 4 | ** Created by: Qt User Interface Compiler version 5.10.0 5 | ** 6 | ** WARNING! All changes made in this file will be lost when recompiling UI file! 7 | ********************************************************************************/ 8 | 9 | #ifndef UI_MESSAGEFORM_SIXIN_ITEM_H 10 | #define UI_MESSAGEFORM_SIXIN_ITEM_H 11 | 12 | #include 13 | #include 14 | #include 15 | #include 16 | #include 17 | #include 18 | #include 19 | 20 | QT_BEGIN_NAMESPACE 21 | 22 | class Ui_MessageForm_SiXin_Item 23 | { 24 | public: 25 | QLabel *label_read_point; 26 | QLabel *label_sixin_name; 27 | QLabel *label_sixin_head; 28 | QLabel *label_sixin_name_2; 29 | QLabel *label_sixin_time; 30 | 31 | void setupUi(QWidget *MessageForm_SiXin_Item) 32 | { 33 | if (MessageForm_SiXin_Item->objectName().isEmpty()) 34 | MessageForm_SiXin_Item->setObjectName(QStringLiteral("MessageForm_SiXin_Item")); 35 | MessageForm_SiXin_Item->resize(350, 60); 36 | label_read_point = new QLabel(MessageForm_SiXin_Item); 37 | label_read_point->setObjectName(QStringLiteral("label_read_point")); 38 | label_read_point->setGeometry(QRect(10, 25, 10, 10)); 39 | label_read_point->setStyleSheet(QStringLiteral("background-color: rgb(170, 0, 0);")); 40 | label_sixin_name = new QLabel(MessageForm_SiXin_Item); 41 | label_sixin_name->setObjectName(QStringLiteral("label_sixin_name")); 42 | label_sixin_name->setGeometry(QRect(90, 10, 100, 20)); 43 | label_sixin_head = new QLabel(MessageForm_SiXin_Item); 44 | label_sixin_head->setObjectName(QStringLiteral("label_sixin_head")); 45 | label_sixin_head->setGeometry(QRect(30, 5, 50, 50)); 46 | label_sixin_head->setStyleSheet(QStringLiteral("background-color: rgb(0, 255, 127);")); 47 | label_sixin_name_2 = new QLabel(MessageForm_SiXin_Item); 48 | label_sixin_name_2->setObjectName(QStringLiteral("label_sixin_name_2")); 49 | label_sixin_name_2->setGeometry(QRect(90, 30, 261, 20)); 50 | label_sixin_time = new QLabel(MessageForm_SiXin_Item); 51 | label_sixin_time->setObjectName(QStringLiteral("label_sixin_time")); 52 | label_sixin_time->setGeometry(QRect(240, 10, 100, 20)); 53 | label_sixin_time->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter); 54 | 55 | retranslateUi(MessageForm_SiXin_Item); 56 | 57 | QMetaObject::connectSlotsByName(MessageForm_SiXin_Item); 58 | } // setupUi 59 | 60 | void retranslateUi(QWidget *MessageForm_SiXin_Item) 61 | { 62 | MessageForm_SiXin_Item->setWindowTitle(QApplication::translate("MessageForm_SiXin_Item", "Form", nullptr)); 63 | label_read_point->setText(QString()); 64 | label_sixin_name->setText(QApplication::translate("MessageForm_SiXin_Item", "\347\275\221\346\230\223\344\272\221\351\237\263\344\271\220", nullptr)); 65 | label_sixin_head->setText(QString()); 66 | label_sixin_name_2->setText(QApplication::translate("MessageForm_SiXin_Item", "\346\264\273\345\212\250\357\274\232\346\210\221\350\246\201\345\235\232\346\214\201\344\270\215\344\270\213\345\216\273\344\272\206\357\274\214\347\216\260\345\234\250\345\245\275\345\203\217\346\211\276\344\270\252\344\272\272\346\212\261\346\212\261", nullptr)); 67 | label_sixin_time->setText(QApplication::translate("MessageForm_SiXin_Item", "7\346\234\2103\346\227\245", nullptr)); 68 | } // retranslateUi 69 | 70 | }; 71 | 72 | namespace Ui { 73 | class MessageForm_SiXin_Item: public Ui_MessageForm_SiXin_Item {}; 74 | } // namespace Ui 75 | 76 | QT_END_NAMESPACE 77 | 78 | #endif // UI_MESSAGEFORM_SIXIN_ITEM_H 79 | -------------------------------------------------------------------------------- /MCloudMusic/ui_musicform.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************** 2 | ** Form generated from reading UI file 'musicform.ui' 3 | ** 4 | ** Created by: Qt User Interface Compiler version 5.10.0 5 | ** 6 | ** WARNING! All changes made in this file will be lost when recompiling UI file! 7 | ********************************************************************************/ 8 | 9 | #ifndef UI_MUSICFORM_H 10 | #define UI_MUSICFORM_H 11 | 12 | #include 13 | #include 14 | #include 15 | #include 16 | #include 17 | #include 18 | #include 19 | #include 20 | 21 | QT_BEGIN_NAMESPACE 22 | 23 | class Ui_MusicForm 24 | { 25 | public: 26 | QLabel *label_music_picture; 27 | QPushButton *pushButton_music_picture; 28 | QLabel *label_music_name; 29 | QLabel *label_music_singer; 30 | QPushButton *pushButton_like; 31 | QPushButton *pushButton_share; 32 | 33 | void setupUi(QWidget *MusicForm) 34 | { 35 | if (MusicForm->objectName().isEmpty()) 36 | MusicForm->setObjectName(QStringLiteral("MusicForm")); 37 | MusicForm->resize(200, 55); 38 | label_music_picture = new QLabel(MusicForm); 39 | label_music_picture->setObjectName(QStringLiteral("label_music_picture")); 40 | label_music_picture->setGeometry(QRect(5, 5, 45, 45)); 41 | pushButton_music_picture = new QPushButton(MusicForm); 42 | pushButton_music_picture->setObjectName(QStringLiteral("pushButton_music_picture")); 43 | pushButton_music_picture->setGeometry(QRect(5, 5, 45, 45)); 44 | label_music_name = new QLabel(MusicForm); 45 | label_music_name->setObjectName(QStringLiteral("label_music_name")); 46 | label_music_name->setGeometry(QRect(60, 10, 101, 16)); 47 | label_music_singer = new QLabel(MusicForm); 48 | label_music_singer->setObjectName(QStringLiteral("label_music_singer")); 49 | label_music_singer->setGeometry(QRect(60, 30, 101, 16)); 50 | pushButton_like = new QPushButton(MusicForm); 51 | pushButton_like->setObjectName(QStringLiteral("pushButton_like")); 52 | pushButton_like->setGeometry(QRect(175, 5, 20, 20)); 53 | pushButton_share = new QPushButton(MusicForm); 54 | pushButton_share->setObjectName(QStringLiteral("pushButton_share")); 55 | pushButton_share->setGeometry(QRect(175, 30, 20, 20)); 56 | 57 | retranslateUi(MusicForm); 58 | 59 | QMetaObject::connectSlotsByName(MusicForm); 60 | } // setupUi 61 | 62 | void retranslateUi(QWidget *MusicForm) 63 | { 64 | MusicForm->setWindowTitle(QApplication::translate("MusicForm", "Form", nullptr)); 65 | label_music_picture->setText(QString()); 66 | pushButton_music_picture->setText(QString()); 67 | label_music_name->setText(QApplication::translate("MusicForm", "\346\210\221\350\256\260\345\276\227\346\210\221\347\210\261\350\277\207", nullptr)); 68 | label_music_singer->setText(QApplication::translate("MusicForm", "\344\275\225\346\266\246\344\270\234", nullptr)); 69 | pushButton_like->setText(QString()); 70 | pushButton_share->setText(QString()); 71 | } // retranslateUi 72 | 73 | }; 74 | 75 | namespace Ui { 76 | class MusicForm: public Ui_MusicForm {}; 77 | } // namespace Ui 78 | 79 | QT_END_NAMESPACE 80 | 81 | #endif // UI_MUSICFORM_H 82 | -------------------------------------------------------------------------------- /MCloudMusic/ui_personform.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************** 2 | ** Form generated from reading UI file 'personform.ui' 3 | ** 4 | ** Created by: Qt User Interface Compiler version 5.10.0 5 | ** 6 | ** WARNING! All changes made in this file will be lost when recompiling UI file! 7 | ********************************************************************************/ 8 | 9 | #ifndef UI_PERSONFORM_H 10 | #define UI_PERSONFORM_H 11 | 12 | #include 13 | #include 14 | #include 15 | #include 16 | #include 17 | #include 18 | #include 19 | #include 20 | 21 | QT_BEGIN_NAMESPACE 22 | 23 | class Ui_PersonForm 24 | { 25 | public: 26 | QPushButton *pushButton_person_head_image; 27 | QLabel *label_user_name; 28 | QLabel *label_user_member_icon; 29 | QPushButton *pushButton; 30 | QPushButton *pushButton_sign; 31 | QPushButton *pushButton_dynamic; 32 | QPushButton *pushButton_attention; 33 | QPushButton *pushButton_fans; 34 | QLabel *labelline_1; 35 | QLabel *label_dynamic; 36 | QLabel *label_attention; 37 | QLabel *label_fans; 38 | QPushButton *pushButton_mymember; 39 | QLabel *labelline_2; 40 | QLabel *labelline_3; 41 | QLabel *label_my_menber; 42 | QLabel *label_my_member; 43 | QLabel *label_my_member_time; 44 | QLabel *label_L_1; 45 | QPushButton *pushButton_dengji; 46 | QPushButton *pushButton_shop; 47 | QPushButton *pushButton_person_infor; 48 | QPushButton *pushButton_bend; 49 | QPushButton *pushButton_off; 50 | QLabel *label_my_dengji; 51 | QLabel *label_my_dengji_1; 52 | QLabel *label_L_2; 53 | QLabel *label_my_dengji_2; 54 | QLabel *label_my_shop; 55 | QLabel *label_my_shop2; 56 | QLabel *label_L_3; 57 | QLabel *label_L_4; 58 | QLabel *label_my_setup2; 59 | QLabel *label_my_setup; 60 | QLabel *label_my_bend; 61 | QLabel *label_my_bend2; 62 | QLabel *label_L_5; 63 | QLabel *label_my_bend_3; 64 | QLabel *label_my_bend_4; 65 | QLabel *label_my_off; 66 | QLabel *label_my_off2; 67 | 68 | void setupUi(QWidget *PersonForm) 69 | { 70 | if (PersonForm->objectName().isEmpty()) 71 | PersonForm->setObjectName(QStringLiteral("PersonForm")); 72 | PersonForm->resize(276, 376); 73 | pushButton_person_head_image = new QPushButton(PersonForm); 74 | pushButton_person_head_image->setObjectName(QStringLiteral("pushButton_person_head_image")); 75 | pushButton_person_head_image->setGeometry(QRect(20, 30, 40, 40)); 76 | label_user_name = new QLabel(PersonForm); 77 | label_user_name->setObjectName(QStringLiteral("label_user_name")); 78 | label_user_name->setGeometry(QRect(70, 43, 60, 15)); 79 | label_user_name->setMinimumSize(QSize(60, 15)); 80 | label_user_member_icon = new QLabel(PersonForm); 81 | label_user_member_icon->setObjectName(QStringLiteral("label_user_member_icon")); 82 | label_user_member_icon->setGeometry(QRect(130, 43, 15, 15)); 83 | label_user_member_icon->setMinimumSize(QSize(15, 15)); 84 | pushButton = new QPushButton(PersonForm); 85 | pushButton->setObjectName(QStringLiteral("pushButton")); 86 | pushButton->setGeometry(QRect(70, 43, 75, 15)); 87 | pushButton_sign = new QPushButton(PersonForm); 88 | pushButton_sign->setObjectName(QStringLiteral("pushButton_sign")); 89 | pushButton_sign->setGeometry(QRect(197, 37, 64, 26)); 90 | pushButton_dynamic = new QPushButton(PersonForm); 91 | pushButton_dynamic->setObjectName(QStringLiteral("pushButton_dynamic")); 92 | pushButton_dynamic->setGeometry(QRect(0, 80, 90, 60)); 93 | pushButton_attention = new QPushButton(PersonForm); 94 | pushButton_attention->setObjectName(QStringLiteral("pushButton_attention")); 95 | pushButton_attention->setGeometry(QRect(93, 80, 90, 60)); 96 | pushButton_fans = new QPushButton(PersonForm); 97 | pushButton_fans->setObjectName(QStringLiteral("pushButton_fans")); 98 | pushButton_fans->setGeometry(QRect(186, 80, 90, 60)); 99 | labelline_1 = new QLabel(PersonForm); 100 | labelline_1->setObjectName(QStringLiteral("labelline_1")); 101 | labelline_1->setGeometry(QRect(0, 142, 276, 1)); 102 | label_dynamic = new QLabel(PersonForm); 103 | label_dynamic->setObjectName(QStringLiteral("label_dynamic")); 104 | label_dynamic->setGeometry(QRect(0, 80, 90, 20)); 105 | QFont font; 106 | font.setPointSize(9); 107 | font.setBold(true); 108 | font.setWeight(75); 109 | label_dynamic->setFont(font); 110 | label_dynamic->setAlignment(Qt::AlignCenter); 111 | label_attention = new QLabel(PersonForm); 112 | label_attention->setObjectName(QStringLiteral("label_attention")); 113 | label_attention->setGeometry(QRect(93, 80, 90, 20)); 114 | label_attention->setFont(font); 115 | label_attention->setAlignment(Qt::AlignCenter); 116 | label_fans = new QLabel(PersonForm); 117 | label_fans->setObjectName(QStringLiteral("label_fans")); 118 | label_fans->setGeometry(QRect(186, 80, 90, 20)); 119 | label_fans->setFont(font); 120 | label_fans->setAlignment(Qt::AlignCenter); 121 | pushButton_mymember = new QPushButton(PersonForm); 122 | pushButton_mymember->setObjectName(QStringLiteral("pushButton_mymember")); 123 | pushButton_mymember->setGeometry(QRect(0, 142, 276, 36)); 124 | labelline_2 = new QLabel(PersonForm); 125 | labelline_2->setObjectName(QStringLiteral("labelline_2")); 126 | labelline_2->setGeometry(QRect(0, 251, 276, 1)); 127 | labelline_3 = new QLabel(PersonForm); 128 | labelline_3->setObjectName(QStringLiteral("labelline_3")); 129 | labelline_3->setGeometry(QRect(0, 324, 276, 1)); 130 | label_my_menber = new QLabel(PersonForm); 131 | label_my_menber->setObjectName(QStringLiteral("label_my_menber")); 132 | label_my_menber->setGeometry(QRect(20, 152, 18, 16)); 133 | label_my_member = new QLabel(PersonForm); 134 | label_my_member->setObjectName(QStringLiteral("label_my_member")); 135 | label_my_member->setGeometry(QRect(50, 152, 100, 16)); 136 | label_my_member_time = new QLabel(PersonForm); 137 | label_my_member_time->setObjectName(QStringLiteral("label_my_member_time")); 138 | label_my_member_time->setGeometry(QRect(140, 152, 100, 16)); 139 | label_my_member_time->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter); 140 | label_L_1 = new QLabel(PersonForm); 141 | label_L_1->setObjectName(QStringLiteral("label_L_1")); 142 | label_L_1->setGeometry(QRect(255, 152, 16, 16)); 143 | pushButton_dengji = new QPushButton(PersonForm); 144 | pushButton_dengji->setObjectName(QStringLiteral("pushButton_dengji")); 145 | pushButton_dengji->setGeometry(QRect(0, 178, 276, 36)); 146 | pushButton_shop = new QPushButton(PersonForm); 147 | pushButton_shop->setObjectName(QStringLiteral("pushButton_shop")); 148 | pushButton_shop->setGeometry(QRect(0, 214, 276, 36)); 149 | pushButton_person_infor = new QPushButton(PersonForm); 150 | pushButton_person_infor->setObjectName(QStringLiteral("pushButton_person_infor")); 151 | pushButton_person_infor->setGeometry(QRect(0, 253, 276, 36)); 152 | pushButton_bend = new QPushButton(PersonForm); 153 | pushButton_bend->setObjectName(QStringLiteral("pushButton_bend")); 154 | pushButton_bend->setGeometry(QRect(0, 289, 276, 36)); 155 | pushButton_off = new QPushButton(PersonForm); 156 | pushButton_off->setObjectName(QStringLiteral("pushButton_off")); 157 | pushButton_off->setGeometry(QRect(0, 326, 276, 50)); 158 | label_my_dengji = new QLabel(PersonForm); 159 | label_my_dengji->setObjectName(QStringLiteral("label_my_dengji")); 160 | label_my_dengji->setGeometry(QRect(20, 188, 18, 16)); 161 | label_my_dengji_1 = new QLabel(PersonForm); 162 | label_my_dengji_1->setObjectName(QStringLiteral("label_my_dengji_1")); 163 | label_my_dengji_1->setGeometry(QRect(50, 188, 100, 16)); 164 | label_L_2 = new QLabel(PersonForm); 165 | label_L_2->setObjectName(QStringLiteral("label_L_2")); 166 | label_L_2->setGeometry(QRect(255, 188, 16, 16)); 167 | label_my_dengji_2 = new QLabel(PersonForm); 168 | label_my_dengji_2->setObjectName(QStringLiteral("label_my_dengji_2")); 169 | label_my_dengji_2->setGeometry(QRect(140, 188, 100, 16)); 170 | label_my_dengji_2->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter); 171 | label_my_shop = new QLabel(PersonForm); 172 | label_my_shop->setObjectName(QStringLiteral("label_my_shop")); 173 | label_my_shop->setGeometry(QRect(20, 224, 18, 16)); 174 | label_my_shop2 = new QLabel(PersonForm); 175 | label_my_shop2->setObjectName(QStringLiteral("label_my_shop2")); 176 | label_my_shop2->setGeometry(QRect(50, 224, 100, 16)); 177 | label_L_3 = new QLabel(PersonForm); 178 | label_L_3->setObjectName(QStringLiteral("label_L_3")); 179 | label_L_3->setGeometry(QRect(255, 224, 16, 16)); 180 | label_L_4 = new QLabel(PersonForm); 181 | label_L_4->setObjectName(QStringLiteral("label_L_4")); 182 | label_L_4->setGeometry(QRect(255, 263, 16, 16)); 183 | label_my_setup2 = new QLabel(PersonForm); 184 | label_my_setup2->setObjectName(QStringLiteral("label_my_setup2")); 185 | label_my_setup2->setGeometry(QRect(50, 263, 100, 16)); 186 | label_my_setup = new QLabel(PersonForm); 187 | label_my_setup->setObjectName(QStringLiteral("label_my_setup")); 188 | label_my_setup->setGeometry(QRect(20, 263, 18, 16)); 189 | label_my_bend = new QLabel(PersonForm); 190 | label_my_bend->setObjectName(QStringLiteral("label_my_bend")); 191 | label_my_bend->setGeometry(QRect(20, 299, 18, 16)); 192 | label_my_bend2 = new QLabel(PersonForm); 193 | label_my_bend2->setObjectName(QStringLiteral("label_my_bend2")); 194 | label_my_bend2->setGeometry(QRect(50, 299, 100, 16)); 195 | label_L_5 = new QLabel(PersonForm); 196 | label_L_5->setObjectName(QStringLiteral("label_L_5")); 197 | label_L_5->setGeometry(QRect(255, 299, 16, 16)); 198 | label_my_bend_3 = new QLabel(PersonForm); 199 | label_my_bend_3->setObjectName(QStringLiteral("label_my_bend_3")); 200 | label_my_bend_3->setGeometry(QRect(200, 299, 18, 16)); 201 | label_my_bend_4 = new QLabel(PersonForm); 202 | label_my_bend_4->setObjectName(QStringLiteral("label_my_bend_4")); 203 | label_my_bend_4->setGeometry(QRect(220, 299, 18, 16)); 204 | label_my_off = new QLabel(PersonForm); 205 | label_my_off->setObjectName(QStringLiteral("label_my_off")); 206 | label_my_off->setGeometry(QRect(20, 339, 18, 16)); 207 | label_my_off2 = new QLabel(PersonForm); 208 | label_my_off2->setObjectName(QStringLiteral("label_my_off2")); 209 | label_my_off2->setGeometry(QRect(50, 339, 100, 16)); 210 | pushButton_person_head_image->raise(); 211 | label_user_name->raise(); 212 | label_user_member_icon->raise(); 213 | pushButton->raise(); 214 | pushButton_sign->raise(); 215 | labelline_1->raise(); 216 | label_dynamic->raise(); 217 | label_attention->raise(); 218 | label_fans->raise(); 219 | pushButton_fans->raise(); 220 | pushButton_dynamic->raise(); 221 | pushButton_attention->raise(); 222 | labelline_2->raise(); 223 | labelline_3->raise(); 224 | label_my_menber->raise(); 225 | label_my_member->raise(); 226 | label_my_member_time->raise(); 227 | label_L_1->raise(); 228 | pushButton_mymember->raise(); 229 | label_my_dengji->raise(); 230 | label_my_dengji_1->raise(); 231 | label_L_2->raise(); 232 | label_my_dengji_2->raise(); 233 | pushButton_dengji->raise(); 234 | label_my_shop->raise(); 235 | label_my_shop2->raise(); 236 | label_L_3->raise(); 237 | pushButton_shop->raise(); 238 | label_L_4->raise(); 239 | label_my_setup2->raise(); 240 | label_my_setup->raise(); 241 | pushButton_person_infor->raise(); 242 | label_my_bend->raise(); 243 | label_my_bend2->raise(); 244 | label_L_5->raise(); 245 | label_my_bend_3->raise(); 246 | label_my_bend_4->raise(); 247 | pushButton_bend->raise(); 248 | label_my_off->raise(); 249 | label_my_off2->raise(); 250 | pushButton_off->raise(); 251 | 252 | retranslateUi(PersonForm); 253 | 254 | QMetaObject::connectSlotsByName(PersonForm); 255 | } // setupUi 256 | 257 | void retranslateUi(QWidget *PersonForm) 258 | { 259 | PersonForm->setWindowTitle(QApplication::translate("PersonForm", "Form", nullptr)); 260 | pushButton_person_head_image->setText(QString()); 261 | label_user_name->setText(QApplication::translate("PersonForm", "\346\242\246\346\203\263\345\260\221\345\271\264", nullptr)); 262 | label_user_member_icon->setText(QString()); 263 | pushButton->setText(QString()); 264 | pushButton_sign->setText(QString()); 265 | pushButton_dynamic->setText(QApplication::translate("PersonForm", "\345\212\250\346\200\201", nullptr)); 266 | pushButton_attention->setText(QApplication::translate("PersonForm", "\345\205\263\346\263\250", nullptr)); 267 | pushButton_fans->setText(QApplication::translate("PersonForm", "\347\262\211\344\270\235", nullptr)); 268 | labelline_1->setText(QString()); 269 | label_dynamic->setText(QApplication::translate("PersonForm", "123", nullptr)); 270 | label_attention->setText(QApplication::translate("PersonForm", "2000", nullptr)); 271 | label_fans->setText(QApplication::translate("PersonForm", "10000", nullptr)); 272 | pushButton_mymember->setText(QString()); 273 | labelline_2->setText(QString()); 274 | labelline_3->setText(QString()); 275 | label_my_menber->setText(QString()); 276 | label_my_member->setText(QApplication::translate("PersonForm", "\346\210\221\347\232\204\344\274\232\345\221\230", nullptr)); 277 | label_my_member_time->setText(QApplication::translate("PersonForm", "2019.05.05\345\210\260\346\234\237", nullptr)); 278 | label_L_1->setText(QApplication::translate("PersonForm", ">", nullptr)); 279 | pushButton_dengji->setText(QString()); 280 | pushButton_shop->setText(QString()); 281 | pushButton_person_infor->setText(QString()); 282 | pushButton_bend->setText(QString()); 283 | pushButton_off->setText(QString()); 284 | label_my_dengji->setText(QString()); 285 | label_my_dengji_1->setText(QApplication::translate("PersonForm", "\347\255\211\347\272\247", nullptr)); 286 | label_L_2->setText(QApplication::translate("PersonForm", ">", nullptr)); 287 | label_my_dengji_2->setText(QApplication::translate("PersonForm", "LV.9", nullptr)); 288 | label_my_shop->setText(QString()); 289 | label_my_shop2->setText(QApplication::translate("PersonForm", "\345\225\206\345\237\216", nullptr)); 290 | label_L_3->setText(QApplication::translate("PersonForm", ">", nullptr)); 291 | label_L_4->setText(QApplication::translate("PersonForm", ">", nullptr)); 292 | label_my_setup2->setText(QApplication::translate("PersonForm", "\344\270\252\344\272\272\344\277\241\346\201\257\350\256\276\347\275\256", nullptr)); 293 | label_my_setup->setText(QString()); 294 | label_my_bend->setText(QString()); 295 | label_my_bend2->setText(QApplication::translate("PersonForm", "\347\273\221\345\256\232\347\244\276\344\272\244\350\264\246\345\217\267", nullptr)); 296 | label_L_5->setText(QApplication::translate("PersonForm", ">", nullptr)); 297 | label_my_bend_3->setText(QString()); 298 | label_my_bend_4->setText(QString()); 299 | label_my_off->setText(QString()); 300 | label_my_off2->setText(QApplication::translate("PersonForm", "\351\200\200\345\207\272\347\231\273\345\275\225", nullptr)); 301 | } // retranslateUi 302 | 303 | }; 304 | 305 | namespace Ui { 306 | class PersonForm: public Ui_PersonForm {}; 307 | } // namespace Ui 308 | 309 | QT_END_NAMESPACE 310 | 311 | #endif // UI_PERSONFORM_H 312 | -------------------------------------------------------------------------------- /MCloudMusic/ui_picturewallform.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************** 2 | ** Form generated from reading UI file 'picturewallform.ui' 3 | ** 4 | ** Created by: Qt User Interface Compiler version 5.10.0 5 | ** 6 | ** WARNING! All changes made in this file will be lost when recompiling UI file! 7 | ********************************************************************************/ 8 | 9 | #ifndef UI_PICTUREWALLFORM_H 10 | #define UI_PICTUREWALLFORM_H 11 | 12 | #include 13 | #include 14 | #include 15 | #include 16 | #include 17 | #include 18 | #include 19 | #include 20 | 21 | QT_BEGIN_NAMESPACE 22 | 23 | class Ui_PictureWallForm 24 | { 25 | public: 26 | QLabel *label_main; 27 | QLabel *label_main_r; 28 | QLabel *label_main_l; 29 | QPushButton *pushButton_subtract; 30 | QPushButton *pushButton_plus; 31 | 32 | void setupUi(QWidget *PictureWallForm) 33 | { 34 | if (PictureWallForm->objectName().isEmpty()) 35 | PictureWallForm->setObjectName(QStringLiteral("PictureWallForm")); 36 | PictureWallForm->resize(776, 220); 37 | label_main = new QLabel(PictureWallForm); 38 | label_main->setObjectName(QStringLiteral("label_main")); 39 | label_main->setGeometry(QRect(118, 10, 540, 200)); 40 | label_main_r = new QLabel(PictureWallForm); 41 | label_main_r->setObjectName(QStringLiteral("label_main_r")); 42 | label_main_r->setGeometry(QRect(236, 20, 540, 180)); 43 | label_main_l = new QLabel(PictureWallForm); 44 | label_main_l->setObjectName(QStringLiteral("label_main_l")); 45 | label_main_l->setGeometry(QRect(0, 20, 540, 180)); 46 | pushButton_subtract = new QPushButton(PictureWallForm); 47 | pushButton_subtract->setObjectName(QStringLiteral("pushButton_subtract")); 48 | pushButton_subtract->setGeometry(QRect(20, 60, 80, 81)); 49 | pushButton_plus = new QPushButton(PictureWallForm); 50 | pushButton_plus->setObjectName(QStringLiteral("pushButton_plus")); 51 | pushButton_plus->setGeometry(QRect(690, 60, 80, 81)); 52 | label_main_r->raise(); 53 | label_main_l->raise(); 54 | label_main->raise(); 55 | pushButton_subtract->raise(); 56 | pushButton_plus->raise(); 57 | 58 | retranslateUi(PictureWallForm); 59 | 60 | QMetaObject::connectSlotsByName(PictureWallForm); 61 | } // setupUi 62 | 63 | void retranslateUi(QWidget *PictureWallForm) 64 | { 65 | PictureWallForm->setWindowTitle(QApplication::translate("PictureWallForm", "Form", nullptr)); 66 | label_main->setText(QString()); 67 | label_main_r->setText(QString()); 68 | label_main_l->setText(QString()); 69 | pushButton_subtract->setText(QApplication::translate("PictureWallForm", "<<", nullptr)); 70 | pushButton_plus->setText(QApplication::translate("PictureWallForm", ">>", nullptr)); 71 | } // retranslateUi 72 | 73 | }; 74 | 75 | namespace Ui { 76 | class PictureWallForm: public Ui_PictureWallForm {}; 77 | } // namespace Ui 78 | 79 | QT_END_NAMESPACE 80 | 81 | #endif // UI_PICTUREWALLFORM_H 82 | -------------------------------------------------------------------------------- /MCloudMusic/ui_playlistform.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************** 2 | ** Form generated from reading UI file 'playlistform.ui' 3 | ** 4 | ** Created by: Qt User Interface Compiler version 5.10.0 5 | ** 6 | ** WARNING! All changes made in this file will be lost when recompiling UI file! 7 | ********************************************************************************/ 8 | 9 | #ifndef UI_PLAYLISTFORM_H 10 | #define UI_PLAYLISTFORM_H 11 | 12 | #include 13 | #include 14 | #include 15 | #include 16 | #include 17 | #include 18 | #include 19 | #include 20 | #include 21 | #include 22 | 23 | QT_BEGIN_NAMESPACE 24 | 25 | class Ui_PlayListForm 26 | { 27 | public: 28 | QPushButton *pushButton_close; 29 | QTabWidget *tabWidget; 30 | QWidget *play_list; 31 | QLabel *label_PL_back; 32 | QLabel *label_PL_conut; 33 | QPushButton *pushButton_PL_shoucang; 34 | QPushButton *pushButton_PL_delete; 35 | QLabel *label_PL_conut_2; 36 | QTableWidget *tableWidget_playlist; 37 | QWidget *history_list; 38 | QLabel *label_PL_back_2; 39 | QPushButton *pushButton_PL_delete_2; 40 | QLabel *label_PL_conut_3; 41 | QTableWidget *tableWidget_historylist; 42 | 43 | void setupUi(QWidget *PlayListForm) 44 | { 45 | if (PlayListForm->objectName().isEmpty()) 46 | PlayListForm->setObjectName(QStringLiteral("PlayListForm")); 47 | PlayListForm->resize(568, 472); 48 | PlayListForm->setStyleSheet(QStringLiteral("")); 49 | pushButton_close = new QPushButton(PlayListForm); 50 | pushButton_close->setObjectName(QStringLiteral("pushButton_close")); 51 | pushButton_close->setGeometry(QRect(550, 10, 16, 15)); 52 | tabWidget = new QTabWidget(PlayListForm); 53 | tabWidget->setObjectName(QStringLiteral("tabWidget")); 54 | tabWidget->setGeometry(QRect(0, 10, 571, 471)); 55 | play_list = new QWidget(); 56 | play_list->setObjectName(QStringLiteral("play_list")); 57 | label_PL_back = new QLabel(play_list); 58 | label_PL_back->setObjectName(QStringLiteral("label_PL_back")); 59 | label_PL_back->setGeometry(QRect(0, 0, 567, 30)); 60 | label_PL_back->setStyleSheet(QStringLiteral("background-color: rgb(45, 47, 51);")); 61 | label_PL_conut = new QLabel(play_list); 62 | label_PL_conut->setObjectName(QStringLiteral("label_PL_conut")); 63 | label_PL_conut->setGeometry(QRect(20, 6, 61, 16)); 64 | label_PL_conut->setStyleSheet(QStringLiteral("color: rgb(130, 131, 133);")); 65 | pushButton_PL_shoucang = new QPushButton(play_list); 66 | pushButton_PL_shoucang->setObjectName(QStringLiteral("pushButton_PL_shoucang")); 67 | pushButton_PL_shoucang->setGeometry(QRect(410, 5, 80, 20)); 68 | pushButton_PL_delete = new QPushButton(play_list); 69 | pushButton_PL_delete->setObjectName(QStringLiteral("pushButton_PL_delete")); 70 | pushButton_PL_delete->setGeometry(QRect(509, 5, 61, 20)); 71 | label_PL_conut_2 = new QLabel(play_list); 72 | label_PL_conut_2->setObjectName(QStringLiteral("label_PL_conut_2")); 73 | label_PL_conut_2->setGeometry(QRect(498, 5, 16, 16)); 74 | label_PL_conut_2->setStyleSheet(QStringLiteral("color: rgb(130, 131, 133);")); 75 | tableWidget_playlist = new QTableWidget(play_list); 76 | tableWidget_playlist->setObjectName(QStringLiteral("tableWidget_playlist")); 77 | tableWidget_playlist->setGeometry(QRect(0, 30, 567, 411)); 78 | tabWidget->addTab(play_list, QString()); 79 | history_list = new QWidget(); 80 | history_list->setObjectName(QStringLiteral("history_list")); 81 | label_PL_back_2 = new QLabel(history_list); 82 | label_PL_back_2->setObjectName(QStringLiteral("label_PL_back_2")); 83 | label_PL_back_2->setGeometry(QRect(0, 0, 567, 30)); 84 | label_PL_back_2->setStyleSheet(QStringLiteral("background-color: rgb(45, 47, 51);")); 85 | pushButton_PL_delete_2 = new QPushButton(history_list); 86 | pushButton_PL_delete_2->setObjectName(QStringLiteral("pushButton_PL_delete_2")); 87 | pushButton_PL_delete_2->setGeometry(QRect(509, 5, 61, 20)); 88 | label_PL_conut_3 = new QLabel(history_list); 89 | label_PL_conut_3->setObjectName(QStringLiteral("label_PL_conut_3")); 90 | label_PL_conut_3->setGeometry(QRect(20, 6, 61, 16)); 91 | label_PL_conut_3->setStyleSheet(QStringLiteral("color: rgb(130, 131, 133);")); 92 | tableWidget_historylist = new QTableWidget(history_list); 93 | tableWidget_historylist->setObjectName(QStringLiteral("tableWidget_historylist")); 94 | tableWidget_historylist->setGeometry(QRect(0, 30, 567, 411)); 95 | tabWidget->addTab(history_list, QString()); 96 | tabWidget->raise(); 97 | pushButton_close->raise(); 98 | 99 | retranslateUi(PlayListForm); 100 | 101 | tabWidget->setCurrentIndex(0); 102 | 103 | 104 | QMetaObject::connectSlotsByName(PlayListForm); 105 | } // setupUi 106 | 107 | void retranslateUi(QWidget *PlayListForm) 108 | { 109 | PlayListForm->setWindowTitle(QApplication::translate("PlayListForm", "Form", nullptr)); 110 | pushButton_close->setText(QString()); 111 | label_PL_back->setText(QString()); 112 | label_PL_conut->setText(QApplication::translate("PlayListForm", "\346\200\273100\351\246\226", nullptr)); 113 | pushButton_PL_shoucang->setText(QApplication::translate("PlayListForm", "\346\224\266\350\227\217\345\205\250\351\203\250", nullptr)); 114 | pushButton_PL_delete->setText(QApplication::translate("PlayListForm", "\346\270\205\347\251\272", nullptr)); 115 | label_PL_conut_2->setText(QApplication::translate("PlayListForm", "|", nullptr)); 116 | tabWidget->setTabText(tabWidget->indexOf(play_list), QApplication::translate("PlayListForm", "Tab 1", nullptr)); 117 | label_PL_back_2->setText(QString()); 118 | pushButton_PL_delete_2->setText(QApplication::translate("PlayListForm", "\346\270\205\347\251\272", nullptr)); 119 | label_PL_conut_3->setText(QApplication::translate("PlayListForm", "\346\200\273100\351\246\226", nullptr)); 120 | tabWidget->setTabText(tabWidget->indexOf(history_list), QApplication::translate("PlayListForm", "Tab 2", nullptr)); 121 | } // retranslateUi 122 | 123 | }; 124 | 125 | namespace Ui { 126 | class PlayListForm: public Ui_PlayListForm {}; 127 | } // namespace Ui 128 | 129 | QT_END_NAMESPACE 130 | 131 | #endif // UI_PLAYLISTFORM_H 132 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # MCloudMusic 2 | CSDN地址:https://blog.csdn.net/z609932088/category_9276391.html?spm=1001.2014.3001.5482 3 | 仿写网易云音乐界面,只写了一部分纯界面,主要是练习了QSS写法 4 | 希望可以为小伙伴提供帮助 5 | 6 | ![](https://raw.githubusercontent.com/DreamLife-Jianwei/CSDNResources/master/20211129092839.png) 7 | 8 | ![](https://raw.githubusercontent.com/DreamLife-Jianwei/CSDNResources/master/202112121549285.gif) 9 | 10 | ![](https://raw.githubusercontent.com/DreamLife-Jianwei/CSDNResources/master/202112121550416.png) 11 | 12 | ![](https://raw.githubusercontent.com/DreamLife-Jianwei/CSDNResources/master/202112121550455.png) 13 | 14 | ![](https://raw.githubusercontent.com/DreamLife-Jianwei/CSDNResources/master/202112121550260.png) 15 | --------------------------------------------------------------------------------