Planned maintenance has been done but it did not solve the problem. So work will continue on this and a new time for trying updates will be announced asap.

请问怎么用QString QIcon::name() const?



  • 我在UI界面为按钮设置了icon,想在程序运行中取得按钮上icon的文件名。
    我试了QString QIcon::name() const方法,但是返回的是空串。
    各位哥哥怎么看?
    1_1541419128866_h.png 0_1541419128866_f.png


Log in to reply