Thanks Chris,
Are any examples or links present regarding such cases where mask and cursor could be customized using the paintEvent() of QLineEdit?