mirror of
https://github.com/YACReader/yacreader
synced 2025-05-25 18:00:46 -04:00
Update ImportWidget to support XML scan mode
This commit is contained in:
parent
da51bd45c6
commit
dc68387fbc
@ -364,6 +364,18 @@ void ImportWidget::setUpgradeLook()
|
||||
hideButton->setVisible(false);
|
||||
}
|
||||
|
||||
void ImportWidget::setXMLScanLook()
|
||||
{
|
||||
iconLabel->setPixmap(QPixmap(":/images/updatingIcon.png"));
|
||||
text->setText("<font color=\"#495252\">" + tr("Scanning the library") + "</font>");
|
||||
textDescription->setText("<font color=\"#565959\">" + tr("<p>Current library is being scanned for legacy XML metadata information.</p><p>This is only needed once, and only if the library was crated with YACReaderLibrary 9.8.2 or earlier.</p>") + "</font>");
|
||||
|
||||
stopButton->setVisible(true);
|
||||
coversLabel->setVisible(false);
|
||||
coversViewContainer->setVisible(false);
|
||||
hideButton->setVisible(false);
|
||||
}
|
||||
|
||||
void ImportWidget::clearScene()
|
||||
{
|
||||
}
|
||||
|
@ -20,6 +20,7 @@ public slots:
|
||||
void setImportLook();
|
||||
void setUpdateLook();
|
||||
void setUpgradeLook();
|
||||
void setXMLScanLook();
|
||||
void showCovers(bool hide);
|
||||
|
||||
private:
|
||||
|
Loading…
Reference in New Issue
Block a user