Hi!

void QWidget::addAction ( QAction * action )
-Appends the action action to this widget's list of actions.

Create an QToolButton add the action to the button with:

void QToolButton::setDefaultAction ( QAction * action ) [slot]

then add the button to the QDialogs layout.