The clear button is visible in the QLineEdit when I do a preview in Qt Designer. However, it isn't when I load the UI for my program using QUiLoader. However, the functionality is still there. If I click the right corner of the field, it clears the text. Continue reading...