#ifndef __INFO_PANEL_H__ #define __INFO_PANEL_H__ #include #include #include #include #include "Business.h" #include "InfoPanelLabel.h" class InfoPanel : public QWidget { public: InfoPanel(QWidget *parent, QRect rect); virtual ~InfoPanel(){} QPushButton * getCancelButton() { return &cancelButton; } QPushButton * getGoButton() { return &goButton; } void populateInfo(Business & business); private: InfoPanelLabel nameLabel; InfoPanelLabel imageLabel; InfoPanelLabel addressLabel; InfoPanelLabel phoneLabel; InfoPanelLabel imgRatingLabel; InfoPanelLabel nbReviewsLabel; InfoPanelLabel btnsBackground; QPushButton cancelButton; QPushButton goButton; QNetworkAccessManager networkManager; }; #endif // __INFO_PANEL_H__