PDA

View Full Version : How to get value from timeedit.



Niamita
5th September 2011, 06:05
Hi
I googled a lot for finding value from timeedit but i did not find any function for this. I want to display the value showing in timeedit on label, but i did not find function for getting the value from timeedit.
Thanks.

Rachol
5th September 2011, 06:23
Just a guess, so you might have try and check with the documentation if that works:


QDateTimeEdit edit;
....
edit.dateTime().toString(edit.displayFormat());