1 #ifndef __INFO_PANEL_H__
2 #define __INFO_PANEL_H__
5 #include <QNetworkAccessManager>
10 #include "InfoPanelLabel.h"
12 class InfoPanel : public QWidget
15 InfoPanel(QWidget *parent, QRect rect);
16 virtual ~InfoPanel(){}
17 QPushButton * getCancelButton() { return &cancelButton; }
18 QPushButton * getGoButton() { return &goButton; }
19 void populateInfo(Business & business);
22 InfoPanelLabel nameLabel;
23 InfoPanelLabel imageLabel;
24 InfoPanelLabel addressLabel;
25 InfoPanelLabel phoneLabel;
26 InfoPanelLabel imgRatingLabel;
27 InfoPanelLabel nbReviewsLabel;
28 InfoPanelLabel btnsBackground;
29 QPushButton cancelButton;
31 QNetworkAccessManager networkManager;
34 #endif // __INFO_PANEL_H__