yacreader/YACReaderLibrary/comic_vine/scraper_checkbox.cpp
Luis Ángel San Martín 868de856a7 Add support for exact match searches
It will be enabled by default.
2025-05-05 18:35:07 +02:00

28 lines
828 B
C++

#include "scraper_checkbox.h"
#include "qwidget.h"
ScraperCheckBox::ScraperCheckBox(const QString &text, QWidget *parent)
: QCheckBox(text, parent)
{
setStyleSheet(
"QCheckBox {"
" color: white;"
" font-size: 12px;"
" font-family: Arial;"
" spacing: 10px;"
"}"
"QCheckBox::indicator {"
" width: 13px;"
" height: 13px;"
" border: 1px solid #242424;"
" background: #2e2e2e;"
"}"
"QCheckBox::indicator:checked {"
" image: url(:/images/comic_vine/checkBoxTick.svg);"
" background: #2e2e2e;"
"}"
"QCheckBox::indicator:unchecked {"
" background: #2e2e2e;"
"}");
}