aboutsummaryrefslogtreecommitdiffstats
path: root/stats/informationbox.h
diff options
context:
space:
mode:
Diffstat (limited to 'stats/informationbox.h')
-rw-r--r--stats/informationbox.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/stats/informationbox.h b/stats/informationbox.h
index 0c71447aa..741df537f 100644
--- a/stats/informationbox.h
+++ b/stats/informationbox.h
@@ -10,19 +10,16 @@
#include <memory>
#include <QFont>
-namespace QtCharts {
- class QChart;
-}
struct dive;
+class QGraphicsScene;
// Information window showing data of highlighted dive
struct InformationBox : RoundRectItem {
- InformationBox(QtCharts::QChart *chart);
+ InformationBox();
void setText(const std::vector<QString> &text, QPointF pos);
void setPos(QPointF pos);
int recommendedMaxLines() const;
private:
- QtCharts::QChart *chart;
QFont font; // For future specialization.
double width, height;
void addLine(const QString &s);