Hi, not sure if its a qt creator or qt designer problem but when I do go to slot on a push button in my form it creates the slot in the ui header file, which is correct, but then it does a strange thing where the constructor for the slot is also placed in the header file. I don't know why this is but ever since now I can't use a pointer to my mainwindow class as it says mainwindow does not name a type. Firstly anyone know anything about why the go to slot function slot appears in the header file not the .cpp like normal?