23#include <QGeoCoordinate>
24#include <QGeoRectangle>
27using namespace Qt::Literals::StringLiterals;
49 friend QDataStream& operator<<(QDataStream& stream, const GeoMaps::
VAC& vac);
50 friend QDataStream& operator>>(QDataStream& stream, GeoMaps::
VAC& vac);
76 VAC(const QString& fName, const QString& unmingledFName);
162 [[nodiscard]] QGeoCoordinate
center()
const;
202 return {u
"image/jpg"_s,
236 void getCoordsFromUnmingledFileName(
const QString& unmingledFilename);
239 void getNameFromUnmingledFileName(
const QString& unmingledFilename);
242 [[nodiscard]]
bool hasValidCoordinates()
const;
246QDataStream& operator<<(QDataStream& stream,
const GeoMaps::VAC& vac);
249QDataStream& operator>>(QDataStream& stream,
GeoMaps::VAC& vac);
bool operator==(const VAC &other) const =default
Comparison.
QGeoCoordinate bottomRight
Geographic coordinate of raster image corner.
QString description
Describe installed file(s)
QGeoCoordinate topRight
Geographic coordinate of raster image corner.
QGeoCoordinate topLeft
Geographic coordinate of raster image corner.
QGeoCoordinate center
Center coordinate.
VAC()=default
Default constructor, creates an invalid VAC.
QGeoRectangle boundingBox
Bounding box.
QString name
Name of the VAC.
bool isValid() const
Getter function for property of the same name.
QGeoCoordinate bottomLeft
Geographic coordinate of raster image corner.
QGeoCoordinate center() const
Getter function for property of the same name.
QString infoText() const
Getter function for property of the same name.
QString infoText
Short info text.
QString description() const
Getter function for property of the same name.
QString fileName
Name of raster image file.
static QStringList mimeTypes()
Mime type for files that can be opened by this class.