mirror of
https://github.com/YACReader/yacreader
synced 2025-07-19 13:34:44 -04:00
Added new comics view class oriented to showing comics metadata.
This commit is contained in:
30
YACReaderLibrary/info_comics_view.h
Normal file
30
YACReaderLibrary/info_comics_view.h
Normal 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
|
Reference in New Issue
Block a user