Results 1 to 1 of 1

Thread: Can't change form element names after copying them

  1. #1
    Join Date
    Nov 2010
    Posts
    63
    Thanks
    26
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Can't change form element names after copying them

    Hi,

    I'm using Qt Creator's embedded Designer feature to design a form (on a Windows Vista Notebook).

    After copying a group of elements (embedded in layouts) twice and deleting two of the copies again, one of which turned out to have been the original, I now have a group of elements being named "<original name>_3".
    The original two instances are long deleted. At least they don't show up in the Object Inspector anymore (see screenshot). However, Designer won't let me remove the "_3" extension anymore. Every time I try, the name is instantly changed again as if the originals still existed. Renaming them to "_2" instead doesn't work either.

    Any ideas ?

    Edit:
    Just before the problem occured I put the entire group in a new layout which I then deleted, intending to remove only the layout but thereby deleting all the contained elements. So I undid the deletion and cut/pasted the contents out of the layout instead before deleting it. I think I accidentally used copy/paste once and undid the cut/paste once as well.
    After that I realized the names all had the "_3" extension, so I wanted to remove it - which didn't work.

    Edit 2:
    Closing and opening Qt Creator did the trick. But maybe still a bug with Creator ?
    Last edited by Computer Hater; 8th July 2011 at 04:38.

Similar Threads

  1. Replies: 0
    Last Post: 23rd February 2011, 17:36
  2. Replies: 2
    Last Post: 12th September 2010, 20:01
  3. Replies: 5
    Last Post: 12th March 2010, 22:43
  4. Change a QList element
    By mcrahr in forum Newbie
    Replies: 1
    Last Post: 23rd August 2009, 12:16
  5. Replies: 2
    Last Post: 7th April 2006, 14:31

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.