Results 1 to 3 of 3

Thread: how to get QLineEdit as not editable from QT Designer??

  1. #1
    Join Date
    Jul 2010
    Posts
    17
    Thanks
    8
    Qt products
    Qt4
    Platforms
    Windows

    Default how to get QLineEdit as not editable from QT Designer??

    I'm using Qt Designer to create some forms, and i don't find the attribute to set a QlineEdit field as not editable?
    could anyone give a hand??

    thanks a lot

  2. #2
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: how to get QLineEdit as not editable from QT Designer??

    Activate your line edit and see in the property explorer the last item. It is called readOnly.

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

    pakine (25th August 2010)

  4. #3
    Join Date
    Jul 2010
    Posts
    17
    Thanks
    8
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: how to get QLineEdit as not editable from QT Designer??

    oh sure, sorry for the inconveniences, i should have taken a better look
    thank you very much

Similar Threads

  1. Replies: 2
    Last Post: 4th December 2009, 09:38
  2. QGraphicsTextItem is not editable
    By jano_alex_es in forum Newbie
    Replies: 2
    Last Post: 29th September 2009, 15:51
  3. how to set up a QHeaderView editable?
    By iguanna in forum Qt Programming
    Replies: 3
    Last Post: 24th March 2008, 14:37
  4. QTreeWidget editable
    By hgedek in forum Newbie
    Replies: 2
    Last Post: 5th February 2008, 08:50

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.