1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2025-01-31 09:05:14 +01:00

Added missing header includes

This commit is contained in:
Martin Tůma 2024-01-04 18:53:43 +01:00
parent bc7d965a49
commit 07614a8f74
8 changed files with 12 additions and 2 deletions

View File

@ -4,6 +4,7 @@
#include <QGraphicsItem>
#include <QVector>
#include <QLocale>
#include <QFont>
#include "common/range.h"
class AxisItem : public QGraphicsItem

View File

@ -3,6 +3,7 @@
#include <QGraphicsItem>
#include <QList>
#include <QFont>
#include "common/kv.h"
class InfoItem : public QGraphicsItem

View File

@ -2,6 +2,7 @@
#define MOTIONINFOITEM_H
#include <QGraphicsItem>
#include <QFont>
#include "units.h"
class MotionInfoItem : public QGraphicsItem

View File

@ -3,6 +3,7 @@
#include <QFont>
#include <QGraphicsItem>
#include <QtMath>
#include "graphicsscene.h"
class PathTickItem : public GraphicsItem
@ -16,7 +17,7 @@ public:
void setPos(const QPointF &pos);
void setColor(const QColor &color) {_brush = QBrush(color);}
void setDigitalZoom(int zoom) {setScale(pow(2, -zoom));}
void setDigitalZoom(int zoom) {setScale(qPow(2, -zoom));}
int type() const {return parentItem()->type();}
ToolTip info() const

View File

@ -2,6 +2,7 @@
#define SCALEITEM_H
#include <QGraphicsItem>
#include <QFont>
#include "units.h"
class ScaleItem : public QGraphicsItem

View File

@ -2,6 +2,7 @@
#define SLIDERINFOITEM_H
#include <QGraphicsItem>
#include <QFont>
class SliderInfoItem : public QGraphicsItem
{

View File

@ -2,9 +2,12 @@
#define HASH_H
#include <QtGlobal>
#include <QPoint>
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
#include <QPoint>
#include <QPair>
#include <QHash>
#define HASH_T uint
inline uint qHash(const QPoint &p)

View File

@ -2,6 +2,7 @@
#define IMG_SHIELD_H
#include <QString>
#include <QDebug>
#include "common/hash.h"
#define FIRST_SHIELD Shield::USInterstate