Results 1 to 3 of 3

Thread: Correlating my.cpp & Designed GUI !

  1. #1
    Join Date
    Feb 2008
    Posts
    74
    Thanks
    31
    Thanked 2 Times in 2 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Question Correlating my.cpp & Designed GUI !

    Hello! Everybody,
    I am new to Qt. I am using Qt3.3.3 on Linux. I have a GUI having comboBox to select few values, another comboBox to select the function. And i have my.cpp file which works seperately on its own. What i want is whenever user selects optioons like values, function & then desires to do compute the function written in my.cpp it should properly go to the function in my.cpp file execute it & send siganls back to GUI.
    It is like my.cpp is the main program running coontinously at the back of developed GUI. But whenever user tries to use GUI they both should be correlated properly.

    Can anyone please please help me out in this stuff. I will be obliged if answered.

    Thanks in Advance.

    I am glad to join the forum as i got to see many usefull threads here. Thanks.

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Correlating my.cpp & Designed GUI !

    Hi, start with reading about signals and slots. Once you're done, you might want to take a look at QComboBox signals.

    PS. It is highly recommended to update to Qt 4 which has already been out for a few years.
    J-P Nurmi

  3. #3
    Join Date
    Feb 2008
    Posts
    74
    Thanks
    31
    Thanked 2 Times in 2 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Thumbs up Re: Correlating my.cpp & Designed GUI !

    Hello! jpn,
    Thanks for replying, i will try more on my part & will later ask you further doubts.

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.