Results 1 to 3 of 3

Thread: Change to myUI in Designer....much copy/pasting into the ui.h file

  1. #1
    Join Date
    May 2006
    Posts
    19
    Thanks
    6
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Change to myUI in Designer....much copy/pasting into the ui.h file

    Hi All,
    One thing annoys me about using designer, is that any time I change the user interface, I have to completely re-import all of my user-interface code to the ui_..._.h file.
    Is there any way around this other than being a bit smarter with my classes and nesting my custom ui functions into some UI_Control object to minimise the amount of copy/pasting I have to do every time I change the UI???
    Cheers,
    Donal

  2. #2
    Join Date
    Apr 2006
    Location
    San Francisco, CA
    Posts
    186
    Thanks
    55
    Thanked 12 Times in 11 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default Re: Change to myUI in Designer....much copy/pasting into the ui.h file

    You should use "Promote to Custom Widget" if you're deriving a new class for a widget.
    Software Engineer



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

    Default Re: Change to myUI in Designer....much copy/pasting into the ui.h file


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

    donmorr (20th May 2006)

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.