kexi
KexiBlobTableEdit Class Reference
Inheritance diagram for KexiBlobTableEdit:

Detailed Description
Definition at line 34 of file kexiblobtableedit.h.
Public Member Functions | |
KexiBlobTableEdit (KexiTableViewColumn &column, QScrollView *parent=0) | |
virtual | ~KexiBlobTableEdit () |
bool | valueIsNull () |
bool | valueIsEmpty () |
virtual QVariant | value () |
virtual void | clear () |
virtual bool | cursorAtStart () |
virtual bool | cursorAtEnd () |
Protected Slots | |
void | slotFinished (KProcess *p) |
void | open () |
void | openWith () |
void | menu () |
void | loadFile () |
void | saveFile () |
Protected Member Functions | |
virtual void | setValueInternal (const QVariant &add, bool removeOld) |
QString | openWithDlg (const QString &file) |
void | execute (const QString &app, const QString &file) |
Protected Attributes | |
KTempFile * | m_tempFile |
KProcess * | m_proc |
QTextEdit * | m_content |
Member Function Documentation
void KexiBlobTableEdit::clear | ( | ) | [virtual] |
clears item's data, so the data will contain NULL data
Implements KexiDataItemInterface.
Definition at line 304 of file kexiblobtableedit.cpp.
bool KexiBlobTableEdit::cursorAtEnd | ( | ) | [virtual] |
- Returns:
- true if the item widget's cursor (whatever that means, eg. line edit cursor) is at the end of editor's contents. This can inform table/form view that after pressing "right arrow" key should stop editing and move to a field on the right hand.
Implements KexiDataItemInterface.
Definition at line 298 of file kexiblobtableedit.cpp.
bool KexiBlobTableEdit::cursorAtStart | ( | ) | [virtual] |
- Returns:
- true if the item widget's cursor (whatever that means, eg. line edit cursor) is at the beginning of editor's contents. This can inform table/form view that after pressing "left arrow" key should stop editing and move to a field on the left hand.
Implements KexiDataItemInterface.
Definition at line 292 of file kexiblobtableedit.cpp.
void KexiBlobTableEdit::setValueInternal | ( | const QVariant & | add, | |
bool | removeOld | |||
) | [protected, virtual] |
initializes this editor with add value
Implements KexiDataItemInterface.
Definition at line 74 of file kexiblobtableedit.cpp.
QVariant KexiBlobTableEdit::value | ( | ) | [virtual] |
- Returns:
- value currently represented by this item.
Implements KexiDataItemInterface.
Definition at line 145 of file kexiblobtableedit.cpp.
bool KexiBlobTableEdit::valueIsEmpty | ( | ) | [virtual] |
- Returns:
- true if editor's value is empty (not necessary null). Only few data types can accept "EMPTY" property (use KexiDB::Field::hasEmptyProperty() to check this). Used for checking if a given constraint within table of form is met.
Implements KexiDataItemInterface.
Definition at line 138 of file kexiblobtableedit.cpp.
bool KexiBlobTableEdit::valueIsNull | ( | ) | [virtual] |
- Returns:
- true if editor's value is null (not empty) Used for checking if a given constraint within table or form is met.
Implements KexiDataItemInterface.
Definition at line 132 of file kexiblobtableedit.cpp.
The documentation for this class was generated from the following files: