mirror of
https://github.com/YACReader/yacreader
synced 2025-07-18 21:14:33 -04:00
Format code using clang-format
This commit is contained in:
@ -20,54 +20,53 @@ class ClassicComicsView : public ComicsView
|
||||
Q_OBJECT
|
||||
public:
|
||||
ClassicComicsView(QWidget *parent = 0);
|
||||
void setToolBar(QToolBar * toolBar);
|
||||
void setToolBar(QToolBar *toolBar);
|
||||
void setModel(ComicModel *model);
|
||||
|
||||
QModelIndex currentIndex();
|
||||
QItemSelectionModel * selectionModel();
|
||||
void scrollTo(const QModelIndex & mi, QAbstractItemView::ScrollHint hint );
|
||||
QItemSelectionModel *selectionModel();
|
||||
void scrollTo(const QModelIndex &mi, QAbstractItemView::ScrollHint hint);
|
||||
void toFullScreen();
|
||||
void toNormal();
|
||||
void updateConfig(QSettings * settings);
|
||||
void updateConfig(QSettings *settings);
|
||||
void enableFilterMode(bool enabled);
|
||||
void selectIndex(int index);
|
||||
void updateCurrentComicView();
|
||||
|
||||
public slots:
|
||||
void setCurrentIndex(const QModelIndex &index);
|
||||
void centerComicFlow(const QModelIndex & mi);
|
||||
void centerComicFlow(const QModelIndex &mi);
|
||||
void updateTableView(int i);
|
||||
void saveTableHeadersStatus();
|
||||
void saveSplitterStatus();
|
||||
void applyModelChanges(const QModelIndex & topLeft,const QModelIndex & bottomRight,const QVector<int> & roles);
|
||||
void removeItemsFromFlow(const QModelIndex & parent, int from, int to);
|
||||
void applyModelChanges(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector<int> &roles);
|
||||
void removeItemsFromFlow(const QModelIndex &parent, int from, int to);
|
||||
//ComicsView
|
||||
void setShowMarks(bool show);
|
||||
void selectAll();
|
||||
void selectedComicForOpening(const QModelIndex & mi);
|
||||
void selectedComicForOpening(const QModelIndex &mi);
|
||||
|
||||
protected slots:
|
||||
void hideComicFlow(bool hide);
|
||||
void requestedViewContextMenu(const QPoint & point);
|
||||
void requestedItemContextMenu(const QPoint & point);
|
||||
|
||||
void requestedViewContextMenu(const QPoint &point);
|
||||
void requestedItemContextMenu(const QPoint &point);
|
||||
|
||||
private:
|
||||
YACReaderTableView * tableView;
|
||||
YACReaderToolBarStretch * toolBarStretch;
|
||||
QAction * toolBarStretchAction;
|
||||
QToolBar * toolbar;
|
||||
YACReaderTableView *tableView;
|
||||
YACReaderToolBarStretch *toolBarStretch;
|
||||
QAction *toolBarStretchAction;
|
||||
QToolBar *toolbar;
|
||||
QWidget *comics;
|
||||
QSplitter * sVertical;
|
||||
ComicFlowWidget * comicFlow;
|
||||
QSettings * settings;
|
||||
void closeEvent ( QCloseEvent * event );
|
||||
QAction * hideFlowViewAction;
|
||||
QSplitter *sVertical;
|
||||
ComicFlowWidget *comicFlow;
|
||||
QSettings *settings;
|
||||
void closeEvent(QCloseEvent *event);
|
||||
QAction *hideFlowViewAction;
|
||||
|
||||
QStackedWidget * stack;
|
||||
QStackedWidget *stack;
|
||||
|
||||
QByteArray previousSplitterStatus;
|
||||
QWidget * searchingIcon;
|
||||
QWidget *searchingIcon;
|
||||
bool searching;
|
||||
void setupSearchingIcon();
|
||||
void showSearchingIcon();
|
||||
|
Reference in New Issue
Block a user