Add support for exact match searches

It will be enabled by default.
This commit is contained in:
Luis Ángel San Martín
2025-05-05 18:35:07 +02:00
parent e5f02bebe5
commit 868de856a7
21 changed files with 265 additions and 118 deletions

View File

@ -1,9 +1,11 @@
#ifndef SEARCH_VOLUME_H
#define SEARCH_VOLUME_H
#include <QWidget>
#include <QtWidgets>
#include "scraper_checkbox.h"
class ScraperLineEdit;
class ScraperCheckBox;
class SearchVolume : public QWidget
{
@ -13,9 +15,11 @@ public:
void clean();
void setVolumeInfo(const QString &volume);
QString getVolumeInfo() const;
bool getExactMatch() const { return exactMatchCheckBox->isChecked(); }
private:
ScraperLineEdit *volumeEdit;
ScraperCheckBox *exactMatchCheckBox;
};
#endif // SEARCH_VOLUME_H