Hi there,
I created a simple GUI Application using QT Creator 2.6 and MSVC2010 with CDB on a Win7 SP1 32-Bit system.
The QUI was created by QT Designer and has a doubleSpinBox. I setup the slot
valueChanged(double)
valueChanged(double)
To copy to clipboard, switch view to plain text mode
of the doubleSpinBox. The slot is connected via
connectSlotsByName
connectSlotsByName
To copy to clipboard, switch view to plain text mode
.
Everything works fine, but if I set a breakpoint in the slot
doubleSpinBox_valueChanged(double arg1)
{
}
doubleSpinBox_valueChanged(double arg1)
{
}
To copy to clipboard, switch view to plain text mode
there is a strange behaviour:
On a click on the arrows of the doubleSpinbox the slot
doubleSpinBox_valueChanged(double arg1)
doubleSpinBox_valueChanged(double arg1)
To copy to clipboard, switch view to plain text mode
is called TWICE and of course the value-property of the doubleSpinBox is incremented/decremented twice!
I verified this by adding a
qDebug << "doubleSpinBox_valueChanged hit"
qDebug << "doubleSpinBox_valueChanged hit"
To copy to clipboard, switch view to plain text mode
to the slot.
Is this a known issue?
Thanks for your help in advance!
Bookmarks