diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2015-05-30 19:37:52 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2015-05-30 19:37:52 +0000 |
| commit | a3ab27c22481b892faf0e0a64deab2199661cbe5 (patch) | |
| tree | 60362a2e6e274fe66cefe3b0f4cc0effefc5a216 /src/plugins/Ui/skinned/playlistheader.h | |
| parent | 9305a6b6e565c6fc54ab6f13b2d130075580a64f (diff) | |
| download | qmmp-a3ab27c22481b892faf0e0a64deab2199661cbe5.tar.gz qmmp-a3ab27c22481b892faf0e0a64deab2199661cbe5.tar.bz2 qmmp-a3ab27c22481b892faf0e0a64deab2199661cbe5.zip | |
fixed regressions
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@5045 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Ui/skinned/playlistheader.h')
| -rw-r--r-- | src/plugins/Ui/skinned/playlistheader.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/plugins/Ui/skinned/playlistheader.h b/src/plugins/Ui/skinned/playlistheader.h index 0468fab3f..b4f4827c4 100644 --- a/src/plugins/Ui/skinned/playlistheader.h +++ b/src/plugins/Ui/skinned/playlistheader.h @@ -46,11 +46,14 @@ public: void readSettings(); void setNumberWidth(int width); - void updateColumns(); int requiredHeight() const; QList<int> sizes() const; +signals: + void resizeColumnRequest(); + public slots: + void updateColumns(); void showSortIndicator(int column, bool reverted); void hideSortIndicator(); @@ -61,6 +64,9 @@ private slots: void removeColumn(); void setAutoResize(bool yes); void restoreSize(); + void onColumnAdded(int index); + void onColumnRemoved(int index); + void onColumnMoved(int from, int to); private: void mousePressEvent(QMouseEvent *e); @@ -93,14 +99,11 @@ private: QMenu *m_menu; QFont m_font; QColor m_normal, m_normal_bg, m_current; - //QList <QRect> m_rects; - //QStringList m_names; QPoint m_pressed_pos; QPoint m_mouse_pos; PlayListHeaderModel *m_model; QAction *m_autoResize; QPixmap m_arrow_up, m_arrow_down; - //QList<int> m_sizes, m_minimal_sizes; QList<Column*> m_columns; bool m_reverted; int m_number_width; |
