mirror of
https://github.com/YACReader/yacreader
synced 2025-05-28 03:10:27 -04:00
37 lines
711 B
C++
37 lines
711 B
C++
#include "search_volume.h"
|
|
|
|
#include "scraper_lineedit.h"
|
|
|
|
#include <QLabel>
|
|
#include <QVBoxLayout>
|
|
|
|
SearchVolume::SearchVolume(QWidget * parent)
|
|
:QWidget(parent)
|
|
{
|
|
QLabel * label = new QLabel(tr("Please provide some additional information."));
|
|
label->setStyleSheet("QLabel {color:white; font-size:12px;font-family:Arial;}");
|
|
|
|
volumeEdit = new ScraperLineEdit(tr("Series:"));
|
|
|
|
QVBoxLayout * l = new QVBoxLayout;
|
|
|
|
l->addSpacing(35);
|
|
l->addWidget(label);
|
|
l->addWidget(volumeEdit);
|
|
l->addStretch();
|
|
|
|
l->setContentsMargins(0,0,0,0);
|
|
setLayout(l);
|
|
setContentsMargins(0,0,0,0);
|
|
}
|
|
|
|
void SearchVolume::clean()
|
|
{
|
|
volumeEdit->clear();
|
|
}
|
|
|
|
QString SearchVolume::getVolumeInfo()
|
|
{
|
|
return volumeEdit->text();
|
|
}
|