Delete COPYING as LICENSE is to be used
[apps/poi-yelp.git] / InfoPanel.h
1 #ifndef __INFO_PANEL_H__
2 #define __INFO_PANEL_H__
3
4 #include <QWidget>
5 #include <QNetworkAccessManager>
6 #include <QRect>
7 #include <QPushButton>
8
9 #include "Business.h"
10 #include "InfoPanelLabel.h"
11
12 class InfoPanel : public QWidget
13 {
14     public:
15         InfoPanel(QWidget *parent, QRect rect);
16         virtual ~InfoPanel(){}
17         QPushButton * getCancelButton() { return &cancelButton; }
18         QPushButton * getGoButton() { return &goButton; }
19         void populateInfo(Business & business);
20
21     private:
22         InfoPanelLabel nameLabel;
23         InfoPanelLabel imageLabel;
24         InfoPanelLabel addressLabel;
25         InfoPanelLabel phoneLabel;
26         InfoPanelLabel imgRatingLabel;
27         InfoPanelLabel nbReviewsLabel;
28         InfoPanelLabel btnsBackground;
29         QPushButton cancelButton;
30         QPushButton goButton;
31         QNetworkAccessManager networkManager;
32 };
33
34 #endif // __INFO_PANEL_H__