View Poll Results: Do you use the designer for your gui?

Voters
662. You may not vote on this poll
  • Always. I almost don't know how to layout widgets manually.

    193 29.15%
  • Designer? What is that? Nope, never use it.

    111 16.77%
  • Depends and the task. Sometimes yes, sometimes no.

    358 54.08%
Results 1 to 20 of 81

Thread: Do you use the designer, or do you code your gui manually?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #11
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,360
    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: Do you use the designer, or do you code your gui manually?

    Quote Originally Posted by Michiel View Post
    Looks to me like you can only select one file or one resource.
    There are other ways to assign pixmaps.

    Hm.. Could you explain this? Right now I do it with only 4 lines of code, without using designer.
    You can certainly implement your statusBar widget in Designer and then just assign it to the status bar using code. There is also a high chance you could use QStatusBar as the base for your form in Designer and then just replace the default bar with yours with a single line of code. If not, then it's just a matter of subclassing QStatusBar to introduce proper functionality.

    In Designer, the central widget is a QWidget, which is the parent of my real main widget. This is all in Designer, but it's a bit of a waste to have a QWidget that doesn't really do anything.
    That's not much of a waste, isn't it? I'm sure you can spare extra 100 bytes of memory. It's just a pitty you can't promote the default central widget to the proper widget. But maybe that's a suggestion for Trolltech to do it. Should take them not more than 15 minutes to do that.

    True, but I don't think we're at that point yet. Right now, many more features could be added without sacrificing simplicity.
    I'm sure there are features in Designer which you have not discovered yet

    Edit: I just checked and confirmed it's possible to assign whatever icons you want from within Designer.
    Last edited by wysota; 21st May 2007 at 14:10.

Similar Threads

  1. Qt Cryptographic Architecture
    By vermarajeev in forum Qt Programming
    Replies: 6
    Last Post: 9th February 2007, 13:15
  2. Replies: 13
    Last Post: 15th December 2006, 11:52
  3. Problem closing a QMainWindow in Qt4.2
    By ian in forum Qt Programming
    Replies: 11
    Last Post: 17th October 2006, 00:49
  4. Where is code file
    By safknw in forum Qt Tools
    Replies: 21
    Last Post: 20th June 2006, 10:08

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.