Beginner's Question on QT

This is a discussion on Beginner's Question on QT within the C++ Programming forums, part of the General Programming Boards category; i run QT on my Mac, i have read the first 3 lessons and unfortunately i couldn't understand the essentials ...

  1. #1
    Registered User
    Join Date
    Nov 2008
    Posts
    10

    Beginner's Question on QT

    i run QT on my Mac, i have read the first 3 lessons and unfortunately i couldn't understand the essentials of GUI programming, i mean how the source code relate the GUI files.When i do the gui, i need to write the code, do i need to write only in main.cpp file, or in another too, where i an write to modify it.For example there is a simple program with two buttons, i use Qbuttons , but how/when to write what happens when the button is pushed?

    Thank you previously.

  2. #2
    Registered User
    Join Date
    Dec 2006
    Location
    Canada
    Posts
    3,183
    Hmm if you are asking this question, you are probably not ready for GUI, yet. How much C++ do you know?

    As for the question, you would need to use "signals" and "slots", which will probably be made clear later on in the tutorial.

    If you don't have at least basic understanding of OOP, which Qt uses extensively, though, I would recommend holding off Qt until later.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. beginner's question :D
    By kingliaho in forum C Programming
    Replies: 5
    Last Post: 10-17-2008, 05:20 PM
  2. C beginners question
    By incipientmind in forum C Programming
    Replies: 5
    Last Post: 02-25-2008, 01:06 PM
  3. C & QT Question
    By DaveHope in forum Linux Programming
    Replies: 4
    Last Post: 12-22-2003, 12:32 PM
  4. Question...
    By TechWins in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 07-28-2003, 09:47 PM
  5. opengl DC question
    By SAMSAM in forum Game Programming
    Replies: 6
    Last Post: 02-26-2003, 08:22 PM

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