Qt development experience tips 121-130
QLineEdit can be used for many special processing purposes besides simple text boxes.
Restrict input. Only IP addresses can be entered.
To limit the input range, it is highly recommended to use QRegExpValidator regular expression for processing.
//Limiting input for expression
QString str = "\\b(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9] ...
Added by trassalg on Thu, 03 Mar 2022 23:24:05 +0200