1#ifndef PICTURE_LOADER_LOCAL_H
2#define PICTURE_LOADER_LOCAL_H
5#include <QLoggingCategory>
9#include <qtmetamacros.h>
81 const QString &correctedCardName,
82 const QString &collectorNumber,
83 const QString &providerId)
const;
QMultiHash< QString, QString > customFolderIndex
Multimap from cardName to file paths in CUSTOM folder.
Definition card_picture_loader_local.h:56
QString picsPath
Path to standard card image folder.
Definition card_picture_loader_local.h:53
QImage tryLoadCardImageFromDisk(const QString &setName, const QString &correctedCardName, const QString &collectorNumber, const QString &providerId) const
Attempts to load a card image from disk given its set and name info.
Definition card_picture_loader_local.cpp:82
QTimer * refreshTimer
Timer for periodic folder index refresh.
Definition card_picture_loader_local.h:57
QImage tryLoad(const ExactCard &toLoad) const
Attempts to load a card image from local disk or custom folders.
Definition card_picture_loader_local.cpp:62
void refreshIndex()
Rebuilds the index of the custom image folder.
Definition card_picture_loader_local.cpp:39
QString customPicsPath
Path to custom card image folder.
Definition card_picture_loader_local.h:54
CardPictureLoaderLocal(QObject *parent)
Constructs a CardPictureLoaderLocal object.
Definition card_picture_loader_local.cpp:24
void picsPathChanged()
Updates internal paths when the user changes picture settings.
Definition card_picture_loader_local.cpp:144
Represents a specific card instance, defined by its CardInfo and a particular printing.
Definition exact_card.h:24
Q_LOGGING_CATEGORY(CrashReportLog, "crash_report")