File: README.md

package info (click to toggle)
kcompletion 5.116.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 21,760 kB
  • sloc: cpp: 5,947; sh: 14; makefile: 7
file content (24 lines) | stat: -rw-r--r-- 1,022 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# 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.