Like Tree1Likes

GUI programming

This is a discussion on GUI programming within the C++ Programming forums, part of the General Programming Boards category; Hi All, I'm pretty new to programming and C++ and have been making my way through c++ without fear. I'd ...

  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
    Registered User manasij7479's Avatar
    Join Date
    Feb 2011
    Location
    Kolkata@India
    Posts
    2,498
    Qt is a good one .
    Manasij Mukherjee | gcc-4.8.2 @Arch Linux
    Slow and Steady wins the race... if and only if :
    1.None of the other participants are fast and steady.
    2.The fast and unsteady suddenly falls asleep while running !



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

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

    Tim S.

  5. #5
    Registered User manasij7479's Avatar
    Join Date
    Feb 2011
    Location
    Kolkata@India
    Posts
    2,498
    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.
    Manasij Mukherjee | gcc-4.8.2 @Arch Linux
    Slow and Steady wins the race... if and only if :
    1.None of the other participants are fast and steady.
    2.The fast and unsteady suddenly falls asleep while running !



  6. #6
    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

  7. #7
    Registered User rogster001's Avatar
    Join Date
    Aug 2006
    Location
    Liverpool UK
    Posts
    1,425
    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'"

  8. #8
    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.

  9. #9
    Registered User manasij7479's Avatar
    Join Date
    Feb 2011
    Location
    Kolkata@India
    Posts
    2,498
    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.
    Manasij Mukherjee | gcc-4.8.2 @Arch Linux
    Slow and Steady wins the race... if and only if :
    1.None of the other participants are fast and steady.
    2.The fast and unsteady suddenly falls asleep while running !



  10. #10
    Registered User
    Join Date
    May 2009
    Posts
    2,581
    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.

  11. #11
    Registered User manasij7479's Avatar
    Join Date
    Feb 2011
    Location
    Kolkata@India
    Posts
    2,498
    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 ?
    Manasij Mukherjee | gcc-4.8.2 @Arch Linux
    Slow and Steady wins the race... if and only if :
    1.None of the other participants are fast and steady.
    2.The fast and unsteady suddenly falls asleep while running !



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

  13. #13
    Registered User manasij7479's Avatar
    Join Date
    Feb 2011
    Location
    Kolkata@India
    Posts
    2,498
    in my own experience, Windows Forms / WPF is the most requested on job posts
    Unfortunately.. :P
    Well, I'm happily a hobbyist ..
    Manasij Mukherjee | gcc-4.8.2 @Arch Linux
    Slow and Steady wins the race... if and only if :
    1.None of the other participants are fast and steady.
    2.The fast and unsteady suddenly falls asleep while running !



  14. #14
    Registered User
    Join Date
    Oct 2006
    Posts
    2,421
    the one attractive thing about wxWidgets, from my perspective, is that you NEVER have to pay for it under any circumstances. Qt has a free version that is only for open-source projects, and a paid version that is for commercial projects.

  15. #15
    3735928559
    Join Date
    Mar 2008
    Location
    RTP
    Posts
    839
    Qt was LGPL when i used it 2 years ago

Page 1 of 2 12 LastLast
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, 02: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, 10: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


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21