Layouting::CompletingTextEdit Class
class Layouting::CompletingTextEditUtils::CompletingTextEdit をラップし、レイアウトビルダーで使用できるようにします。詳細...
| Header: | #include <CompletingTextEdit> |
| Inherits: | Layouting::Widget |
パブリック関数
| void | onReturnPressed(QObject *guard, const std::function<void ()> &func) |
| void | onRightSideIconClicked(QObject *guard, const std::function<void ()> &func) |
| void | onTextChanged(QObject *guard, const std::function<void (QString)> &func) |
詳細な説明
TextEdit の標準的な複数行テキスト編集機能に加え、オートコンプリート、オプションの右側アイコン、および設定可能な補完動作を提供します。
Layouting::TextEdit 、Layouting::LineEdit 、およびLayouting::Widgetも参照してください 。
メンバ関数のドキュメント
void CompletingTextEdit::onReturnPressed(QObject *guard, const std::function<void ()> &func)
func を CompletingTextEdit::returnPressed シグナルに接続します。guard が破棄されると、この接続は自動的に解除されます。
void CompletingTextEdit::onRightSideIconClicked(QObject *guard, const std::function<void ()> &func)
func を CompletingTextEdit::rightSideIconClicked シグナルに接続します。guard が破棄されると、この接続は自動的に解除されます。
void CompletingTextEdit::onTextChanged(QObject *guard, const std::function<void (QString)> &func)
func を 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.