QWidget has a property called locale since Qt 4.3. This is used to localize dates and times in items views. In earlier versions, you can do it the way our wiki describes: Localizing dates and times in item views.