added a small fileinfo dialog to the playlistwidget
This commit is contained in:
parent
0369b3aa37
commit
8dc34b1759
9 changed files with 406 additions and 6 deletions
|
@ -19,12 +19,15 @@
|
|||
|
||||
//include "Playlist.h"
|
||||
#include <xmmsclient/xmmsclient++.h>
|
||||
#include <entryinfo.h>
|
||||
class Skin;
|
||||
|
||||
#include <QObject>
|
||||
#include <QAbstractItemDelegate>
|
||||
#include <QListView>
|
||||
#include <QPointer>
|
||||
class QWidget;
|
||||
class QModelIndex;
|
||||
|
||||
class PlaylistDelegate : public QAbstractItemDelegate {
|
||||
Q_OBJECT
|
||||
|
@ -57,12 +60,16 @@ class PlaylistView : public QListView {
|
|||
void invertSelection (void);
|
||||
void cropSelected (void);
|
||||
void removeSelected (void);
|
||||
void showEntryInfo (void);
|
||||
void settingsSaved (void);
|
||||
void setPixmaps (Skin *skin);
|
||||
|
||||
protected:
|
||||
void mouseDoubleClickEvent (QMouseEvent *event);
|
||||
|
||||
private slots:
|
||||
void on_item_clicked (QModelIndex index);
|
||||
|
||||
private:
|
||||
Xmms::Playback::Status m_status;
|
||||
QFont *m_font;
|
||||
|
@ -71,6 +78,7 @@ class PlaylistView : public QListView {
|
|||
QColor m_color_selected;
|
||||
QColor m_color_normal;
|
||||
QColor m_color_normal_bg;
|
||||
QPointer<EntryInfo> m_entry_info;
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue