python console setPlaceholderText qt < 4.7 fix