diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2013-07-08 17:39:11 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2013-07-08 17:39:11 +0000 |
| commit | 8217d254a1aad036c554b1fc18c356079734ea7a (patch) | |
| tree | 1cf8e513720fb6b619d025400007804392d5def6 /src/plugins/Ui/skinned/listwidget.h | |
| parent | a7ebb6b84e6c343ad06d5ad242bf5162152486a1 (diff) | |
| download | qmmp-8217d254a1aad036c554b1fc18c356079734ea7a.tar.gz qmmp-8217d254a1aad036c554b1fc18c356079734ea7a.tar.bz2 qmmp-8217d254a1aad036c554b1fc18c356079734ea7a.zip | |
some changes in the list widget
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@3544 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Ui/skinned/listwidget.h')
| -rw-r--r-- | src/plugins/Ui/skinned/listwidget.h | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/src/plugins/Ui/skinned/listwidget.h b/src/plugins/Ui/skinned/listwidget.h index 75dd8a4e9..c695028dd 100644 --- a/src/plugins/Ui/skinned/listwidget.h +++ b/src/plugins/Ui/skinned/listwidget.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2006-2012 by Ilya Kotov * + * Copyright (C) 2006-2013 by Ilya Kotov * * forkotov02@hotmail.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -42,6 +42,18 @@ class PopupWidget; /** @author Ilya Kotov <forkotov02@hotmail.ru> */ +struct ListWidgetRow +{ + QString title; + QString length; + QString extraString; + int index; + PlayListItem *item; +}; + +/** + @author Ilya Kotov <forkotov02@hotmail.ru> +*/ class ListWidget : public QWidget { Q_OBJECT @@ -104,9 +116,9 @@ private: * Returns string with queue number or(and) repeate flag for the item number \b i. */ const QString getExtraString(int i); - int m_rows, m_first; - QList <QString> m_titles; - QList <QString> m_times; + int m_row_count, m_first; + //QList <QString> m_titles; + //QList <QString> m_times; PlayList *m_pl; QFont m_font, m_extra_font; QFontMetrics *m_metrics; @@ -131,6 +143,7 @@ private: bool m_show_anchor; bool m_align_numbres; int m_number_width; + QList<ListWidgetRow *> m_rows; MediaPlayer *m_player; PlayListPopup::PopupWidget *m_popupWidget; QTimer *m_timer; |
