Layouting::CompletingTextEdit Class
class Layouting::CompletingTextEditIndkapsler ` Utils::CompletingTextEdit ` til brug i en layout-builder. Mere...
| Header: | #include <CompletingTextEdit> |
| Inherits: | Layouting::Widget |
Offentlige funktioner
| 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) |
Detaljeret beskrivelse
Tilbyder autofuldførelse, et valgfrit ikon til højre og konfigurerbar adfærd ved autofuldførelse ud over de standardfunktioner til redigering af tekst på flere linjer, som findes i TextEdit.
Se også Layouting::TextEdit, Layouting::LineEdit og Layouting::Widget.
Dokumentation til medlemsfunktioner
void CompletingTextEdit::onReturnPressed(QObject *guard, const std::function<void ()> &func)
Kobler ` func ` til signalet `CompletingTextEdit::returnPressed`. Forbindelsen fjernes automatisk, når ` guard ` slettes.
void CompletingTextEdit::onRightSideIconClicked(QObject *guard, const std::function<void ()> &func)
Kobler ` func ` til signalet `CompletingTextEdit::rightSideIconClicked`. Forbindelsen fjernes automatisk, når ` guard ` slettes.
void CompletingTextEdit::onTextChanged(QObject *guard, const std::function<void (QString)> &func)
Kobler ` func ` til signalet `textChanged` og videregiver den aktuelle almindelige tekst. Forbindelsen fjernes automatisk, når ` guard ` slettes.
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.