equal
deleted
inserted
replaced
23 |
23 |
24 ItemNum::ItemNum(const QImage& im, QWidget * parent, unsigned char min, unsigned char max) : |
24 ItemNum::ItemNum(const QImage& im, QWidget * parent, unsigned char min, unsigned char max) : |
25 QFrame(parent), m_im(im), infinityState(false), nonInteractive(false), minItems(min), maxItems(max), |
25 QFrame(parent), m_im(im), infinityState(false), nonInteractive(false), minItems(min), maxItems(max), |
26 numItems(min+2 >= max ? min : min+2) |
26 numItems(min+2 >= max ? min : min+2) |
27 { |
27 { |
|
28 setAttribute(Qt::WA_PaintOnScreen, true); |
28 } |
29 } |
29 |
30 |
30 ItemNum::~ItemNum() |
31 ItemNum::~ItemNum() |
31 { |
32 { |
32 } |
33 } |