mirror of
https://github.com/YACReader/yacreader
synced 2025-05-28 03:10:27 -04:00
a?adidas las acciones para exportar e importar la informaci?n de los c?mics
This commit is contained in:
parent
c2fb7003c0
commit
2858262a0a
@ -33,5 +33,7 @@
|
||||
<file>../images/editComic.png</file>
|
||||
<file>../images/selectAll.png</file>
|
||||
<file>../images/hideComicFlow.png</file>
|
||||
<file>../images/exportComicsInfo.png</file>
|
||||
<file>../images/importComicsInfo.png</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
|
@ -217,11 +217,19 @@ void LibraryWindow::createActions()
|
||||
openLibraryAction->setShortcut(Qt::Key_O);
|
||||
openLibraryAction->setIcon(QIcon(":/images/openLibrary.png"));
|
||||
|
||||
exportLibraryAction = new QAction(this);
|
||||
exportComicsInfo = new QAction(tr("Export comics info"),this);
|
||||
exportComicsInfo->setToolTip(tr("Export comics info"));
|
||||
exportComicsInfo->setIcon(QIcon(":/images/exportComicsInfo.png"));
|
||||
|
||||
importComicsInfo = new QAction(tr("Import comics info"),this);
|
||||
importComicsInfo->setToolTip(tr("Import comics info"));
|
||||
importComicsInfo->setIcon(QIcon(":/images/importComicsInfo.png"));
|
||||
|
||||
exportLibraryAction = new QAction(tr("Pack covers"),this);
|
||||
exportLibraryAction->setToolTip(tr("Pack the covers of the selected library"));
|
||||
exportLibraryAction->setIcon(QIcon(":/images/exportLibrary.png"));
|
||||
|
||||
importLibraryAction = new QAction(this);
|
||||
importLibraryAction = new QAction(tr("Unpack covers"),this);
|
||||
importLibraryAction->setToolTip(tr("Unpack a catalog"));
|
||||
importLibraryAction->setIcon(QIcon(":/images/importLibrary.png"));
|
||||
|
||||
@ -410,8 +418,16 @@ void LibraryWindow::createToolBars()
|
||||
libraryToolBar->setIconSize(QSize(32,32)); //TODO make icon size dynamic
|
||||
libraryToolBar->addAction(createLibraryAction);
|
||||
libraryToolBar->addAction(openLibraryAction);
|
||||
libraryToolBar->addAction(exportLibraryAction);
|
||||
|
||||
libraryToolBar->addSeparator();
|
||||
|
||||
libraryToolBar->addAction(exportComicsInfo);
|
||||
libraryToolBar->addAction(importComicsInfo);
|
||||
|
||||
libraryToolBar->addSeparator();
|
||||
|
||||
libraryToolBar->addAction(importLibraryAction);
|
||||
libraryToolBar->addAction(exportLibraryAction);
|
||||
|
||||
libraryToolBar->addSeparator();
|
||||
libraryToolBar->addAction(updateLibraryAction);
|
||||
|
@ -79,8 +79,13 @@ private:
|
||||
QAction * showPropertiesAction;
|
||||
QAction * createLibraryAction;
|
||||
QAction * openLibraryAction;
|
||||
|
||||
QAction * exportComicsInfo;
|
||||
QAction * importComicsInfo;
|
||||
|
||||
QAction * exportLibraryAction;
|
||||
QAction * importLibraryAction;
|
||||
|
||||
QAction * updateLibraryAction;
|
||||
QAction * deleteLibraryAction;
|
||||
QAction * removeLibraryAction;
|
||||
|
Loading…
Reference in New Issue
Block a user