diff options
Diffstat (limited to 'stats/informationbox.h')
-rw-r--r-- | stats/informationbox.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/stats/informationbox.h b/stats/informationbox.h index 7e9253dc7..0c71447aa 100644 --- a/stats/informationbox.h +++ b/stats/informationbox.h @@ -4,9 +4,10 @@ #ifndef INFORMATION_BOX_H #define INFORMATION_BOX_H +#include "backend-shared/roundrectitem.h" + #include <vector> #include <memory> -#include <QGraphicsRectItem> #include <QFont> namespace QtCharts { @@ -15,7 +16,7 @@ namespace QtCharts { struct dive; // Information window showing data of highlighted dive -struct InformationBox : QGraphicsRectItem { +struct InformationBox : RoundRectItem { InformationBox(QtCharts::QChart *chart); void setText(const std::vector<QString> &text, QPointF pos); void setPos(QPointF pos); |