thanks all, and the last question: how to remove a widget out of a dock widget? I search in Qt assistant but can't found the way to do that. I only deleted the widget which was set into the dock widget, It right?
thanks all, and the last question: how to remove a widget out of a dock widget? I search in Qt assistant but can't found the way to do that. I only deleted the widget which was set into the dock widget, It right?
You can reparent (QObject::setParent()) the widget out of the dock widget and delete the dock widget.
Bookmarks