added new comic_vine folder containing all the ComicVine related clases

added QtScript dependency (json parser)
This commit is contained in:
Luis Ángel San Martín
2013-10-07 16:48:05 +02:00
parent b88715e26e
commit 9795f514e7
29 changed files with 733 additions and 354 deletions

View File

@ -0,0 +1,31 @@
#include "search_volume.h"
#include "scrapper_lineedit.h"
#include <QLabel>
#include <QVBoxLayout>
SearchVolume::SearchVolume(QWidget * parent)
:QWidget(parent)
{
QLabel * label = new QLabel(tr("No results found, please provide some aditional information."));
label->setStyleSheet("QLabel {color:white; font-size:12px;font-family:Arial;}");
volumeEdit = new ScrapperLineEdit(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);
}
QString SearchVolume::getVolumeInfo()
{
return volumeEdit->text();
}