kexi
KexiFieldListView Class Reference
#include <kexifieldlistview.h>
Inheritance diagram for KexiFieldListView:

Detailed Description
This widget provides a list of fields from a table or query.
Definition at line 33 of file kexifieldlistview.h.
Public Types | |
ShowDataTypes = 1 | |
ShowAsterisk = 2 | |
AllowMultiSelection = 4 | |
enum | Options { ShowDataTypes = 1, ShowAsterisk = 2, AllowMultiSelection = 4 } |
Public Member Functions | |
KexiFieldListView (QWidget *parent, const char *name=0, int options=ShowDataTypes|AllowMultiSelection) | |
virtual | ~KexiFieldListView () |
void | setSchema (KexiDB::TableOrQuerySchema *schema) |
KexiDB::TableOrQuerySchema * | schema () const |
Protected Member Functions | |
virtual QDragObject * | dragObject () |
Protected Attributes | |
KexiDB::TableOrQuerySchema * | m_schema |
QPixmap | m_keyIcon |
QPixmap | m_noIcon |
int | m_options |
Member Enumeration Documentation
Flags used to alter list's behaviour and appearance.
- Enumerator:
-
ShowDataTypes if set, 'data type' column is added ShowAsterisk if set, asterisk ('*') item is prepended to the list AllowMultiSelection if set, multiple selection is allowed
Definition at line 39 of file kexifieldlistview.h.
Member Function Documentation
QDragObject * KexiFieldListView::dragObject | ( | ) | [protected, virtual] |
Definition at line 137 of file kexifieldlistview.cpp.
void KexiFieldListView::setSchema | ( | KexiDB::TableOrQuerySchema * | schema | ) |
Sets table or query schema schema. The schema object will be owned by the KexiFieldListView object.
Definition at line 76 of file kexifieldlistview.cpp.
Member Data Documentation
QPixmap KexiFieldListView::m_keyIcon [protected] |
QPixmap KexiFieldListView::m_noIcon [protected] |
The documentation for this class was generated from the following files: