def METHOD_NAME(self):
    MyMainWindow.s_menuCount += 1
    w = newMyWidget(self)
    w.setGeometry(100, 100, 400, 400)
    dock = KDDockWidgets.DockWidget("new dock %d" % (MyMainWindow.s_menuCount))
    dock.setWidget(w)
    dock.resize(600, 600)
    dock.show()
    self.dockwidgets.append(dock)