Results 1 to 3 of 3

Thread: Renaming auto-generated UI class

  1. #1
    Join Date
    Apr 2011
    Posts
    12
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Windows

    Question Renaming auto-generated UI class

    Not sure if this is the best place to put this, but here goes.

    In QT Creator I created a "designer form" with a "designer form class."
    I ended up having to rename the class, but I can't figure out how to get QT to rename the auto-generated ui_class.

    I'm sure there's a trick to it. Any tips?

  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: Renaming auto-generated UI class

    I guess you mean: Open the ui file. At the property editor change the objectName (first entry) to the new name.

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

    orfner (13th September 2011)

  4. #3
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Renaming auto-generated UI class

    ... and save the file
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. Renaming multidimensional QLists
    By mobucl in forum Newbie
    Replies: 3
    Last Post: 17th December 2010, 09:04
  2. qt_plugins_3.3rc auto-generated with embedded paths
    By kevinm in forum Installation and Deployment
    Replies: 0
    Last Post: 20th October 2008, 16:22
  3. file renaming on windows
    By jdd81 in forum Qt Programming
    Replies: 9
    Last Post: 2nd October 2007, 19:41
  4. Replies: 10
    Last Post: 27th November 2006, 19:37
  5. Replies: 5
    Last Post: 12th January 2006, 15:40

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.