Qt CodeEditor: Honor `show_line_numbers` and `readonly`.