m_button = new QPushButton(this);
m_button->setText(tr("Ope34543r"));
m_button->setIcon(QIcon("F:\\qt\\OperWidget\\test.png"));
m_button->setLayoutDirection(Qt::RightToLeft);
给QPushButton增加图标并且显示在文本右边
Published: at 01:10 AM | 1 min read