PDA

View Full Version : IP Address



rajveer
11th November 2008, 03:58
I have to made a IP address configuration means a line edit text box which can take correct values just like to windows ip address configuration.

please help me out.

Thanks.

aamer4yu
11th November 2008, 04:45
Did u search forum ? i am sure u cud find an answer...
anywyas,, there are 2 methods - 1) make ur own lineedit 2) use QLineEdit::setInputMask

rajveer
11th November 2008, 08:30
i have used QlineEdit and after that setting input mask like this(000.000.000.000) and then creating regular expression and setting validator.
but in line edit it is showing like this 000.000.000.000 but i want that it should be like . . . .

Just like u have seen in windows ip address configuration.

please helpme out

thanks.