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:
@ -6,29 +6,30 @@
|
||||
#include <QMouseEvent>
|
||||
#include <QWidget>
|
||||
|
||||
class MagnifyingGlass : public QLabel
|
||||
{
|
||||
Q_OBJECT
|
||||
private:
|
||||
float zoomLevel;
|
||||
void setup(const QSize & size);
|
||||
void keyPressEvent(QKeyEvent * event);
|
||||
public:
|
||||
MagnifyingGlass(int width,int height,QWidget * parent);
|
||||
MagnifyingGlass(const QSize & size, QWidget * parent);
|
||||
void mouseMoveEvent(QMouseEvent * event);
|
||||
public slots:
|
||||
void updateImage(int x, int y);
|
||||
void updateImage();
|
||||
void wheelEvent(QWheelEvent * event);
|
||||
void zoomIn();
|
||||
void zoomOut();
|
||||
void sizeUp();
|
||||
void sizeDown();
|
||||
void heightUp();
|
||||
void heightDown();
|
||||
void widthUp();
|
||||
void widthDown();
|
||||
};
|
||||
class MagnifyingGlass : public QLabel
|
||||
{
|
||||
Q_OBJECT
|
||||
private:
|
||||
float zoomLevel;
|
||||
void setup(const QSize &size);
|
||||
void keyPressEvent(QKeyEvent *event);
|
||||
|
||||
public:
|
||||
MagnifyingGlass(int width, int height, QWidget *parent);
|
||||
MagnifyingGlass(const QSize &size, QWidget *parent);
|
||||
void mouseMoveEvent(QMouseEvent *event);
|
||||
public slots:
|
||||
void updateImage(int x, int y);
|
||||
void updateImage();
|
||||
void wheelEvent(QWheelEvent *event);
|
||||
void zoomIn();
|
||||
void zoomOut();
|
||||
void sizeUp();
|
||||
void sizeDown();
|
||||
void heightUp();
|
||||
void heightDown();
|
||||
void widthUp();
|
||||
void widthDown();
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user