a?adida el icono de asignaci?n de n?meros a los c?mics

corregido el bug que manten?a algunas acciones activadas cuando no deb?an estarlo

YACReader RC1.1
This commit is contained in:
Luis Ángel San Martín 2012-07-13 17:37:06 +02:00
parent 7692ecb2ba
commit d44e239600
4 changed files with 50 additions and 42 deletions

View File

@ -1,40 +1,41 @@
<RCC>
<qresource prefix="/" >
<file>../images/deleteLibrary.png</file>
<file>../images/folder.png</file>
<file>../images/help.png</file>
<file>../images/icon.png</file>
<file>../images/new.png</file>
<file>../images/openLibrary.png</file>
<file>../images/removeLibrary.png</file>
<file>../images/updateLibrary.png</file>
<file>../images/setRoot.png</file>
<file>../images/expand.png</file>
<file>../images/colapse.png</file>
<file>../images/comicFolder.png</file>
<file>../images/notCover.png</file>
<file>../images/edit.png</file>
<file>../images/fit.png</file>
<file>../images/properties.png</file>
<file>../images/options.png</file>
<file>../images/flow1.png</file>
<file>../images/flow2.png</file>
<file>../images/flow3.png</file>
<file>../images/importLibrary.png</file>
<file>../images/exportLibrary.png</file>
<file>../images/open.png</file>
<file>../images/coversPackage.png</file>
<file>../images/setRead.png</file>
<file>../images/setAllRead.png</file>
<file>../images/setUnread.png</file>
<file>../images/setAllUnread.png</file>
<file>../images/showMarks.png</file>
<file>../images/importCover.png</file>
<file>../images/editComic.png</file>
<file>../images/selectAll.png</file>
<file>../images/hideComicFlow.png</file>
<qresource prefix="/" >
<file>../images/deleteLibrary.png</file>
<file>../images/folder.png</file>
<file>../images/help.png</file>
<file>../images/icon.png</file>
<file>../images/new.png</file>
<file>../images/openLibrary.png</file>
<file>../images/removeLibrary.png</file>
<file>../images/updateLibrary.png</file>
<file>../images/setRoot.png</file>
<file>../images/expand.png</file>
<file>../images/colapse.png</file>
<file>../images/comicFolder.png</file>
<file>../images/notCover.png</file>
<file>../images/edit.png</file>
<file>../images/fit.png</file>
<file>../images/properties.png</file>
<file>../images/options.png</file>
<file>../images/flow1.png</file>
<file>../images/flow2.png</file>
<file>../images/flow3.png</file>
<file>../images/importLibrary.png</file>
<file>../images/exportLibrary.png</file>
<file>../images/open.png</file>
<file>../images/coversPackage.png</file>
<file>../images/setRead.png</file>
<file>../images/setAllRead.png</file>
<file>../images/setUnread.png</file>
<file>../images/setAllUnread.png</file>
<file>../images/showMarks.png</file>
<file>../images/importCover.png</file>
<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>
<file>../images/db.png</file>
</qresource>
</RCC>
<file>../images/importComicsInfo.png</file>
<file>../images/db.png</file>
<file>../images/asignNumber.png</file>
</qresource>
</RCC>

View File

@ -354,7 +354,7 @@ void LibraryWindow::createActions()
asignOrderActions = new QAction(this);
asignOrderActions->setText(tr("Asign current order to comics"));
asignOrderActions->setIcon(QIcon(":/images/fit.png"));
asignOrderActions->setIcon(QIcon(":/images/asignNumber.png"));
forceConverExtractedAction = new QAction(this);
forceConverExtractedAction->setText(tr("Update cover"));
@ -934,6 +934,7 @@ void LibraryWindow::loadLibraries()
QStringList lines = content.split('\n');
QString line,name;
int i=0;
bool librariesAvailable = false;
foreach(line,lines)
{
if((i%2)==0)
@ -942,11 +943,17 @@ void LibraryWindow::loadLibraries()
}
else
{
librariesAvailable = true;
libraries.insert(name.trimmed(),line.trimmed());
selectedLibrary->addItem(name.trimmed(),line.trimmed());
}
i++;
}
if(!librariesAvailable)
{
disableAllActions();
}
}
void LibraryWindow::saveLibraries()

View File

@ -1,7 +1,7 @@
#include "library_window.h"
#include <QApplication>
#include "startup.h"
//#include "startup.h"
#define PICTUREFLOW_QT4 1
int main( int argc, char ** argv )
@ -18,8 +18,8 @@ int main( int argc, char ** argv )
mw->resize(800,480);
mw->showMaximized();
Startup * s = new Startup();
s->start();
//Startup * s = new Startup();
//s->start();
return app.exec();
}

BIN
images/asignNumber.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB