Is there a way how the code of a property widget can trigger a “reload files” (like what the user can do with F5 in ParaView)?
Because I have a button there in a property widget related to a specialized file reader that allows to do changes in the input file - and afterwards it would be nice if the user would not be required to press F5 (and possibly forget!).
For some other widget I already found a way to automatically press “Apply”, but this is a bit “hackish”: First get the property panel object through the means of Qt (findChild - starting with the main window etc. -, then call the “Apply” function). Maybe such kind of approach would be possible as well!?
Anyway, if there is a more elegant way I would prefer it. So any hints are welcome!