I do not understand how link this 2 connect statements:
f.i. connect(thread, SIGNAL(updateText(QString)), label, SLOT(setText(QString)));
what should be (updateText(QString)) - should it be wrapper of run() or start(), why to use Qstring argument?
I do not clearly grasp the linking of signal-slot (if button-click() --> trigger the SLOT), but here I want to signal() return the whole Qstring, then SLOT take it and assign to textview. Or you mean (updateText(QString)) is just for emit signal() so it takes the Qstring?
Why I cannot just use (thread, SIGNAL(start(), textview, SLOT(setText()) and or Qstring argument is exact argument that link signal and slot?
Anyway I need use button after clicking which I settext() but I cannot use it in aforementioned example.
So if just use it -- the textview would be filled just after launching the application, but I need use it just after clicking.
So as I understand I need some intermediate variable as listed2 where I can put the results of xml processing, and then put it in Qtextedit yet in main-gui...