SqlDelegateUi Class Reference
A custom widget used for direct data editation in the
DataViewer result table. It contains line edit and some buttons for specific tasks. LineEdit is used for direct editation as in the default item delegate. This widget is disabled when there is stored a multiline text (\n) or the value is BLOB. nullButton handles a real NULL values insertions. Text can be in 3 states: a string, an empty string ('') and NULL. Sqlite3 makes difference between '' and NULL. editButton opens "multi" editor (see MultiEditDialog()). User can edit multi lined large texts, load files into BLOB, or format DateTime data.
More...
#include <sqldelegate.h>
List of all members.
Detailed Description
A custom widget used for direct data editation in the
DataViewer result table. It contains line edit and some buttons for specific tasks. LineEdit is used for direct editation as in the default item delegate. This widget is disabled when there is stored a multiline text (\n) or the value is BLOB. nullButton handles a real NULL values insertions. Text can be in 3 states: a string, an empty string ('') and NULL. Sqlite3 makes difference between '' and NULL. editButton opens "multi" editor (see MultiEditDialog()). User can edit multi lined large texts, load files into BLOB, or format DateTime data.
- Author:
- Petr Vanek <petr@scribus.info>
Constructor & Destructor Documentation
| SqlDelegateUi::SqlDelegateUi |
( |
QWidget * |
parent = 0 |
) |
|
Member Function Documentation
| void SqlDelegateUi::setSqlData |
( |
const QVariant & |
data |
) |
|
| QVariant SqlDelegateUi::sqlData |
( |
|
) |
|
| void SqlDelegateUi::closeEditor |
( |
|
) |
[signal] |
The documentation for this class was generated from the following files: