Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8137941
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T11:20:23+00:00 2026-06-06T11:20:23+00:00

I have a C++ code and now I am thinking to prepare a UI

  • 0

I have a C++ code and now I am thinking to prepare a UI with Qt since its language is also C++. Before attempting to do that I wonder how can I transfer data between my code and UI code. I mean, I do not want to write variables to a textfile and let UI to read it. Instead I want this to be done internally. I know this is possible but dont know where to start. Any idea?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T11:20:25+00:00Added an answer on June 6, 2026 at 11:20 am

    Qt has a Signal and Slot mechanism that is meant for this purpose. Take a look at the examples here http://qt-project.org/doc/qt-5.0/examples-widgets.html
    This also works if the Gui runs in a Separate Thread but be careful to get Threading and Signals and Slots right: http://labs.qt.nokia.com/2010/06/17/youre-doing-it-wrong/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this code ,now can anyone reply s what happens to the lock
I have some code right now that executes when a link is clicked. The
I have code that dynamically load 10 different textfields in viewdidload method now if
The javascript code I now have can toggle a single row of data. Whether
Right now i have code that initiates transactions on SQL Server using the intended
In Python I have this code: now = datetime.now().isoformat() if . not in now:
I have this code right now to get the row value from jquery grid..
I have The following code for now. type TByte4 = array[0..3] of Byte; //
I already have code which lazy loads scripts on request. My issue now is
I have a page which has many event handlers. The code now reached 1000+

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.