b_ginner
22nd August 2009, 17:22
Hello....
Does anyone knows how to set up the maximun number of characters a QTextEdit can hold ?
I mean, besides of installing a key eventFilter to count all the key pressed .....
I wanna have an text input area for users but limit the length, including CR/LF, to 500 characters...
Or if my direction is wrong... Please tell me.. this is going to drive me nuts... :crying:
Does anyone knows how to set up the maximun number of characters a QTextEdit can hold ?
I mean, besides of installing a key eventFilter to count all the key pressed .....
I wanna have an text input area for users but limit the length, including CR/LF, to 500 characters...
Or if my direction is wrong... Please tell me.. this is going to drive me nuts... :crying: