This method returns the translated point.QPoint QWidget::mapFromParent ( const QPoint & pos ) const
Translates the parent widget coordinate pos to widget coordinates.
Same as mapFromGlobal() if the widget has no parent.
Qt Code:
void myMainForm::showPopup() { popup->show(); }To copy to clipboard, switch view to plain text mode




Reply With Quote
Bookmarks