Thread: GUI programming

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User
    Join Date
    Jul 2011
    Posts
    22

    GUI programming

    Hi All,

    I'm pretty new to programming and C++ and have been making my way through c++ without fear.

    I'd like to know the best route to go to get into GUI or windows programming after I've got a good handle on C++, obviously.

    I'd prefer to stick with C++ since I'm learning it now.

    Many thanks for your time.

  2. #2
    [](){}(); manasij7479's Avatar
    Join Date
    Feb 2011
    Location
    *nullptr
    Posts
    2,657
    Qt is a good one .

  3. #3
    Registered User
    Join Date
    Oct 2006
    Posts
    3,445
    wxWidgets is another good one.

  4. #4
    Registered User
    Join Date
    May 2009
    Posts
    4,183
    My last C++ Instructor considered Qt better than wxWidgets because it made more use of C++ features.

    Tim S.

  5. #5
    [](){}(); manasij7479's Avatar
    Join Date
    Feb 2011
    Location
    *nullptr
    Posts
    2,657
    Quote Originally Posted by stahta01 View Post
    My last C++ Instructor considered Qt better than wxWidgets because it made more use of C++ features.

    Tim S.
    I do not know much about wxwidgets, but I found the use of macros in Qt somewhat confusing. Other than that it is a pleasure to learn.

  6. #6
    Registered User
    Join Date
    May 2009
    Posts
    4,183
    Quote Originally Posted by manasij7479 View Post
    I do not know much about wxwidgets, but I found the use of macros in Qt somewhat confusing. Other than that it is a pleasure to learn.
    wxWidgets uses Macros for things that are now supported by the C++ standard.
    Note: wxWidgets 3.0 is moving the code to using less Macros that are mirroring C++ functionality.
    They can do this because they are dropping support on several old versions of C++ Compiler that did not have the functionality the Macros added.

    Tim S.

  7. #7
    Registered User
    Join Date
    Jul 2011
    Posts
    10
    me personally i prefer WxWidgets because that it is hard to learn and once i get through the crap it presents i own at it but i have to say really dude i know this sounds warped but for me i tried out QT love it but at the same time i feel like i didnt build it, and wxwidgets brings that back for me! but there are also other gui libaries out there but i dont honestly know what they are sorry dude

    and WxWidgets is more code orientated

    and QT is more Editor Orientated but with code as well

  8. #8
    Registered User rogster001's Avatar
    Join Date
    Aug 2006
    Location
    Liverpool UK
    Posts
    1,472
    You can look at FLTK also, the dev team have just signed off a final release on version 1.3 which you can get on the download pages.

    And regarding 'feeling like you built it' I would much prefer to be involved in the design and aesthetics of the UI via an editor rather than also having to handcode all the button positioning etc, you have enough to worry about writing the actual working code for your application.
    Handcoding I use when required, like to populate a group of keypad buttons or other stuff that would be too tedious to create one by one in an editor, also hand code for unit tests on a button callback or library drawing function for example.
    Thought for the day:
    "Are you sure your sanity chip is fully screwed in sir?" (Kryten)
    FLTK: "The most fun you can have with your clothes on."

    Stroustrup:
    "If I had thought of it and had some marketing sense every computer and just about any gadget would have had a little 'C++ Inside' sticker on it'"

  9. #9
    Registered User
    Join Date
    Jul 2011
    Posts
    62
    Hey, I've been in exactly that position a recently, and after looking around it seems that GTK+ (GTKmm for C++ - GTK+ is in C).
    In my opinion Qt is a bit heavy and has a load of dependencies, GTK+ (or any of its extensions) is much easier to set up.

  10. #10
    [](){}(); manasij7479's Avatar
    Join Date
    Feb 2011
    Location
    *nullptr
    Posts
    2,657
    In my opinion Qt is a bit heavy and has a load of dependencies, GTK+ (or any of its extensions) is much easier to set up.
    Huh...? Qt provides a installer file for both windows and the *nix es which takes care of both the ide and the libs.

  11. #11
    [](){}(); manasij7479's Avatar
    Join Date
    Feb 2011
    Location
    *nullptr
    Posts
    2,657
    wxWidgets 3.0 is moving the code to using less Macros that are mirroring C++ functionality
    If you are well versed in both, do you think it would be a good idea to move to wxWidgets from Qt ?

  12. #12
    Registered User
    Join Date
    May 2009
    Posts
    4,183
    Quote Originally Posted by manasij7479 View Post
    If you are well versed in both, do you think it would be a good idea to move to wxWidgets from Qt ?
    I am only moderately verse about wxWidgets; know next to nothing about Qt; but, the past semester C++ instructor knew both and he like Qt because it did things in a more C++ style. I am average C programmer and a beginning C++ programer.

    The instructor had moved to making all his C++ GUI using Qt; partly because it recently went open source.
    Before that he was using wxWidgets in his C++ GUI projects. His GUI projects had to be multi-platform.

    Tim S.
    Last edited by stahta01; 07-08-2011 at 02:06 PM.

  13. #13
    [](){}(); manasij7479's Avatar
    Join Date
    Feb 2011
    Location
    *nullptr
    Posts
    2,657
    Quote Originally Posted by stahta01 View Post
    I am only moderately verse about wxWidgets; know next to nothing about Qt; but, the past semester C++ instructor knew both and he like Qt because it did things in a more C++ style. I am average C programmer and a beginning C++ programer.

    The instructor had moved to making all his C++ GUI using Qt; partly because it recently went open source.
    Before that he was using wxWidgets in his C++ GUI projects. His GUI projects had to be multi-platform.

    Tim S.
    Then I'm staying...and improving my Qt bank...

  14. #14
    3735928559
    Join Date
    Mar 2008
    Location
    RTP
    Posts
    838
    in my own experience, Windows Forms / WPF is the most requested on job posts.

  15. #15
    [](){}(); manasij7479's Avatar
    Join Date
    Feb 2011
    Location
    *nullptr
    Posts
    2,657
    in my own experience, Windows Forms / WPF is the most requested on job posts
    Unfortunately.. :P
    Well, I'm happily a hobbyist ..

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. About Device Driver Programming And Socket Programming
    By pritesh in forum Linux Programming
    Replies: 6
    Last Post: 01-23-2010, 03:46 AM
  2. Replies: 1
    Last Post: 08-19-2007, 03:55 AM
  3. small programming job VCPP / Object Oriented Programming
    By calgonite in forum Projects and Job Recruitment
    Replies: 10
    Last Post: 01-04-2006, 11:48 PM
  4. Total newb to programming here... Question about the many programming languages. Ty!
    By tsubotakid1 in forum A Brief History of Cprogramming.com
    Replies: 11
    Last Post: 10-05-2003, 10:32 AM

Tags for this Thread