På denne side

Layouting::PushButton Class

class Layouting::PushButton

Indkapsler ` QPushButton ` til brug i en layout-builder. Mere...

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

Offentlige funktioner

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

Detaljeret beskrivelse

Se også Layouting::ToolButton og Layouting::Widget.

Dokumentation til medlemsfunktioner

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

Forbinder ` func ` med signalet ` QAbstractButton::clicked `. Forbindelsen afbrydes automatisk, når ` guard ` destrueres.

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.