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%
Page 2 of 2 FirstFirst 12
Results 21 to 40 of 81

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

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    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: Do you use the designer, or do you code your gui manually?

    Quote Originally Posted by pherthyl View Post
    What is the pixmap function and how do I use it?
    You probably don't need it - it is a function you can write to generate pixmaps according to a name. You can substitute the default pixmap generation process (based on a filepath) with it.

    I've been writing most of my interface code by hand since I need to assign icons containing multiple pixmap sizes to QActions , but if it was possible to do in designer I would switch.
    You wouldn't see the result in (current) Designer. If icons are your only problem, you can write a simple routine that would set the icons in code and layout the gui in Designer.

  2. #2
    Join Date
    Apr 2007
    Posts
    76
    Thanks
    6
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11

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

    I use the designer for the basic implementation - for positioning the elements on the window - of the GUI. Than i code in txt editor (vim).

  3. #3
    Join Date
    Oct 2007
    Posts
    1
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

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

    I often use the designer when i work in !

  4. #4
    Join Date
    Jul 2007
    Posts
    2
    Qt products
    Qt4
    Platforms
    Windows

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

    I created widget using designer and connection using manually.......

  5. #5
    Join Date
    Jun 2008
    Posts
    16
    Thanks
    1
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Thumbs up Re: Do you use the designer, or do you code your gui manually?

    I have always used designer to design the desired UI.. I really don't get the point why one should hardcode GUI.. In Qt 4, the stylesheets, promoting widgets etc gives you the power to achieve what you want with designer..

    (OR)

    I haven't come across the reqiurement wherby I need to do hardcoding GUI..

  6. #6
    Join Date
    Feb 2009
    Location
    Berlin, Germany
    Posts
    4
    Qt products
    Qt4
    Platforms
    Windows

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

    I mostly use Designer for prototypes while I do the rest by hand.

  7. #7
    Join Date
    Dec 2008
    Posts
    4
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

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

    %80 manually which is the best

  8. #8
    Join Date
    Apr 2007
    Location
    Sunny Darwin, NT Australia
    Posts
    186
    Thanks
    29
    Thanked 5 Times in 5 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

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

    All the time !!
    I have to say this is the best IDE I've used...period.
    I've paid thousands of dollars for IDE's in the past and this one kills them all...and it's FREE ???

  9. #9
    Join Date
    Aug 2009
    Location
    Saudi Arabia - Buraidah
    Posts
    48
    Thanks
    42
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

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

    Qt Designer makes ugly code
    http://brainstorm.ubuntu.com/idea/24714/image/1/
    The Linux Counter Project - user number # 497262
    The Ubuntu Counter Project - user number # 29025

  10. #10
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

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

    I think you mean UIC makes ugly code as QT Designer only generates XML files

    I thought about recompiling UIC before, but never got around to it.

  11. #11
    Join Date
    Apr 2009
    Posts
    18
    Thanks
    4
    Qt products
    Qt4
    Platforms
    Unix/X11

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

    I do use designer to design the rack, espencially in project, but i will code my gui manually if the gui is small

  12. #12
    Join Date
    Oct 2009
    Posts
    25
    Thanks
    1
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

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

    Sometimes it easier to write code manually, then use QtDesigner. However, use of QtDesigner almost always much faster.
    To write GUI code manually is a good way to learn C++ and Qt I think.

  13. #13
    Join Date
    Mar 2008
    Location
    France
    Posts
    149
    Thanks
    2
    Thanked 21 Times in 21 Posts
    Qt products
    Qt4
    Platforms
    Windows

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

    Never... 100% .
    Better control when you think on your own.

  14. #14
    Join Date
    Apr 2010
    Posts
    769
    Thanks
    1
    Thanked 94 Times in 86 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

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

    I use both. I reach for the designer when I'm putting together a fairly large GUI - like the main application, or a tab set - where the emphasis is on the look and feel. Doing layouts manually, especially complicated ones, is tedious drudgery, and the tedium contributes to corner cutting. With designer, nearly all user visible strings are automatically wrapped in tr() calls, and I have the properties and other settings of the entire inheritance tree available at my fingertips. Much faster, much more conducive to getting things right the first time, and much less error prone than hand coding. And a lot more fun, unless you like the endless, mind-numbing repetition large, nested layouts involve.

    Where behavior is paramount, or the task is very small, I find it easier to code by hand.

    It isn't unusual for me to use a blended approach - doing a raft of moderately small layouts in designer, then assembling them by hand.

    If designer provided a transparent way to insert code while dragging widget components around, my text editor would get a lot less use. I guess this is partly what Creator can do, but sadly there is no way to get Creator to compile in a Solaris environment, thanks to the balky presence, of WebKit. But maybe some day...

  15. #15
    Join Date
    May 2010
    Posts
    7
    Thanks
    2
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11

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

    Yes I do all the time. Mostly from within QtCreator. I wish it resolved few issues like settiing widgets in the status bar, make a widget a central widget and a few other minor issues.

    Muz

  16. #16
    Join Date
    Jun 2010
    Posts
    2
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

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

    I'm looking forward QML, I really liked using Xaml while programming in C#+WPF so I hope QML to be as good as that
    Daniele
    I Qt 4.6

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.