Menu has no parent and use exec
Rearrange TextFormatter class
Refactor DateTimeDialog class