mirror of
https://github.com/YACReader/yacreader
synced 2025-05-28 03:10:27 -04:00
Merge pull request #228 from YACReader/feature/make_comic_vine_dialog_more_keyboard_friendly
Feature: make comic vine dialog more keyboard friendly
This commit is contained in:
commit
49ad387908
@ -14,6 +14,7 @@ Version counting is based on semantic versioning (Major.Feature.Patch)
|
||||
* New search engine.
|
||||
* New `manga` field added to comics and folders to tag content as manga, any content added to a manga folder will become manga automatically.
|
||||
* Support for HTML in comic synopsis, this fixes the synopsis when it comes from Comic Vine with HTML tags.
|
||||
* Improve keyboard navigation in Comic Vine dialog.
|
||||
|
||||
## 9.7.1
|
||||
### YACReader
|
||||
|
@ -57,6 +57,11 @@ void ComicVineDialog::doLayout()
|
||||
searchButton = new QPushButton(tr("search"));
|
||||
closeButton = new QPushButton(tr("close"));
|
||||
|
||||
backButton->setShortcut(QKeySequence(Qt::Key_Backspace));
|
||||
|
||||
closeButton->setDefault(false);
|
||||
closeButton->setAutoDefault(false);
|
||||
|
||||
skipButton->setStyleSheet(dialogButtonsStyleSheet);
|
||||
backButton->setStyleSheet(dialogButtonsStyleSheet);
|
||||
nextButton->setStyleSheet(dialogButtonsStyleSheet);
|
||||
@ -303,10 +308,9 @@ void ComicVineDialog::showSeriesQuestion()
|
||||
searchButton->setHidden(true);
|
||||
closeButton->setVisible(true);
|
||||
|
||||
if (mode == SingleComicInList)
|
||||
skipButton->setVisible(true);
|
||||
else
|
||||
skipButton->setHidden(true);
|
||||
nextButton->setDefault(true);
|
||||
|
||||
toggleSkipButton();
|
||||
}
|
||||
|
||||
void ComicVineDialog::showSearchSingleComic()
|
||||
@ -319,10 +323,9 @@ void ComicVineDialog::showSearchSingleComic()
|
||||
searchButton->setVisible(true);
|
||||
closeButton->setVisible(true);
|
||||
|
||||
if (mode == SingleComicInList)
|
||||
skipButton->setVisible(true);
|
||||
else
|
||||
skipButton->setHidden(true);
|
||||
searchButton->setDefault(true);
|
||||
|
||||
toggleSkipButton();
|
||||
}
|
||||
|
||||
void ComicVineDialog::showSearchVolume()
|
||||
@ -333,6 +336,9 @@ void ComicVineDialog::showSearchVolume()
|
||||
nextButton->setHidden(true);
|
||||
searchButton->setVisible(true);
|
||||
closeButton->setVisible(true);
|
||||
|
||||
searchButton->setDefault(true);
|
||||
|
||||
toggleSkipButton();
|
||||
}
|
||||
|
||||
@ -352,6 +358,9 @@ void ComicVineDialog::showSelectVolume()
|
||||
nextButton->setVisible(true);
|
||||
searchButton->setHidden(true);
|
||||
closeButton->setVisible(true);
|
||||
|
||||
nextButton->setDefault(true);
|
||||
|
||||
toggleSkipButton();
|
||||
}
|
||||
|
||||
@ -366,6 +375,9 @@ void ComicVineDialog::showSelectComic(const QString &json)
|
||||
nextButton->setVisible(true);
|
||||
searchButton->setHidden(true);
|
||||
closeButton->setVisible(true);
|
||||
|
||||
nextButton->setDefault(true);
|
||||
|
||||
toggleSkipButton();
|
||||
}
|
||||
|
||||
@ -381,6 +393,9 @@ void ComicVineDialog::showSortVolumeComics(const QString &json)
|
||||
nextButton->setVisible(true);
|
||||
searchButton->setHidden(true);
|
||||
closeButton->setVisible(true);
|
||||
|
||||
nextButton->setDefault(true);
|
||||
|
||||
toggleSkipButton();
|
||||
}
|
||||
|
||||
|
@ -57,6 +57,7 @@ YACReader::WhatsNewDialog::WhatsNewDialog(QWidget *parent)
|
||||
" • New fuzzy search engine. Type to search into any field of the database, or target specific content <i>\"read:false manga:true filename:3x3\"</i>, read more about how it works in the <a href=\"https://www.yacreader.com\" style=\"color:#E8B800;\">web site</a>. <br/>"
|
||||
" • New `manga` field added to comics and folders to tag content as manga, any content added to a manga folder will become manga automatically.<br/>"
|
||||
" • Support for HTML in comic synopsis, this fixes the synopsis when it comes from Comic Vine with HTML tags.<br/>"
|
||||
" • Improve keyboard navigation in Comic Vine dialog. Enter will trigger next or search and Backspace will go back to the previous section.<br/>"
|
||||
"<br/>"
|
||||
"<span style=\"font-weight:600\">Server</span><br/>"
|
||||
" • New `manga` field is sent to YACReader for iOS, so comics tagged as manga will be recognized as such when reading remotely or importing comics.<br/>"
|
||||
|
Loading…
Reference in New Issue
Block a user