Oh, that's easy. Just assign the QAction associated with the menu entry directly to the button (it has to be a QToolButton not a QPushButton) using QToolButton::setDefaultAction().
Oh, that's easy. Just assign the QAction associated with the menu entry directly to the button (it has to be a QToolButton not a QPushButton) using QToolButton::setDefaultAction().
avis_phoenix (19th June 2006)
Bookmarks