lCDNumber1
->setGeometry
(QRect(240,
810,
130,
40));
lCDNumber1->setLineWidth(1);
lCDNumber1->setSmallDecimalPoint(FALSE);
lCDNumber1->setNumDigits(7);
lCDNumber1->setProperty("value", 0);
lCDNumber1->setPalette(*lcdpalette);
lCDNumber1 = new QLCDNumber(myobjectDialog);
lCDNumber1->setGeometry(QRect(240, 810, 130, 40));
lCDNumber1->setLineWidth(1);
lCDNumber1->setSmallDecimalPoint(FALSE);
lCDNumber1->setNumDigits(7);
lCDNumber1->setSegmentStyle(QLCDNumber::Flat);
lCDNumber1->setProperty("value", 0);
lcdpalette = new QPalette;
lcdpalette->setColor(QPalette::Background, QColor(170, 255, 0));
lcdpalette->setColor(QPalette::Base, QColor(170, 255, 0));
lcdpalette->setColor(QPalette::AlternateBase, QColor(170, 255, 0));
lCDNumber1->setPalette(*lcdpalette);
To copy to clipboard, switch view to plain text mode
app.setStyle(new QPlastiqueStyle);
To copy to clipboard, switch view to plain text mode
Bookmarks