mirror of
https://github.com/YACReader/yacreader
synced 2025-07-26 08:55:05 -04:00
fixed load volumes model in select volume
added full fordwar and backward navigation in volume scraping
This commit is contained in:
@ -73,6 +73,8 @@ void ComicVineDialog::doLayout()
|
||||
|
||||
setLayout(mainLayout);
|
||||
setFixedSize(872,529);
|
||||
|
||||
setWindowTitle("Comic Vine Scraper (beta)");
|
||||
}
|
||||
|
||||
void ComicVineDialog::doStackedWidgets()
|
||||
@ -145,6 +147,9 @@ void ComicVineDialog::goBack()
|
||||
else
|
||||
showSearchSingleComic();
|
||||
break;
|
||||
case SortingComics:
|
||||
showSelectVolume();
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
@ -265,6 +270,12 @@ void ComicVineDialog::showSearchVolume()
|
||||
}
|
||||
|
||||
void ComicVineDialog::showSelectVolume(const QString & json)
|
||||
{
|
||||
showSelectVolume();
|
||||
selectVolumeWidget->load(json);
|
||||
}
|
||||
|
||||
void ComicVineDialog::showSelectVolume()
|
||||
{
|
||||
status = SelectingSeries;
|
||||
|
||||
@ -274,8 +285,6 @@ void ComicVineDialog::showSelectVolume(const QString & json)
|
||||
nextButton->setVisible(true);
|
||||
searchButton->setHidden(true);
|
||||
closeButton->setVisible(true);
|
||||
|
||||
selectVolumeWidget->load(json);
|
||||
}
|
||||
|
||||
void ComicVineDialog::showSelectComic(const QString &json)
|
||||
@ -286,8 +295,16 @@ void ComicVineDialog::showSelectComic(const QString &json)
|
||||
|
||||
void ComicVineDialog::showSortVolumeComics(const QString &json)
|
||||
{
|
||||
status = SortingComics;
|
||||
|
||||
content->setCurrentWidget(sortVolumeComicsWidget);
|
||||
|
||||
sortVolumeComicsWidget->setData(comics, json);
|
||||
|
||||
backButton->setVisible(true);
|
||||
nextButton->setVisible(true);
|
||||
searchButton->setHidden(true);
|
||||
closeButton->setVisible(true);
|
||||
}
|
||||
|
||||
void ComicVineDialog::showLoading()
|
||||
|
Reference in New Issue
Block a user