Moved some files and minor cleanups
This commit is contained in:
parent
0cf6c18de4
commit
883243a376
62 changed files with 95 additions and 79 deletions
40
src/playlist/playlistshade.h
Normal file
40
src/playlist/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