Mercurial > hg > easaier-soundaccess
view widgets/ListResultGeneralItemWidget.h @ 190:61681a2bc1e6
keep MIN and MAX compatibility (VC and linux compilation)
author | lbajardsilogic |
---|---|
date | Tue, 27 Nov 2007 13:26:04 +0000 |
parents | c26c73ca6d37 |
children | be6d31baecb9 |
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); 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