Results 1 to 5 of 5

Thread: Why does Designer alter my UI upon Save/Load?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Sep 2006
    Posts
    19
    Thanks
    5
    Qt products
    Qt4
    Platforms
    Windows

    Default Why does Designer alter my UI upon Save/Load?

    I have been using Designer for a few days and notice that upon saving an interface, Designer will replace all my layouts with widgets and start malfunctioning.


    What I am doing:

    I create a new main window form, place a square frame and beneath it two small tool buttons both of the same minimum and maximum size to prevent them from resizing, I also put a horizontal sizer next to them. I mark all four widgets and put them in a grid layout and change its spacing to 0 to pack the widgets neatly together.

    At this point everything is fine, I can see the red frame of the layout and it will move and resize the widgets within as expected. I then save the form, quit Designer, start it up again and load the form.

    Now, looking in the object inspector window, what used to be my "<noname> QGridlayout" has now been replaced by a "Widget QWidget", still grouping my widgets inside and functioning as a grid layout, however it is not displaying its red frame and I am not able to break the layout. If I delete this new grouping widget and its children, its layout effect will sometimes persist, and creating a new widget in the main window will make it size and position as if the entire window itself was a grid layout, eventhough I did not perform that step.


    How do I resolve this? I am using the precompiled Qt Designer in the 4.1.4 Open Source package under Windows XP SP2.
    Last edited by ZB; 17th September 2006 at 12:18.

Similar Threads

  1. Designer crashes when selecting some widgets
    By gwendal in forum Qt Tools
    Replies: 4
    Last Post: 21st July 2006, 13:18
  2. Adding slots in Designer
    By jamos in forum Qt Tools
    Replies: 5
    Last Post: 18th May 2006, 23:28
  3. Arthur Plugins demos and designer
    By antonio.r.tome in forum Installation and Deployment
    Replies: 4
    Last Post: 21st March 2006, 14:01
  4. Replies: 2
    Last Post: 14th February 2006, 15:28
  5. How to create custom slot in Qt Designer 4.1?
    By jamadagni in forum Qt Tools
    Replies: 31
    Last Post: 18th January 2006, 20:46

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.