Description: #ifndef LRCWINDOW_H
#define LRCWINDOW_H
#include <QLabel>
#include <QTimer>
class lrcWindow : public QLabel
{
Q_OBJECT
public:
lrcWindow(QWidget*parent)
QAction*exit
void setTime(int num){time num }
void setLrcWidth()
QTimer*timer
private:
QPoint dragPosition
int time
qreal length
qreal lrcWidth
protected:
void mousePressEvent(QMouseEvent*)
void mouseMoveEvent(QMouseEvent*)
void contextMenuEvent(QContextMenuEvent*ev)
void paintEvent(QPaintEvent*)
private slots:
void timeout()
}
To Search:
File list (Check if you may need any files):
myMusicPlayer\images\000.jpg
.............\......\exit.png
.............\......\gtk-media-next-ltr.png
.............\......\gtk-media-next-rtl.png
.............\......\gtk-media-pause.png
.............\......\gtk-media-play-ltr.png
.............\......\gtk-media-stop.png
.............\......\gtk-open.png
.............\......\ico.ico
.............\......\icon.ico.png
.............\......\list.png
.............\......\lrc.png
.............\......\next.png
.............\......\pause.png
.............\......\play.png
.............\......\previous.png
.............\......\remove.png
.............\......\sound.png
.............\......\stop.png
.............\......\VMP2.png
.............\LRC.pro
.............\lrcwindow.cpp
.............\lrcwindow.h
.............\main.cpp
.............\musiclist.cpp
.............\musiclist.h
.............\musiclist.ui
.............\myicon.rc
.............\readme.txt
.............\resource.qrc
.............\widget.cpp
.............\widget.h
.............\widget.ui
.............\images
myMusicPlayer