Qt music player preparation (3) Easy player

Source: Internet
Author: User

Today we released the first easyplayer version. If you are interested, you can download easyplayer V1.0, an online music player based on QT.


Compared with the previous article, I made the following changes:



The blogger has modified the interface.

The most obvious change is that the window border is removed, and the custom Minimize button and close button are implemented to manipulate the corresponding actions of the form.

Then, the position of the search list and the playback list is changed. In this case, the button on the right of the search list needs to be changed to "+.

Finally, you can see the lyrics display interface. The first version achieves synchronous search and display of the lyrics, but unfortunately it has not been synchronized .. We need to study the effect similar to that of KTV.

Other small changes will not be detailed, such as the display of the currently played song, the move of the volume key to prepare for more functional buttons, remove the list of scroll bars, and so on. Check the code yourself or parse the code that will be updated later.


After the interface changes are completed, let's talk about the functional changes.

1. The lyrics display can be optimized, and the search and display can be synchronized. Of course, no search is available. Then, consider adding a custom lyrics search interface (just an idea ).

2. Click the lyrics button (tick the button) to display and hide the lyrics interface. Now we find that there is a problem with the new version, that is, when the lyrics interface is closed, you need to click the button twice to display it again. This is because when you click Close, the closing status is not notified to the main interface window, so that the display status of the main window can be changed. Add a signal slot here. The problem will be fixed in the next version.

3. Temporarily modify the circle (the third button on the left) button to set the single loop button, and click set or cancel the single loop. This button will be canceled later, and a combo control will be added to set multiple loop modes.


PS:

There are a lot of things today, and there are still a lot of things that haven't been modified or added to the previous blog. After writing this blog, you can start to work on it. It can only be started after, a painful and happy programmer.

The first version of the source code is attached: http://download.csdn.net/detail/u010398707/8069323

If you are interested, you can download the test. You are welcome to give your opinion and comments.

Qt music player preparation (3) Easy player

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.