Mercurial > hg > easaier-soundaccess
view widgets/ListResultGeneralItemWidget.h @ 282:d9319859a4cf tip
(none)
author | benoitrigolleau |
---|---|
date | Fri, 31 Oct 2008 11:00:24 +0000 |
parents | be6d31baecb9 |
children |
line wrap: on
line source
/* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */ /* Sound Access EASAIER client application. Silogic 2007. Benoit Rigolleau. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. See the file COPYING included with this distribution for more information. */ #ifndef LIST_RESULT_GENERAL_ITEM_WIDGET_H #define LIST_RESULT_GENERAL_ITEM_WIDGET_H #include "ConfidenceListWidget.h" #include "WaitingWidget.h" #include "CriteriaDialog.h" #include <QWidget> #include <QFrame> #include <QLabel> #include <QPushButton> #include <QHBoxLayout> #include <QVBoxLayout> #include <QString> class ListResultGeneralItemWidget : public QWidget { Q_OBJECT public: ListResultGeneralItemWidget(QWidget *parent=0); virtual ~ListResultGeneralItemWidget(); void setTitleAndAuthorName(QString author,QString title, QString uri); void setRank(int rank); void setType(int type); void addConfidence(int confidence, QString confidenceName); signals: void linkActivated(const QString& link); private: QVBoxLayout *vLayout1; QVBoxLayout *vLayout2; QHBoxLayout *hLayout1; QHBoxLayout *hLayout2; QHBoxLayout *hLayout3; QLabel *m_labelRank; QLabel *m_labelIcon; QLabel *m_labelTitleArtist; QLabel *label4; QLabel *label5; QPushButton *m_buttonPrev; QPushButton *m_buttonSimilar; ConfidenceListWidget *m_confidenceListWidget; WaitingWidget *m_waitingWidget; CriteriaDialog *m_criteriaDialog; private slots: void displayCriteria(); }; #endif