Home  >  Q&A  >  body text

c++ - 如何使用Qt实现网易云音乐那种界面?

本人小白,只会用Qt做出一般的Winform,请问网易云音乐那种好看的UI是如何实现的?我看有很多Qt大神都能做出来,但我苦于没有思路,希望大神指点迷津,感激不尽啊。(我用的是Qt5.7)

大家讲道理大家讲道理2765 days ago712

reply all(4)I'll reply

  • 大家讲道理

    大家讲道理2017-04-17 14:39:09

    In qt, there is a QWebView component. You use QWebView to load html, and use html + JavaScript to implement the NetEase Cloud Music interface. You don’t have to rely on the style of the native component. Isn’t this enough?

    Additional: You can also create an interface by modifying the style of the component. Webkit is more convenient.

    reply
    0
  • PHPz

    PHPz2017-04-17 14:39:09

    Compared with traditional Widgets, it is easier to implement using QML. At first, copy it according to its interface.

    reply
    0
  • ringa_lee

    ringa_lee2017-04-17 14:39:09

    NetEase Cloud Music is written in js + html,

    reply
    0
  • PHPz

    PHPz2017-04-17 14:39:09

    Give you an example~
    PyQt5 NetEase Cloud Music

    reply
    0
  • Cancelreply