aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/Ui/skinned/playlistheader.h
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2015-07-01 13:10:21 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2015-07-01 13:10:21 +0000
commitf461a94afb83f773f2e7d676b87c9f99a3f822eb (patch)
tree68b07f795f69c656cd55f41cc4fe24901fcabd1c /src/plugins/Ui/skinned/playlistheader.h
parent6a17e3c8a908e7befc3558a53b9f1b89d1004c74 (diff)
downloadqmmp-f461a94afb83f773f2e7d676b87c9f99a3f822eb.tar.gz
qmmp-f461a94afb83f773f2e7d676b87c9f99a3f822eb.tar.bz2
qmmp-f461a94afb83f773f2e7d676b87c9f99a3f822eb.zip
skinned: added feature to show track state
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@5194 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Ui/skinned/playlistheader.h')
-rw-r--r--src/plugins/Ui/skinned/playlistheader.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/plugins/Ui/skinned/playlistheader.h b/src/plugins/Ui/skinned/playlistheader.h
index 988e4dff2..0a73082f4 100644
--- a/src/plugins/Ui/skinned/playlistheader.h
+++ b/src/plugins/Ui/skinned/playlistheader.h
@@ -48,6 +48,7 @@ public:
void setNumberWidth(int width);
int requiredHeight() const;
QList<int> sizes() const;
+ int trackStateColumn() const;
signals:
void resizeColumnRequest();
@@ -63,6 +64,7 @@ private slots:
void editColumn();
void removeColumn();
void setAutoResize(bool yes);
+ void showTrackState(bool yes);
void restoreSize();
void onColumnAdded(int index);
@@ -87,7 +89,8 @@ private:
NAME = 0,
SIZE,
RECT, //geometry
- AUTO_RESIZE
+ AUTO_RESIZE,
+ TRACK_STATE
};
Skin *m_skin;
@@ -98,7 +101,8 @@ private:
QPoint m_pressed_pos;
QPoint m_mouse_pos;
PlayListHeaderModel *m_model;
- QAction *m_autoResize;
+ QAction *m_trackStateAction;
+ QAction *m_autoResizeAction;
QPixmap m_arrow_up, m_arrow_down;
bool m_reverted;
int m_number_width;