hi,
I want to find the length of the text in QLineEdit.
how to get that?
(It should work similar to linelength function in MFC)
hi,
I want to find the length of the text in QLineEdit.
how to get that?
(It should work similar to linelength function in MFC)
Length as in characters or as in pixels?
J-P Nurmi
Well, if say the name of your QLineEdit is lineEdit, you would use this:
If you get errors in this line, try replacing the dots with a pointer(->)
HTH!
~codeslicer
Thanx.Its working
Bookmarks