Change playlist to use Esperanza's playlistmodel
This commit is contained in:
parent
85cf6a8d1c
commit
503385309b
96 changed files with 2010 additions and 412 deletions
40
src/PlaylistShade.h
Normal file
40
src/PlaylistShade.h
Normal file
|
@ -0,0 +1,40 @@
|
|||
#ifndef __PLAYLISTSHADE_H__
|
||||
#define __PLAYLISTSHADE_H__
|
||||
|
||||
#include <xmmsclient/xmmsclient++.h>
|
||||
#include "Skin.h"
|
||||
|
||||
#include <QWidget>
|
||||
#include <QHash>
|
||||
|
||||
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 (const Xmms::PropDict &info);
|
||||
void settingsSaved ();
|
||||
|
||||
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