Hi,
I have two .ui files. I am loading these dynamically through QUiLoader. Now I want to display some default values in the widgets in these forms. But the problem is what values to be displayed will come from the server. So is it possible to set values this way dynamically? I know I could use the findChild<>T() but in that case I have to know all the children in the forms and there Object names also. But I want one generic Qt program which can load any .ui file dynamically. So how can I set the deafult values coming form the server without including this in the Qt App?
Bookmarks