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