I\'m trying to access ui from a class outside of my mainwindows class im tried some ways like declare my function in mainwindow heder, and then use mainwindow in those funct