Thread: Beginner's Question on QT

  1. #1
    Registered User
    Join Date
    Nov 2008

    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
    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, 02:06 PM
  3. C & QT Question
    By DaveHope in forum Linux Programming
    Replies: 4
    Last Post: 12-22-2003, 01:32 PM
  4. Question...
    By TechWins in forum A Brief History of
    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, 09:22 PM