Conclusion, not using QMainWindow from guidata.qt.QtGui seems to not working... Can use simple guidata but OK button stay on Generic Dataset. Will design another window class from wxglade to reflect Rectangle, in a combolist like and possibility to change it and erase it too...