Added new comics view class oriented to showing comics metadata.

This commit is contained in:
Luis Ángel San Martín
2016-03-26 23:08:56 +01:00
parent 61ae9dc028
commit 649da584da
3 changed files with 106 additions and 2 deletions

View File

@ -0,0 +1,30 @@
#ifndef INFOCOMICSVIEW_H
#define INFOCOMICSVIEW_H
#include "comics_view.h"
class InfoComicsView : public ComicsView
{
Q_OBJECT
public:
explicit InfoComicsView(QWidget *parent = 0);
void setToolBar(QToolBar * toolBar);
void setModel(ComicModel *model);
void setCurrentIndex(const QModelIndex &index);
QModelIndex currentIndex();
QItemSelectionModel * selectionModel();
void scrollTo(const QModelIndex & mi, QAbstractItemView::ScrollHint hint );
void toFullScreen();
void toNormal();
void updateConfig(QSettings * settings);
void enableFilterMode(bool enabled);
void selectIndex(int index);
public slots:
void setShowMarks(bool show);
void selectAll();
};
#endif // INFOCOMICSVIEW_H