This code-excample does not work in Qt 3.2.0
QLineEdit* le = new QLineEdit( myGroupBox, "le" );
/*
.
.
setting sizepolizy, size and cursor
.
.
*/
myLayout->addWidget( le, 1, 6 );
le->setInputMask("999.99");
le->setValidator(new QDoubleValidator(0.00,100.00,2, le));
After this inittialization the lineEdit does not take any input at all.
It is not readonly, and it is enabled.
(I have tried a number of different variations I could think of.)
What could the reason be?
Bookmarks