QPushButton *leftToRightBtn = new QPushButton; leftToRightBtn->setToolTip(tr("Transfer File(s) from Left to Right")); leftToRightBtn->setFlat(true); leftToRightBtn->setIcon(QIcon(":/images/rightarrow.png")); leftToRightBtn->setStatusTip(tr("Transfer File(s) from Left to Right"));
本文出自 “大白菜” 博客,请务必保留此出处http://zhengyongkun.blog.51cto.com/1163218/1530882
Qt 设置按钮透明、图标、移动到按钮和状态栏提示等各种属性,布布扣,bubuko.com
原文地址:http://zhengyongkun.blog.51cto.com/1163218/1530882