「Qtの基礎 - ウインドウ」の版間の差分

ナビゲーションに移動 検索に移動
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));
   
   

案内メニュー