I use TableView.
How to show currentTime in Label?
I use TableView.
How to show currentTime in Label?
Last edited by tkms; 30th January 2009 at 02:22.
And where is this Label ?
If u are using tableview, you must be having your own model. In the model, return current time using QTime::toString() from data method.
Hi,
Qt Code:
myLabelPointer->setText(qCurrentTime );To copy to clipboard, switch view to plain text mode
Just take a look at QTime methods and functions
Òscar Llarch i Galán
tkms (2nd February 2009)
Bookmarks