In questa pagina

Layouting::PushButton Class

class Layouting::PushButton

Incorpora QPushButton per l'utilizzo in un generatore di layout. Altro...

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

Funzioni pubbliche

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

Descrizione dettagliata

Vedi anche Layouting::ToolButton e Layouting::Widget.

Documentazione sulle funzioni dei membri

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

Collega ` func ` al segnale ` QAbstractButton::clicked `. Il collegamento viene rimosso automaticamente quando ` guard ` viene distrutto.

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.