This commit is contained in:
Luis Ángel San Martín
2014-08-19 16:12:47 +02:00
parent 679cd96d5b
commit ec57c8f9bd
82 changed files with 3744 additions and 753 deletions

View File

@ -1059,7 +1059,7 @@ void YACReaderFlowGL::keyPressEvent(QKeyEvent *event)
if(event->key() == Qt::Key_Up)
{
emit selected(centerIndex());
//emit selected(centerIndex());
return;
}

View File

@ -19,3 +19,11 @@ void YACReader::addSperator(QWidget *w)
separator->setSeparator(true);
w->addAction(separator);
}
QAction * YACReader::createSeparator()
{
QAction * a = new QAction(0);
a->setSeparator(true);
return a;
}

View File

@ -55,6 +55,7 @@
#define MAIN_WINDOW_STATE "MAIN_WINDOW_STATE"
#define COMICS_VIEW_HEADERS "COMICS_VIEW_HEADERS"
#define COMICS_VIEW_HEADERS_GEOMETRY "COMICS_VIEW_HEADERS_GEOMETRY"
#define COMICS_VIEW_STATUS "COMICS_VIEW_STATUS"
#define NUM_DAYS_BETWEEN_VERSION_CHECKS "NUM_DAYS_BETWEEN_VERSION_CHECKS"
#define LAST_VERSION_CHECK "LAST_VERSION_CHECK"
@ -94,8 +95,15 @@ namespace YACReader
SevenZNotFound = 700
};
enum ComicsViewStatus
{
Flow,
Grid
};
QString getSettingsPath();
void addSperator(QWidget * w);
QAction * createSeparator();
}
#endif