이 페이지에서

Layouting::CompletingTextEdit Class

class Layouting::CompletingTextEdit

레이아웃 빌더에서 사용할 수 있도록 ` Utils::CompletingTextEdit `를 래핑합니다. 더 보기...

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

공개 함수

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)

상세 설명

TextEdit 의 표준 다중 줄 텍스트 편집 기능 외에도 자동 완성, 선택적 우측 아이콘 및 구성 가능한 완성 동작을 제공합니다.

Layouting::TextEdit, Layouting::LineEdit 및 Layouting::Widget도 참조하십시오 .

멤버 함수 문서

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

func 를 CompletingTextEdit::returnPressed 신호에 연결합니다. guard 가 소멸되면 이 연결은 자동으로 해제됩니다.

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

func 를 CompletingTextEdit::rightSideIconClicked 신호에 연결합니다. guard 가 소멸되면 이 연결은 자동으로 제거됩니다.

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

func 를 textChanged 신호에 연결하고, 현재 일반 텍스트를 전달합니다. 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.