1#ifndef QBARCODE_RENDERER_H
2#define QBARCODE_RENDERER_H
4#include "qbarcode/datas/barcode.h"
31 QSize getSizeRequested()
const;
32 QMargins getMargins()
const;
33 QColor getColorBackground()
const;
34 QColor getColorForeground()
const;
37 void setSizeRequested(
const QSize &size);
38 void setMargins(
const QMargins &margins);
39 void setColorBackground(
const QColor &color);
40 void setColorForeground(
const QColor &color);
43 QImage toImage(
const Barcode &barcode);
48 explicit Renderer(std::unique_ptr<RendererPrivate> impl);
51 std::unique_ptr<RendererPrivate> d_ptr;
62QBAR_EXPORT QDebug operator<<(QDebug debug,
const Renderer &renderer);
Represent a barcode entity.
Definition barcode.h:23
Allow to render a barcode.
Definition renderer.h:21
Namespace used for QWlanManager library.
Definition barcode.h:15