Na tej strani

Layouting::CompletingTextEdit Class

class Layouting::CompletingTextEdit

Zavija razred » Utils::CompletingTextEdit « za uporabo v orodju za oblikovanje postavitve. Več...

Header: #include <CompletingTextEdit>
Inherits: Layouting::Widget

Javne funkcije

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)

Podroben opis

Poleg standardnih zmogljivosti za urejanje večvrstnega besedila v TextEdit omogoča samodejno dopolnjevanje, izbirno ikono na desni strani in nastavljivo obnašanje dopolnjevanja.

Glejte tudi Layouting::TextEdit, Layouting::LineEdit in Layouting::Widget.

Dokumentacija o funkcijah članov

void CompletingTextEdit::onReturnPressed(QObject *guard, const std::function<void ()> &func)

Poveže objekt ` func ` s signalom `CompletingTextEdit::returnPressed`. Povezava se samodejno prekine, ko se objekt ` guard ` uniči.

void CompletingTextEdit::onRightSideIconClicked(QObject *guard, const std::function<void ()> &func)

Poveže objekt » func « s signalom »CompletingTextEdit::rightSideIconClicked«. Povezava se samodejno prekine, ko se objekt » guard « uniči.

void CompletingTextEdit::onTextChanged(QObject *guard, const std::function<void (QString)> &func)

Poveže ` func ` s signalom `textChanged` in mu posreduje trenutno navadno besedilo. Povezava se samodejno prekine, ko se ` guard ` uniči.

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.