Don't use tool buttons in your toolbar. Add actions instead, like so:
addToolbar(tb);
tb->addAction("File", this, SLOT( slotFile() ));
tb->addAction("Sequence", this, SLOT( slotSequence() ));
QToolBar *tb = new QToolBar;
addToolbar(tb);
tb->addAction("File", this, SLOT( slotFile() ));
tb->addAction("Sequence", this, SLOT( slotSequence() ));
To copy to clipboard, switch view to plain text mode
and so on... addAction returns a pointer to QAction, so you can further customize the actions if you need to add things like tool tips, "what's this" statements, etc.
Bookmarks