本页内容

Layouting::SpinBox Class

class Layouting::SpinBox

封装了QSpinBox ,以便在布局构建器中使用。更多内容...

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

公共函数

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

详细说明

另请参阅 Layouting::Widget 。

成员函数文档

void SpinBox::onTextChanged(QObject *guard, const std::function<void (QString)> &func)

将func 连接到QSpinBox::textChanged 信号。当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.