meena
30th June 2010, 11:34
Hi
I need the functionality that in dateEdit after enter key press the date should be stored in DB,
& if a return key pressed the date shold not be enterd in the DB.(as i din't wanted to add a
button.)
currently i am using the slot "editingFinished()" (on_dateEdit_editingFinished())
This signal is emitted when the Return or Enter key is pressed or the line edit loses focus.
i din't find any other signal which does my work..
is there any other signal or any other method to do the job..?
void FrontScreen::on_dateEdit_editingFinished()
{
execute the req query & do the required things
}
I need the functionality that in dateEdit after enter key press the date should be stored in DB,
& if a return key pressed the date shold not be enterd in the DB.(as i din't wanted to add a
button.)
currently i am using the slot "editingFinished()" (on_dateEdit_editingFinished())
This signal is emitted when the Return or Enter key is pressed or the line edit loses focus.
i din't find any other signal which does my work..
is there any other signal or any other method to do the job..?
void FrontScreen::on_dateEdit_editingFinished()
{
execute the req query & do the required things
}