I\'m trying to write a custom Qt widget for my personal project based on the Qt Doc(https://doc.qt.io/qt-5/qtwidgets-widgets-codeeditor-example.html). But I\'m getting this