Results 1 to 2 of 2

Thread: a basic questions!!

  1. #1
    Join Date
    Mar 2009
    Posts
    104
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    MacOS X

    Default a basic questions!!

    Hello everybody,

    i installed QT 4.5 on my Mac.
    i'm almost new in C++ and i have some basic questions which answers will help me a lot.
    Thank you previously!

    1.When i start new GUI Application, there are basic files header, main.cpp and the GUI file.
    i open the .ui file and create text field , bush button.i set the signal/slot of them.How to relate the code generated in .ui file with main.cpp ?

    2.Could you explain me the way to create an application.For example, create new project, than start the .ui or first do somethink in header and .cpp and then .ui ??

  2. #2
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: a basic questions!!

    Quote Originally Posted by unix7777 View Post
    1.When i start new GUI Application, there are basic files header, main.cpp and the GUI file.
    i open the .ui file and create text field , bush button.i set the signal/slot of them.How to relate the code generated in .ui file with main.cpp ?
    Have a look here: Using a Designer .ui File in Your Application
    2.Could you explain me the way to create an application.For example, create new project, than start the .ui or first do somethink in header and .cpp and then .ui ??
    It doesn't matter where you begin, but as you probably need the GUI elements in your code start with setting up an GUI in the ui-files.


    Lykurg

Similar Threads

  1. Who gets questions answered and who doesn't?
    By gjshannon in forum General Discussion
    Replies: 15
    Last Post: 19th March 2009, 21:02
  2. Where can I get basic WebKit software?
    By crazymoonboy in forum General Discussion
    Replies: 1
    Last Post: 4th September 2008, 14:15
  3. Memory management questions (im new to Qt)
    By scarvenger in forum Qt Programming
    Replies: 2
    Last Post: 6th May 2007, 07:41
  4. 2 Questions about layouts
    By SkripT in forum Qt Programming
    Replies: 1
    Last Post: 26th February 2006, 13:54
  5. Qt related questions and thoughts about getting job
    By AlexKiriukha in forum General Discussion
    Replies: 4
    Last Post: 26th January 2006, 12:25

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.