TiPhotoLocator 1.1
A tiny application to easily geotag your photos
Chargement...
Recherche...
Aucune correspondance
Référence de la structure Photo

A data structure containing all the attributes for a photo picture: filename, GPS coordinates, etc. Plus de détails...

#include <PhotoModel.h>

Fonctions membres publiques

 Photo ()
 Default constructor.
 
 Photo (const QString &file_name, const QString &image_url, const bool is_marker=false, const bool is_welcome=false, bool is_selected=false)
 Constructeur avec valeurs.
 
bool operator== (const QString &file_name)
 Surcharge de l'opérateur ==.
 
bool operator== (const Photo &photo)
 Opérateur de comparaison standard.
 

Attributs publics

QString filename
 Example: "IMG_20230823_1234500.jpg".
 
QString imageUrl
 Example: "qrc:///Images/ibiza.png".
 
double gpsLatitude = 0
 GPS coordinates. Example: 38.980 (Ibiza)
 
double gpsLongitude = 0
 GPS coordinates. Example: 1.4333 (Ibiza)
 
bool hasGPS = false
 has GPS coordinates (latitude/longitude)
 
bool isSelected
 Indique que cet item est sélectionné dans la ListView.
 
bool isMarker = false
 Exemple: une position sauvegardée sur la carte.
 
bool isWelcome = false
 Exemple: L'image de la page d'acceuil.
 
bool insideCircle = false
 inside the radius of nearby photos
 
bool toBeSaved = false
 true if one of the following fields has been modified
 
QString dateTimeOriginal
 Time when the camera shutter was pressed (no changes allowed in this app)
 
QString camModel
 Camera model (no changes allowed in this app)
 
QString make
 Camera manifacturer (no changes allowed in this app)
 
int imageWidth = 0
 Image width (no changes allowed in this app)
 
int imageHeight = 0
 Image height (no changes allowed in this app)
 
int orientation = 1
 1 = Horizontal
 
float shutterSpeed = -1
 Durée d'exposition (no changes allowed in this app)
 
float fNumber = -1
 Ouverture (no changes allowed in this app)
 
QString creator
 Name of the photographer.
 
QString city
 City shown in the Photo.
 
QString country
 Country where the Photo was taken.
 
QString location
 City quarter or nearby monument or natural monument.
 
QString description
 can be: Description, ImageDescription or Caption;
 
QString captionWriter
 Initials of the description writer.
 
QString software
 Software of the camera or scanner device.
 
QStringList keywords
 This is a list of keywords describing the image.
 

Description détaillée

A data structure containing all the attributes for a photo picture: filename, GPS coordinates, etc.

Documentation des fonctions membres

◆ operator==() [1/2]

bool Photo::operator== ( const Photo photo)

Opérateur de comparaison standard.

Paramètres
photo: Un autre objet photo
Renvoie
True si les deux objets pointent sur les mêmes data.

◆ operator==() [2/2]

bool Photo::operator== ( const QString &  file_name)

Surcharge de l'opérateur ==.

Paramètres
file_nameLe texte à comparer
Renvoie
True si le filename de la photo correspond au texte passé en paramètre.

La documentation de cette structure a été générée à partir des fichiers suivants :