kspread

KSpread::FunctionCompletion Class Reference

#include <kspread_editors.h>

List of all members.


Detailed Description

Provides autocompletition facilities in formula editors.

When the user types in the first few characters of a function name in a CellEditor which has a FunctionCompletion object installed on it, the FunctionCompletion object creates and displays a list of possible names which the user can select from. If the user selects a function name from the list, the FunctionCompletion::selectedCompletion() signal is emitted

Definition at line 120 of file kspread_editors.h.


Signals

void selectedCompletion (const QString &item)

Public Member Functions

 FunctionCompletion (CellEditor *editor)
bool eventFilter (QObject *o, QEvent *e)
void doneCompletion ()
void showCompletion (const QStringList &choices)

Member Function Documentation

void KSpread::FunctionCompletion::doneCompletion  ) 
 

Hides the autocompletion list box if it is visible and emits the selectedCompletion signal.

bool KSpread::FunctionCompletion::eventFilter QObject *  o,
QEvent *  e
 

Handles various keyboard and mouse actions which may occur on the autocompletion popup list.

void KSpread::FunctionCompletion::selectedCompletion const QString &  item  )  [signal]
 

Emitted, if the user selects a function name from the list.

void KSpread::FunctionCompletion::showCompletion const QStringList &  choices  ) 
 

Populates the autocompletion list box with the specified choices and shows it so that the user can view and select a function name.

Parameters:
choices A list of possible function names which match the characters that the user has already entered.

The documentation for this class was generated from the following file:
KDE Home | KDE Accessibility Home | Description of Access Keys