From 8217d254a1aad036c554b1fc18c356079734ea7a Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Mon, 8 Jul 2013 17:39:11 +0000 Subject: 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 --- src/plugins/Ui/skinned/listwidget.h | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) (limited to 'src/plugins/Ui/skinned/listwidget.h') 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 * @@ -39,6 +39,18 @@ namespace PlayListPopup{ class PopupWidget; } +/** + @author Ilya Kotov +*/ +struct ListWidgetRow +{ + QString title; + QString length; + QString extraString; + int index; + PlayListItem *item; +}; + /** @author Ilya Kotov */ @@ -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 m_titles; - QList m_times; + int m_row_count, m_first; + //QList m_titles; + //QList 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 m_rows; MediaPlayer *m_player; PlayListPopup::PopupWidget *m_popupWidget; QTimer *m_timer; -- cgit v1.2.3-13-gbd6f