make SingleTextEdit a Q_OBJECT