kexi

KexiQueryParameters Class Reference

#include <kexiqueryparameters.h>

List of all members.


Detailed Description

Utilities providing GUI for getting query parameters.

Definition at line 26 of file kexiqueryparameters.h.


Static Public Member Functions

static QValueList< QVariant > getParameters (QWidget *parent, const KexiDB::Driver &driver, KexiDB::QuerySchema &querySchema, bool &ok)

Member Function Documentation

QValueList< QVariant > KexiQueryParameters::getParameters ( QWidget *  parent,
const KexiDB::Driver driver,
KexiDB::QuerySchema querySchema,
bool &  ok 
) [static]

Todo:
do not use KInputDialog - switch to more powerful custom dialog

offer option to display one dialog (form) with all the parameters

support more types (using validators)

support defaults

support validation rules, e.g. min/max value, unsigned

support Enum type (list of strings, need support for keys and user-visible strings)

Todo:
problem for ranges in case of BigInteger - will disappear when we remove use of KInputDialog

Todo:
add support for unsigned parameter here

editable

Todo:
add validator

Todo:
add validator

Todo:
add validator

Todo:
this value will be still rounded: consider storing them as a decimal type (e.g. using a special Q_LLONG+decimalplace class)

Todo:
BLOB input unsupported

Definition at line 32 of file kexiqueryparameters.cpp.


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