I'm in the proces of evaluating Qt 4.1.2 for a project that was originally written in MFC.. and I'm trying to wrap my head around things. I'm working in Visual Studio 2005; for my test I'm building a simple app with some combo boxes.

At the moment I am puzzled as to how to add slots to my window class. Designer does not seem to have any facility to add slots to a class (am I missing something?) So I have to add them by hand. However -

- If I manually add slots to my class (QtTest, derived from QMainWindow), the slots do not show up in Designer, so I can't use Designer's signal/slot facilities.

- If I were to add the slots to ui_QtTestClass, then they will be overwritten the next time I edit the form in Designer - am I correct?

I must be missing something; there's no point in having all this signal/slot support in Designer if there's no way to add slots through Designer...