Na této stránce

Layouting::PushButton Class

class Layouting::PushButton

Obaluje třídu ` QPushButton ` pro použití v nástroji pro tvorbu rozvržení. Více...

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

Veřejné funkce

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

Podrobný popis

Viz také Layouting::ToolButton a Layouting::Widget.

Dokumentace členských funkcí

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

Propojí funkci ` func ` se signálem ` QAbstractButton::clicked `. Propojení se automaticky zruší, jakmile dojde ke zničení ` 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.