No no no... that's a wrong way. All you need to do for a slot or signal to be available in designer for a custom widget is to declare them as such in the class and remember about placing the Q_OBJECT macro. The same goes for properties - use the Q_PROPERTY macro. You seldom need to touch the member sheet extension.

Qt Code:
  1. class SomeWidget : public QWidget {
  2. Q_OBJECT
  3. Q_PROPERTY(int someProp READ getSomeProp WRITE setSomeProp)
  4. public:
  5. // ...
  6. public slots:
  7. void myCustomSlot() { ... }
  8. signals:
  9. void myCustomSignal(int);
  10. };
To copy to clipboard, switch view to plain text mode