Hi,
this is not a question, but something I want to share. I was looking for a way to place an icon right of the button text. This is useful for navigating datasets (first, prev, next, last).
The easy way to do it, is to use QWidget::setLayoutDirection. So for the three buttons on the right you just need to do:
Qt Code:
... pushButtonNext->setLayoutDirection(Qt::RightToLeft); pushButtonLast->setLayoutDirection(Qt::RightToLeft); pushButtonNextIssue->setLayoutDirection(Qt::RightToLeft); ...To copy to clipboard, switch view to plain text mode
Have fun!
Bookmarks