Go to file
openKylinBot 48ffed859b changed debian/source/format to native 2022-05-18 18:05:23 +08:00
LICENSES Import Upstream version 5.92.0 2022-05-18 18:05:22 +08:00
autotests Import Upstream version 5.92.0 2022-05-18 18:05:22 +08:00
debian changed debian/source/format to native 2022-05-18 18:05:23 +08:00
docs Import Upstream version 5.92.0 2022-05-18 18:05:22 +08:00
po Import Upstream version 5.92.0 2022-05-18 18:05:22 +08:00
src Import Upstream version 5.92.0 2022-05-18 18:05:22 +08:00
tests Import Upstream version 5.92.0 2022-05-18 18:05:22 +08:00
.git-blame-ignore-revs Import Upstream version 5.92.0 2022-05-18 18:05:22 +08:00
.gitignore Import Upstream version 5.92.0 2022-05-18 18:05:22 +08:00
.gitlab-ci.yml Import Upstream version 5.92.0 2022-05-18 18:05:22 +08:00
.kde-ci.yml Import Upstream version 5.92.0 2022-05-18 18:05:22 +08:00
CMakeLists.txt Import Upstream version 5.92.0 2022-05-18 18:05:22 +08:00
KF5CompletionConfig.cmake.in Import Upstream version 5.92.0 2022-05-18 18:05:22 +08:00
README.md Import Upstream version 5.92.0 2022-05-18 18:05:22 +08:00
metainfo.yaml Import Upstream version 5.92.0 2022-05-18 18:05:22 +08:00

README.md

KCompletion

Powerful completion framework, including completion-enabled lineedit and combobox.

Introduction

When typing filenames, email addresses and other text where the user often wants to select from existing data (including what they previously typed) rather than enter anything wholly original, users often find it helpful if they only need to type the first few characters, and then have the application offer them a set of choices or attempt to finish off what they were typing. Email clients, shells and "open file" dialogs often provide this functionality.

This framework helps implement this in Qt-based applications. You can use one of the completion-ready widgets provided by this framework, or integrate it into your application's other widgets directly.

Usage

The easiest way to get started is to use a KComboBox, KHistoryComboBox or KLineEdit. If you want to integrate completion into other parts of the user interface, you can use KCompletion to manage and select the possible completions.