×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Dec 2010
    Posts
    16

    QTextEdit maxlength

    hi
    how to set maximum length of texts of QTextEdit objects.

  2. #2
    Registered User
    Join Date
    Dec 2010
    Posts
    16

    QTextEdit character limit

    Hi everyone
    Cannot specify the character limit for QTextEdit? I do not want to enter over 45 characters.

  3. #3
    Nokia Developer Moderator
    Join Date
    Oct 2009
    Location
    Finland
    Posts
    327

    Re: QTextEdit character limit

    You cannot directly specify this as QTextEdit can also store HTML and such so the concept of character limit gets murky. However, what you CAN do is a) use QLineEdit, b) connect to QTextEdit's textChanged() signal and do the character count yourself (so you block any edits that would change the char count).

  4. #4
    Registered User
    Join Date
    Feb 2010
    Location
    India
    Posts
    281

    Re: QTextEdit maxlength

    Quote Originally Posted by ayhanakbulut View Post
    hi
    how to set maximum length of texts of QTextEdit objects.
    experts please reply

  5. #5
    Nokia Developer Champion
    Join Date
    Mar 2005
    Location
    Paris
    Posts
    814

    Re: QTextEdit maxlength

    Quote Originally Posted by mail2karthi07 View Post
    experts please reply
    there has been an answer by an expert to this already, if you take 2 seconds to search :
    http://discussion.forum.nokia.com/fo...haracter-limit

Similar Threads

  1. The HBufC maxlength
    By morningbird in forum Symbian C++
    Replies: 2
    Last Post: 2010-05-19, 13:49
  2. Replies: 5
    Last Post: 2008-11-11, 12:47
  3. Setting page Integer maxlength
    By sameer.chaudhari in forum Symbian C++
    Replies: 1
    Last Post: 2008-02-07, 12:05
  4. maxlength of data query
    By microdot in forum Symbian C++
    Replies: 2
    Last Post: 2007-03-02, 06:27
  5. Support of Maxlength on Nokia (6620 for instance) fails?
    By spiritom in forum Browsing and Mark-ups
    Replies: 0
    Last Post: 2005-08-22, 17:12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •