Layouting::LineEdit Class
class Layouting::LineEditOmotači Utils::FancyLineEdit a za upotrebu u Layouting builderu. Više...
| Header: | #include <LineEdit> |
| Inherits: | Layouting::Widget |
Javne funkcije
| void | onReturnPressed(QObject *guard, const std::function<void ()> &func) |
| void | onRightSideIconClicked(QObject *guard, const std::function<void ()> &func) |
Detaljan opis
Podržava automatsko dopunjavanje, ikonu na desnoj strani, tekst za popunjavanje i signal pritiska tipke Return. Kada je onReturnPressed() priključen, tipke Return i Enter se prihvaćaju (ne prenose dalje).
Vidi također Layouting::CompletingTextEdit, Layouting::TextEdit i Layouting::Widget.
Dokumentacija funkcija člana
void LineEdit::onReturnPressed(QObject *guard, const std::function<void ()> &func)
Povezuje signal func s signalom FancyLineEdit::returnPressed i omogućuje prihvaćanje događaja tipke Return/Enter kako se ne bi dalje prosljeđivali. Povezanost se automatski uklanja kada se guard uništi.
void LineEdit::onRightSideIconClicked(QObject *guard, const std::function<void ()> &func)
Povezuje signal func s signalom FancyLineEdit::rightButtonClicked. Poveznja se automatski uklanja kada se guard uništi.
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.