matteo wrote: > Is there a method to return the QMainWindow pointer without declares it > global? > Why would you assume there can be only one in any application? If this is the case for your application, I suggest you make your QMainWindow a singleton class. Google on "singleton pattern" to find out how. André