mirror of
https://github.com/zxing/zxing.git
synced 2024-11-14 15:04:05 -08:00
f78c18671b
By V1.2 support to Aztec codes is added. It now fully supports Qt Quick. Symbian Examples are updated to comply with the changes. git-svn-id: https://zxing.googlecode.com/svn/trunk@2296 59b500cc-1b3d-0410-9834-0bbf25fbcc57
24 lines
637 B
C++
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
|