mirror of
https://git.code.sf.net/p/zint/code
synced 2026-01-08 20:41:59 +00:00
Make GUI scalable
This commit is contained in:
@@ -29,12 +29,15 @@ class BarcodeItem : public QGraphicsItem
|
||||
public:
|
||||
BarcodeItem();
|
||||
~BarcodeItem();
|
||||
void setSize(int width, int height);
|
||||
QRectF boundingRect() const;
|
||||
void paint(QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget = 0);
|
||||
|
||||
private:
|
||||
int w, h;
|
||||
|
||||
public:
|
||||
mutable Zint::QZint bc;
|
||||
int w,h;
|
||||
Zint::QZint::AspectRatioMode ar;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user