@squidge: thanks how did i miss that? that was the reason i request the code in the .h file, and i didn't see the fault

@willief: this is a documentation page with explanation of the different methods you can use to integrate .ui file into your C++ code, might help you in the future.