For one button, I can do this:
p1->setIcon(QIcon(":resource/1.png")); p1->setIconSize(QSize(48,48)); And how to make a slot that would do the same?
setIconSize(QSize(48,48)); ...">
For one button, I can do this:
p1->setIcon(QIcon(":resource/1.png")); p1->setIconSize(QSize(48,48)); And how to make a slot that would do the same?
Source: https://ru.stackoverflow.com/questions/566028/
All Articles