

By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. If you are looking for information about Qt related issue - and post your question. Over 90 percent of questions asked here gets answered. Is a community site devoted to programming in C++ using the. To start viewing messages, select the forum that you want to visit from the selection below. You may have to before you can post: click the register link above to proceed. If this is your first visit, be sure to check out the by clicking the link above.
#Qt update gui from worker thread software
Hardware and Software Programming Digital Media Community Center Home. Forums DaniWeb IT Discussion Community Forums. Hey i heard that there is something called qt signals you can use it to change the GUI out side the main thread coz when i try to change it. QRunnable and execute it using another entity offered by Qt. Model->setData(model->index(0, 0), subject) // Gui could modify model here! Model->setData(model->index(0, 1), sender) // Gui could modify model here! Model->setData(model->index(0, 2), date). But if the View class you are using can do any autonomous modifications (like drag and drop rearrangement), then it could break the expectations of worker thread code, such as: model->insertRow(0) // Gui could modify model here! Despite the synchronization overhead, I imagine this approach could avoid crashes.
