Link the FlowView in QML with the c++ view controller, so the comic info can be updated whenever the selected comic changes.

This commit is contained in:
Luis Ángel San Martín
2016-04-10 20:11:30 +02:00
parent af772f8aee
commit 8807a3b509
3 changed files with 19 additions and 0 deletions

View File

@ -27,12 +27,15 @@ public:
void selectIndex(int index);
public slots:
void updateInfoForIndex(int index);
void setShowMarks(bool show);
void selectAll();
protected:
QQuickView *view;
QWidget *container;
QObject *flow;
QObject *list;
};
#endif // INFOCOMICSVIEW_H