📢 Webサイト閉鎖と移転のお知らせ
このWebサイトは2026年9月に閉鎖いたします。
新しい記事は移転先で追加しております。(旧サイトでは記事を追加しておりません)

89行目: 89行目:
また、アイコンのサイズも指定できる。<br>
また、アイコンのサイズも指定できる。<br>
  <syntaxhighlight lang="c++">
  <syntaxhighlight lang="c++">
  std::make_unique<QToolButton> pToolBtn = std::make_unique<QToolButton>();
  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));