1
0
Fork 0
mirror of https://github.com/seiichiro0185/sailotp.git synced 2024-05-03 19:23:59 +00:00
harbour-sailotp/src/qzxing/imagehandler.h
2014-02-16 14:18:45 +01:00

24 lines
637 B
C++

#ifndef IMAGEHANDLER_H
#define IMAGEHANDLER_H
#include <QObject>
#include <QImage>
class ImageHandler : public QObject
{
Q_OBJECT
public:
explicit ImageHandler(QObject *parent = 0);
QImage extractQImage(QObject *imageObj,
const double offsetX = 0 , const double offsetY = 0,
const double width = 0, const double height = 0);
public slots:
void save(QObject *item, const QString &path,
const double offsetX = 0, const double offsetY = 0,
const double width = 0, const double height = 0);
};
#endif // IMAGEHANDLER_H