added "Complete/NotComplete" status to folders, now the user can track if he/she has all the comics of a certain collection

This commit is contained in:
Luis Ángel San Martín
2014-06-10 21:37:58 +02:00
commit 24cc997891
749 changed files with 69010 additions and 0 deletions

View File

@ -0,0 +1,23 @@
#include "yacreader_flow.h"
#include <QMouseEvent>
YACReaderFlow::YACReaderFlow(QWidget * parent,FlowType flowType) : PictureFlow(parent,flowType) {}
void YACReaderFlow::mousePressEvent(QMouseEvent* event)
{
if(event->x() > (width()+slideSize().width())/2)
showNext();
else
if(event->x() < (width()-slideSize().width())/2)
showPrevious();
//else (centered cover space)
}
void YACReaderFlow::mouseDoubleClickEvent(QMouseEvent* event)
{
if((event->x() > (width()-slideSize().width())/2)&&(event->x() < (width()+slideSize().width())/2))
emit selected(centerIndex());
}