My program starts on main.cpp, that creates the main window, etc.
I would want to have a global instance of MYCLASS, so if I wanted to use some function of it, I only would have to write MYCLASS.myfunction.
So , mmm , how can I have global variables and clases ? Where I have to write and how?
Thanks