read(), write() function should use with pMainwindow
pMainWindow->read();
pMainwindow->Write();
decleare m_bStop in mainwindow.h public
if we want we can access the GUI (mainwindow) in FunctionsThread.cpp also ... try with this you can get the result sure .....
Bookmarks