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:
parent
bc7d965a49
commit
07614a8f74
@ -4,6 +4,7 @@
|
||||
#include <QGraphicsItem>
|
||||
#include <QVector>
|
||||
#include <QLocale>
|
||||
#include <QFont>
|
||||
#include "common/range.h"
|
||||
|
||||
class AxisItem : public QGraphicsItem
|
||||
|
@ -3,6 +3,7 @@
|
||||
|
||||
#include <QGraphicsItem>
|
||||
#include <QList>
|
||||
#include <QFont>
|
||||
#include "common/kv.h"
|
||||
|
||||
class InfoItem : public QGraphicsItem
|
||||
|
@ -2,6 +2,7 @@
|
||||
#define MOTIONINFOITEM_H
|
||||
|
||||
#include <QGraphicsItem>
|
||||
#include <QFont>
|
||||
#include "units.h"
|
||||
|
||||
class MotionInfoItem : public QGraphicsItem
|
||||
|
@ -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
|
||||
|
@ -2,6 +2,7 @@
|
||||
#define SCALEITEM_H
|
||||
|
||||
#include <QGraphicsItem>
|
||||
#include <QFont>
|
||||
#include "units.h"
|
||||
|
||||
class ScaleItem : public QGraphicsItem
|
||||
|
@ -2,6 +2,7 @@
|
||||
#define SLIDERINFOITEM_H
|
||||
|
||||
#include <QGraphicsItem>
|
||||
#include <QFont>
|
||||
|
||||
class SliderInfoItem : public QGraphicsItem
|
||||
{
|
||||
|
@ -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)
|
||||
|
@ -2,6 +2,7 @@
|
||||
#define IMG_SHIELD_H
|
||||
|
||||
#include <QString>
|
||||
#include <QDebug>
|
||||
#include "common/hash.h"
|
||||
|
||||
#define FIRST_SHIELD Shield::USInterstate
|
||||
|
Loading…
x
Reference in New Issue
Block a user