PDA

View Full Version : How to edit first ui by second ui?



zlatan14
30th June 2014, 10:39
As the topic, to edit first UI by second UI. If my second UI can edit the position of button and the background for display in first UI. After we click save on second UI, the first UI must running and can click as the second UI edit. The question is how to link between UI? and the example code or example application. Thank You

anda_skoa
30th June 2014, 11:36
Several options:

- passing one object to the other, as usual in C++
- connecting the two objects using Qt signal/slot

Cheers,
_

zlatan14
30th June 2014, 16:31
Do you have the example project or example code?

anda_skoa
30th June 2014, 16:55
I assume you don't need an example for basic C++, so here is an overview documentation, including examples, on Qt signal/slot
http://qt-project.org/doc/qt-5/signalsandslots.html

Cheers,
_