I am following the Chapter 2 of Jasmin Blanchettes book
C++-GUI-Programming-with-Qt-4-1st-ed.pdf
trying to setup the dialog GoToCellDialog using MS VS 2008 with Qt.
The example compiles, the dialog appears, but it fails to enter the handler method on_lineEdit_textChanged() on text changes. To prove it, i added this line to the slot method:
label->setText(tr("Changed :"));
to force a visual change in the label.
In the .ui file the element
<connections/>
is empty. I don't know why.
I decided to add this line to the constructor:
connect(lineEdit, SIGNAL(textChanged(const QString &)),
this, SLOT(on_lineEdit_textChanged()));
But it doesn't change anything.
I used the IDE to generate the code, but first it generated gotocelldialog in lowercase. Now every name is camelCase and the code compiles. But perhaps I missed something.