A Qt widget based on QTextEdit, that cooperates with a layout to automatically adjust its height to the size of its content