1 /***************************************************************************
2 * copyright : (C) 2007 Ian Monroe <ian@monroe.nu> *
4 * This program is free software; you can redistribute it and/or modify *
5 * it under the terms of the GNU General Public License version 2 *
6 * as published by the Free Software Foundation. *
7 ***************************************************************************/
9 #ifndef AMAROK_PLAYLISTHEADER_H
10 #define AMAROK_PLAYLISTHEADER_H
13 #include <QStringList>
22 class HeaderWidget
: public QWidget
25 static const QString HeaderMimeType
;
27 HeaderWidget( QWidget
* parent
);
29 void enterEvent( QEvent
* event
);
30 void leaveEvent( QEvent
* event
);
31 void dragEnterEvent(QDragEnterEvent
*event
);
32 void dropEvent( QDropEvent
*event
);
33 void mousePressEvent(QMouseEvent
*event
);
36 QHBoxLayout
* m_topLayout
;
38 QList
<QVBoxLayout
*> m_verticalLayouts
;
39 QList
<QLabel
*> m_labels
;
40 QMap
<QString
, QLabel
*> m_textToLabel
;