Import 3d obj

Hello everyone. I need the user to be able to upload their 3d model to my project. That is, there will be an event in the widget that calls a function that opens a dialog window for selecting a file. I created an actor class C++ in which I want to create this function. I found information about OpenFileDialog on the Internet, but I don’t understand how to use you have examples of using this class? or mb diffrinte way?