added comic vine dialog (empty)

This commit is contained in:
Luis Ángel San Martín 2013-09-05 11:52:18 +02:00
parent c18e6a3e85
commit 2de876f5a9
4 changed files with 16 additions and 7 deletions

View File

@ -3,4 +3,8 @@
ComicVineDialog::ComicVineDialog(QWidget *parent) : ComicVineDialog::ComicVineDialog(QWidget *parent) :
QDialog(parent) QDialog(parent)
{ {
setStyleSheet(""
"QDialog {background-color: #404040; }"
"");
setFixedSize(672,529);
} }

View File

@ -55,6 +55,8 @@
#include "comics_remover.h" #include "comics_remover.h"
#include "yacreader_library_list_widget.h" #include "yacreader_library_list_widget.h"
#include "yacreader_treeview.h" #include "yacreader_treeview.h"
#include "comic_vine_dialog.h"
//#include "yacreader_social_dialog.h" //#include "yacreader_social_dialog.h"
// //
@ -261,6 +263,7 @@ void LibraryWindow::doDialogs()
createLibraryDialog = new CreateLibraryDialog(this); createLibraryDialog = new CreateLibraryDialog(this);
renameLibraryDialog = new RenameLibraryDialog(this); renameLibraryDialog = new RenameLibraryDialog(this);
propertiesDialog = new PropertiesDialog(this); propertiesDialog = new PropertiesDialog(this);
comicVineDialog = new ComicVineDialog(this);
exportLibraryDialog = new ExportLibraryDialog(this); exportLibraryDialog = new ExportLibraryDialog(this);
importLibraryDialog = new ImportLibraryDialog(this); importLibraryDialog = new ImportLibraryDialog(this);
exportComicsInfoDialog = new ExportComicsInfoDialog(this); exportComicsInfoDialog = new ExportComicsInfoDialog(this);
@ -1415,7 +1418,7 @@ void LibraryWindow::showProperties()
void LibraryWindow::showComicVineScraper() void LibraryWindow::showComicVineScraper()
{ {
comicVineDialog->show();
} }
void LibraryWindow::asignNumbers() void LibraryWindow::asignNumbers()

View File

@ -48,6 +48,7 @@ class YACReaderSideBar;
class YACReaderLibraryListWidget; class YACReaderLibraryListWidget;
class YACReaderTreeView; class YACReaderTreeView;
class YACReaderMainToolBar; class YACReaderMainToolBar;
class ComicVineDialog;
#include "comic_db.h" #include "comic_db.h"
using namespace YACReader; using namespace YACReader;
@ -68,6 +69,7 @@ private:
HelpAboutDialog * had; HelpAboutDialog * had;
RenameLibraryDialog * renameLibraryDialog; RenameLibraryDialog * renameLibraryDialog;
PropertiesDialog * propertiesDialog; PropertiesDialog * propertiesDialog;
ComicVineDialog * comicVineDialog;
//YACReaderSocialDialog * socialDialog; //YACReaderSocialDialog * socialDialog;
bool fullscreen; bool fullscreen;
bool importedCovers; //if true, the library is read only (not updates,open comic or properties) bool importedCovers; //if true, the library is read only (not updates,open comic or properties)