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);
179 [[nodiscard]] QGeoCoordinate
center()
const;
225 return {u
"image/jpg"_s,
262 void getCoordsFromUnmingledFileName(
const QString& unmingledFilename);
265 void getNameFromUnmingledFileName(
const QString& unmingledFilename);
268 [[nodiscard]]
bool hasValidCoordinates()
const;
272QDataStream& operator<<(QDataStream& stream,
const GeoMaps::VAC& vac);
275QDataStream& 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).
QString section() const
Getter function for property of the same name.
QGeoCoordinate topRight
Geographic coordinate of raster image corner.
QGeoCoordinate topLeft
Geographic coordinate of raster image corner.
QString collection
Name of the collection containing this VAC.
QGeoCoordinate center
Center coordinate.
VAC()=default
Default constructor, creates an invalid VAC.
QString section
Section name, for grouping in GUI lists.
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.