13,069
回編集
| 89行目: | 89行目: | ||
また、アイコンのサイズも指定できる。<br> | また、アイコンのサイズも指定できる。<br> | ||
<syntaxhighlight lang="c++"> | <syntaxhighlight lang="c++"> | ||
std:: | std::unique_ptr<QToolButton> pToolBtn = std::make_unique<QToolButton>(); | ||
QIcon Icon = QIcon(style()->standardPixmap(QStyle::SP_TitleBarMenuButton)); | QIcon Icon = QIcon(style()->standardPixmap(QStyle::SP_TitleBarMenuButton)); | ||