kexi
KexiKIconTableEdit Class Reference
#include <kexiblobtableedit.h>
Inheritance diagram for KexiKIconTableEdit:

Detailed Description
Cell editor for displaying kde icon (using icon name provided as string). Read only.
Definition at line 80 of file kexiblobtableedit.h.
Public Member Functions | |
KexiKIconTableEdit (KexiTableViewColumn &column, QScrollView *parent=0) | |
virtual | ~KexiKIconTableEdit () |
virtual bool | valueIsNull () |
virtual bool | valueIsEmpty () |
virtual QVariant | value () |
virtual bool | cursorAtStart () |
virtual bool | cursorAtEnd () |
virtual void | clear () |
virtual void | setupContents (QPainter *p, bool focused, QVariant val, QString &txt, int &align, int &x, int &y_offset, int &w, int &h) |
Protected Member Functions | |
virtual void | setValueInternal (const QVariant &add, bool removeOld) |
void | showHintButton () |
void | init () |
Protected Attributes | |
QVariant | m_currentValue |
QCache< QPixmap > | m_pixmapCache |
Member Function Documentation
|
clears item's data, so the data will contain NULL data
Implements KexiDataItemInterface. Definition at line 370 of file kexiblobtableedit.cpp. |
|
Implements KexiDataItemInterface. Definition at line 380 of file kexiblobtableedit.cpp. |
|
Implements KexiDataItemInterface. Definition at line 375 of file kexiblobtableedit.cpp. |
|
For reimplementation. Sets up anmd paints cell's contents using context of val value. focused is true if the cell is focused. align is set using Qt::AlignmentFlags. Some additional things may be painted using p, it's not needed to paint the text (this is done automatically outside. Before calling, x, y_offset, w, h parameters are initialized, but you can tune these values depending on the context. You should set txt to a text representation of val, otherwise no text will be painted. Reimplemented from KexiTableEdit. Definition at line 385 of file kexiblobtableedit.cpp. |
|
initializes this editor with add value
Implements KexiDataItemInterface. Definition at line 350 of file kexiblobtableedit.cpp. |
|
Implements KexiDataItemInterface. Definition at line 365 of file kexiblobtableedit.cpp. |
|
Implements KexiDataItemInterface. Definition at line 360 of file kexiblobtableedit.cpp. |
|
Implements KexiDataItemInterface. Definition at line 355 of file kexiblobtableedit.cpp. |
Member Data Documentation
|
We've no editor widget that would store current value, so we do this here.
Definition at line 113 of file kexiblobtableedit.h. |
The documentation for this class was generated from the following files: