mirror of
https://github.com/YACReader/yacreader
synced 2025-07-21 06:24:39 -04:00
Add support for exact match searches
It will be enabled by default.
This commit is contained in:
27
YACReaderLibrary/comic_vine/scraper_checkbox.cpp
Normal file
27
YACReaderLibrary/comic_vine/scraper_checkbox.cpp
Normal file
@ -0,0 +1,27 @@
|
||||
#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;"
|
||||
"}");
|
||||
}
|
Reference in New Issue
Block a user