Results 1 to 2 of 2

Thread: QLineEdit::setRedOnly ?

  1. #1
    Join Date
    Jan 2007
    Posts
    38
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    12

    Default QLineEdit::setRedOnly ?

    Is there something that can reverse this, i have tried setEnable(), but that does not seem to work.

    I want to switch my lineEdit between readonly and editable.

    Thanks very much for your attention!

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    28
    Thanked 976 Times in 912 Posts

    Default Re: QLineEdit::setRedOnly ?

    Qt Code:
    1. lineEdit->setReadOnly( false );
    To copy to clipboard, switch view to plain text mode 

  3. The following user says thank you to jacek for this useful post:

    locus (2nd February 2007)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.