このページでは

Layouting::PushButton Class

class Layouting::PushButton

QPushButton をラップし、レイアウトビルダーで使用できるようにします。詳細...

Header: #include <PushButton>
Inherits: Layouting::Widget

パブリック関数

void onClicked(QObject *guard, const std::function<void ()> &func)

詳細な説明

「 Layouting::ToolButton 」および「Layouting::Widget 」も参照してください 。

メンバー関数のドキュメント

void PushButton::onClicked(QObject *guard, const std::function<void ()> &func)

func をQAbstractButton::clicked 信号に接続します。guard が破棄されると、この接続は自動的に解除されます。

Copyright © The Qt Company Ltd. and other contributors. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.