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 <QGraphicsItem>
|
||||||
#include <QVector>
|
#include <QVector>
|
||||||
#include <QLocale>
|
#include <QLocale>
|
||||||
|
#include <QFont>
|
||||||
#include "common/range.h"
|
#include "common/range.h"
|
||||||
|
|
||||||
class AxisItem : public QGraphicsItem
|
class AxisItem : public QGraphicsItem
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
#include <QGraphicsItem>
|
#include <QGraphicsItem>
|
||||||
#include <QList>
|
#include <QList>
|
||||||
|
#include <QFont>
|
||||||
#include "common/kv.h"
|
#include "common/kv.h"
|
||||||
|
|
||||||
class InfoItem : public QGraphicsItem
|
class InfoItem : public QGraphicsItem
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
#define MOTIONINFOITEM_H
|
#define MOTIONINFOITEM_H
|
||||||
|
|
||||||
#include <QGraphicsItem>
|
#include <QGraphicsItem>
|
||||||
|
#include <QFont>
|
||||||
#include "units.h"
|
#include "units.h"
|
||||||
|
|
||||||
class MotionInfoItem : public QGraphicsItem
|
class MotionInfoItem : public QGraphicsItem
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
#include <QFont>
|
#include <QFont>
|
||||||
#include <QGraphicsItem>
|
#include <QGraphicsItem>
|
||||||
|
#include <QtMath>
|
||||||
#include "graphicsscene.h"
|
#include "graphicsscene.h"
|
||||||
|
|
||||||
class PathTickItem : public GraphicsItem
|
class PathTickItem : public GraphicsItem
|
||||||
@ -16,7 +17,7 @@ public:
|
|||||||
|
|
||||||
void setPos(const QPointF &pos);
|
void setPos(const QPointF &pos);
|
||||||
void setColor(const QColor &color) {_brush = QBrush(color);}
|
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();}
|
int type() const {return parentItem()->type();}
|
||||||
ToolTip info() const
|
ToolTip info() const
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
#define SCALEITEM_H
|
#define SCALEITEM_H
|
||||||
|
|
||||||
#include <QGraphicsItem>
|
#include <QGraphicsItem>
|
||||||
|
#include <QFont>
|
||||||
#include "units.h"
|
#include "units.h"
|
||||||
|
|
||||||
class ScaleItem : public QGraphicsItem
|
class ScaleItem : public QGraphicsItem
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
#define SLIDERINFOITEM_H
|
#define SLIDERINFOITEM_H
|
||||||
|
|
||||||
#include <QGraphicsItem>
|
#include <QGraphicsItem>
|
||||||
|
#include <QFont>
|
||||||
|
|
||||||
class SliderInfoItem : public QGraphicsItem
|
class SliderInfoItem : public QGraphicsItem
|
||||||
{
|
{
|
||||||
|
@ -2,9 +2,12 @@
|
|||||||
#define HASH_H
|
#define HASH_H
|
||||||
|
|
||||||
#include <QtGlobal>
|
#include <QtGlobal>
|
||||||
#include <QPoint>
|
|
||||||
|
|
||||||
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
|
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
|
||||||
|
#include <QPoint>
|
||||||
|
#include <QPair>
|
||||||
|
#include <QHash>
|
||||||
|
|
||||||
#define HASH_T uint
|
#define HASH_T uint
|
||||||
|
|
||||||
inline uint qHash(const QPoint &p)
|
inline uint qHash(const QPoint &p)
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
#define IMG_SHIELD_H
|
#define IMG_SHIELD_H
|
||||||
|
|
||||||
#include <QString>
|
#include <QString>
|
||||||
|
#include <QDebug>
|
||||||
#include "common/hash.h"
|
#include "common/hash.h"
|
||||||
|
|
||||||
#define FIRST_SHIELD Shield::USInterstate
|
#define FIRST_SHIELD Shield::USInterstate
|
||||||
|
Loading…
x
Reference in New Issue
Block a user