MCPcopy Create free account
hub / github.com/YACReader/yacreader / doDialogs

Method doDialogs

YACReaderLibrary/library_window.cpp:374–406  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

372}
373
374void LibraryWindow::doDialogs()
375{
376 createLibraryDialog = new CreateLibraryDialog(this);
377 renameLibraryDialog = new RenameLibraryDialog(this);
378 propertiesDialog = new PropertiesDialog(this);
379 comicVineDialog = new ComicVineDialog(this);
380 exportLibraryDialog = new ExportLibraryDialog(this);
381 importLibraryDialog = new ImportLibraryDialog(this);
382 exportComicsInfoDialog = new ExportComicsInfoDialog(this);
383 importComicsInfoDialog = new ImportComicsInfoDialog(this);
384 addLibraryDialog = new AddLibraryDialog(this);
385 optionsDialog = new OptionsDialog(this);
386 optionsDialog->restoreOptions(settings);
387
388 editShortcutsDialog = new EditShortcutsDialog(this);
389 actions.setUpShortcutsManagement(editShortcutsDialog);
390
391#ifdef SERVER_RELEASE
392 serverConfigDialog = new ServerConfigDialog(this);
393#endif
394
395 had = new HelpAboutDialog(this); // TODO load data.
396 QString sufix = QLocale::system().name();
397 if (QFile(":/files/about_" + sufix + ".html").exists())
398 had->loadAboutInformation(":/files/about_" + sufix + ".html");
399 else
400 had->loadAboutInformation(":/files/about.html");
401
402 if (QFile(":/files/helpYACReaderLibrary_" + sufix + ".html").exists())
403 had->loadHelp(":/files/helpYACReaderLibrary_" + sufix + ".html");
404 else
405 had->loadHelp(":/files/helpYACReaderLibrary.html");
406}
407
408void LibraryWindow::doModels()
409{

Callers

nothing calls this directly

Calls 5

loadAboutInformationMethod · 0.80
loadHelpMethod · 0.80
restoreOptionsMethod · 0.45
nameMethod · 0.45

Tested by

no test coverage detected