Layouting::CompletingTextEdit Class
class Layouting::CompletingTextEditEnvuelve « Utils::CompletingTextEdit » para su uso en un generador de maquetación. Más...
| Header: | #include <CompletingTextEdit> |
| Inherits: | Layouting::Widget |
Funciones públicas
| 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) |
Descripción detallada
Proporciona autocompletado, un icono opcional a la derecha y un comportamiento de autocompletado configurable, además de las capacidades estándar de edición de texto multilínea de TextEdit.
Véase también Layouting::TextEdit, Layouting::LineEdit y Layouting::Widget.
Documentación sobre funciones de miembro
void CompletingTextEdit::onReturnPressed(QObject *guard, const std::function<void ()> &func)
Conecta ` func ` a la señal `CompletingTextEdit::returnPressed`. La conexión se elimina automáticamente cuando se destruye ` guard `.
void CompletingTextEdit::onRightSideIconClicked(QObject *guard, const std::function<void ()> &func)
Conecta ` func ` a la señal `CompletingTextEdit::rightSideIconClicked`. La conexión se elimina automáticamente cuando se destruye ` guard `.
void CompletingTextEdit::onTextChanged(QObject *guard, const std::function<void (QString)> &func)
Conecta « func » a la señal «textChanged», pasando el texto sin formato actual. La conexión se elimina automáticamente cuando se destruye « 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.