Solved How to detect changes made to xml file manually.
-
I have an Xml file say which is the tab name of the tabwidget . Each tab has some buttons.
<Scanmode tab1="Name1"/>
<Scanmode tab2="Name2"/>
<Scanmode tab3="Name3"/>Say now user manually changes them to
<Scanmode tab1="changed"/>
<Scanmode tab2="changed1"/>
<Scanmode tab3="changed2"/>How to detect the changes and load them to widgets(importnt only LOAD them to widget--(TAB NAME OF TABWIDGET)).
Thanks in Advance
-
Hi,
The QFileSystemWatcher class comes to mind for that kind of stuff.
-
@SGaist thanks a lot