Layouting::LineEdit Class
class Layouting::LineEditUtils::FancyLineEdit -t burkolja be, hogy elrendezés-készítőben használható legyen. További információk...
| Header: | #include <LineEdit> |
| Inherits: | Layouting::Widget |
Nyilvános függvények
| void | onReturnPressed(QObject *guard, const std::function<void ()> &func) |
| void | onRightSideIconClicked(QObject *guard, const std::function<void ()> &func) |
Részletes leírás
Támogatja az automatikus kiegészítést, a jobb oldali ikon gombot, a helyőrző szöveget és a Return billentyű lenyomására vonatkozó jelet. Amikor a onReturnPressed() csatlakozik, a Return és az Enter billentyűk lenyomása elfogadott (nem terjed tovább).
Lásd még: Layouting::CompletingTextEdit, Layouting::TextEdit és Layouting::Widget.
Tagfüggvény-dokumentáció
void LineEdit::onReturnPressed(QObject *guard, const std::function<void ()> &func)
Összekapcsolja a ` func `-t a `FancyLineEdit::returnPressed` jelzéssel, és engedélyezi a Return/Enter billentyűesemények fogadását, így azok nem kerülnek továbbításra. A kapcsolat automatikusan megszűnik, amikor a ` guard ` megsemmisül.
void LineEdit::onRightSideIconClicked(QObject *guard, const std::function<void ()> &func)
Összekapcsolja a ` func `-et a `FancyLineEdit::rightButtonClicked` jelével. A kapcsolat automatikusan megszűnik, amikor a ` guard ` megsemmisül.
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.