summaryrefslogtreecommitdiffstats
path: root/InfoPanel.h
diff options
context:
space:
mode:
Diffstat (limited to 'InfoPanel.h')
-rw-r--r--InfoPanel.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/InfoPanel.h b/InfoPanel.h
new file mode 100644
index 0000000..0602c9f
--- /dev/null
+++ b/InfoPanel.h
@@ -0,0 +1,33 @@
+#ifndef __INFO_PANEL_H__
+#define __INFO_PANEL_H__
+
+#include <QWidget>
+#include <QNetworkAccessManager>
+#include <QRect>
+#include <QPushButton>
+
+#include "Business.h"
+#include "InfoPanelLabel.h"
+
+class InfoPanel
+{
+ public:
+ InfoPanel(QWidget *parent, Business & business, QRect rect);
+ virtual ~InfoPanel(){}
+ QPushButton * getCancelButton() { return &cancelButton; }
+ QPushButton * getGoButton() { return &goButton; }
+
+ 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__