Results 1 to 3 of 3

Thread: In what order do you create program pieces?

  1. #1
    Join Date
    Jul 2007
    Posts
    23
    Thanks
    16
    Qt products
    Qt4
    Platforms
    Windows

    Question In what order do you create program pieces?

    My question is this: Where do I start? (maybe this is too big of a question.)

    I'm trying write a fairly simple program...some basic file IO, a couple of forms...nothing special. I'm a visual person so I've created the forms in designer already. Now I don't know what to program next.
    I've looked though the tutorials and documentation extensively, but most examples include coding the GUI from the beginning. The one thing I thought would be useful, "Using a Component in Your Application" (from the designer manual), is a bit obfuscated to me and I'm becoming frustrated on what I feel should be within my means.

    I know I need a main.cpp...In my limited understanding this seems to only start the program and display the main window. So where do I put my actual code...the meat of the program? Is it in cpp files for the individual forms?

    I'm a bit confused, and maybe I'm looking at this all wrong...the last time I used Qt it was version 3. I'd greatly appreciate it if someone could point me in the right direction, or as I have no aversion to reading, point me to something that can help.

    Thanks for your time in reading this...looking forward to some replys,
    Backslash

  2. #2
    Join Date
    Feb 2006
    Location
    Romania
    Posts
    2,744
    Thanks
    8
    Thanked 541 Times in 521 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: In what order do you create program pieces?

    Well, you have some choices...
    But I believe things will get clearer if you make some time to examine a bit the example programs that come with Qt.

    You can see there the structure of simple Qt applications, which you can follow and write your own.

    Regards

  3. The following user says thank you to marcel for this useful post:

    Backslash (15th July 2007)

  4. #3
    Join Date
    Jul 2007
    Posts
    23
    Thanks
    16
    Qt products
    Qt4
    Platforms
    Windows

    Smile Re: In what order do you create program pieces?

    Thanks very much, I don't know why I didn't take a more in-depth look at those. I'm going to jump into some of them tonight.


    Thanks again, I'm enjoying this forum already.
    Backslash

Similar Threads

  1. QT MySQL
    By sabeeshcs in forum Newbie
    Replies: 6
    Last Post: 12th January 2007, 04:19

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.