View Single Post
Old 08-18-2024, 05:21 AM   #6
BeckyEbook
Guru
BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.
 
BeckyEbook's Avatar
 
Posts: 843
Karma: 3335974
Join Date: Jan 2017
Location: Poland
Device: Various
Hmmm... It works for Well-Formed Check EPUB (F7) and for validation plugins.
For SanityCheck itself I haven't checked, since it's probably called every time we use Validation Results.

I'll test it during normal operation for a few days and if I don't find some unpleasant side effect I'll send the diffs so you can figure out the proper naming for the voids yourself.

In brief:
For plugins: PluginRunner [plugin name] -> MainWindow -> ValidationResultsView
For Well-Formed: MainWindow::WellFormedCheckEpub() -> ValidationResultsView

Code:
void ValidationResultsView::setNewValidationTitle(const QString &text) {
    setWindowTitle(tr("Validation Results") + " • " + text);
}
BeckyEbook is offline   Reply With Quote