mirror of
https://github.com/YACReader/yacreader
synced 2025-07-18 21:14:33 -04:00
Fix problems with missing safety checks in Render::fillBuffer and pdfcomic
This commit is contained in:
21
custom_widgets/yacreader_flow.h
Normal file
21
custom_widgets/yacreader_flow.h
Normal file
@ -0,0 +1,21 @@
|
||||
#ifndef YACREADER_FLOW_H
|
||||
#define YACREADER_FLOW_H
|
||||
|
||||
#include "pictureflow.h"
|
||||
|
||||
class QMouseEvent;
|
||||
|
||||
class YACReaderFlow : public PictureFlow
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
YACReaderFlow(QWidget * parent,FlowType flowType = CoverFlowLike);
|
||||
|
||||
void mousePressEvent(QMouseEvent* event);
|
||||
void mouseDoubleClickEvent(QMouseEvent* event);
|
||||
|
||||
signals:
|
||||
void selected(unsigned int centerIndex);
|
||||
};
|
||||
|
||||
#endif // YACREADER_FLOW_H
|
Reference in New Issue
Block a user