diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2016-01-15 05:42:59 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2016-01-15 05:42:59 +0000 |
| commit | 05afcf9e9702b1a7d1d7cbcb8849e36092cc1a92 (patch) | |
| tree | e005a2593f24faa3df3da840efe91536bd1cecd6 /src/plugins/Ui/qsui/playlistheader.h | |
| parent | fe44a676f2fc7b71990ef7d9495b8279c058e7af (diff) | |
| download | qmmp-05afcf9e9702b1a7d1d7cbcb8849e36092cc1a92.tar.gz qmmp-05afcf9e9702b1a7d1d7cbcb8849e36092cc1a92.tar.bz2 qmmp-05afcf9e9702b1a7d1d7cbcb8849e36092cc1a92.zip | |
qsui: added column alignment
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@6026 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Ui/qsui/playlistheader.h')
| -rw-r--r-- | src/plugins/Ui/qsui/playlistheader.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/plugins/Ui/qsui/playlistheader.h b/src/plugins/Ui/qsui/playlistheader.h index d9836e7d8..6a047fc5b 100644 --- a/src/plugins/Ui/qsui/playlistheader.h +++ b/src/plugins/Ui/qsui/playlistheader.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2015 by Ilya Kotov * + * Copyright (C) 2015-2016 by Ilya Kotov * * forkotov02@hotmail.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -48,6 +48,7 @@ public: void setScrollBarWidth(int width); int requiredHeight() const; QList<int> sizes() const; + QList<int> alignment() const; int trackStateColumn() const; int maxScrollValue() const; int offset() const; @@ -65,6 +66,7 @@ private slots: void removeColumn(); void setAutoResize(bool on); void showTrackState(bool yes); + void setAlignment(QAction *action); void onColumnAdded(int index); void onColumnRemoved(); @@ -92,12 +94,13 @@ private: SIZE, RECT, //geometry AUTO_RESIZE, - TRACK_STATE + TRACK_STATE, + ALIGNMENT }; QSize m_size_hint; QFontMetrics *m_metrics; - QMenu *m_menu; + QMenu *m_menu, *m_alignmentMenu; QPoint m_pressed_pos; QPoint m_mouse_pos; PlayListHeaderModel *m_model; |
