Forgot two files.
This commit is contained in:
parent
a94631fc50
commit
9b5aac622c
2 changed files with 136 additions and 0 deletions
37
PlaylistShade.h
Normal file
37
PlaylistShade.h
Normal file
|
@ -0,0 +1,37 @@
|
|||
#ifndef __PLAYLISTSHADE_H__
|
||||
#define __PLAYLISTSHADE_H__
|
||||
|
||||
#include "Skin.h"
|
||||
|
||||
#include <QWidget>
|
||||
|
||||
class PlaylistShade : public QWidget {
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
PlaylistShade (QWidget *parent);
|
||||
~PlaylistShade () {}
|
||||
|
||||
void paintEvent (QPaintEvent *event);
|
||||
void mouseDoubleClickEvent (QMouseEvent *event);
|
||||
void setActive (bool);
|
||||
|
||||
public slots:
|
||||
void setPixmaps (Skin *skin);
|
||||
void setMediainfo (QHash<QString, QString> h);
|
||||
|
||||
private:
|
||||
QPixmap m_pixmap_le;
|
||||
QPixmap m_pixmap_re;
|
||||
QPixmap m_pixmap_mid;
|
||||
|
||||
QPixmap m_pixmap_re_0;
|
||||
QPixmap m_pixmap_re_1;
|
||||
|
||||
QFont m_font;
|
||||
QColor m_color;
|
||||
QString m_text;
|
||||
// QFontMetrics m_fm;
|
||||
};
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue