mirror of
https://github.com/YACReader/yacreader
synced 2026-04-12 15:49:53 -04:00
Some checks failed
Build / Initialization (push) Has been cancelled
Build / Code Format Validation (push) Has been cancelled
Build / Linux (Qt6) (push) Has been cancelled
Build / Linux (Qt6 + 7zip) (push) Has been cancelled
Build / macOS (Qt6 Universal) (push) Has been cancelled
Build / Windows x64 (Qt6) (push) Has been cancelled
Build / Windows ARM64 (Qt6) (push) Has been cancelled
Build / Docker amd64 Image (push) Has been cancelled
Build / Docker arm64 Image (push) Has been cancelled
Build / Publish Dev Builds (push) Has been cancelled
Build / Publish Release (push) Has been cancelled
Build / Publish YACReader10 Pre-release Builds (push) Has been cancelled
33 lines
681 B
C++
33 lines
681 B
C++
#ifndef SEARCH_VOLUME_H
|
|
#define SEARCH_VOLUME_H
|
|
|
|
#include "scraper_checkbox.h"
|
|
#include "themable.h"
|
|
|
|
#include <QLabel>
|
|
#include <QWidget>
|
|
|
|
class ScraperLineEdit;
|
|
class ScraperCheckBox;
|
|
|
|
class SearchVolume : public QWidget, protected Themable
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
SearchVolume(QWidget *parent = nullptr);
|
|
void clean();
|
|
void setVolumeInfo(const QString &volume);
|
|
QString getVolumeInfo() const;
|
|
bool getExactMatch() const { return exactMatchCheckBox->isChecked(); }
|
|
|
|
private:
|
|
ScraperLineEdit *volumeEdit;
|
|
ScraperCheckBox *exactMatchCheckBox;
|
|
QLabel *label;
|
|
|
|
protected:
|
|
void applyTheme(const Theme &theme) override;
|
|
};
|
|
|
|
#endif // SEARCH_VOLUME_H
|