okteta
KHEUI::KValueEditor Class Reference
#include <kvalueeditor.h>

Detailed Description
Definition at line 39 of file kvalueeditor.h.
Public Member Functions | |
| void | adaptToValueCodecChange () |
| void | finishEdit () |
| virtual bool | handleKeyPress (QKeyEvent *keyEvent) |
| bool | isInEditMode () const |
| KValueEditor (ValueByteArrayColumnRenderer *valueColumn, KDataCursor *dataCursor, KByteArrayView *view, KController *parent) | |
| void | reset () |
| unsigned char | value () const |
| QString | valueAsString () const |
| virtual | ~KValueEditor () |
Protected Types | |
| enum | KValueEditAction { EnterValue, IncValue, DecValue, ValueAppend, ValueEdit, LeaveValue, ValueBackspace } |
Protected Member Functions | |
| void | cancelEdit () |
| void | doValueEditAction (KValueEditAction action, int input=-1) |
| void | startEdit (const QString &description) |
Protected Attributes | |
| bool | mEditModeByInsert:1 |
| unsigned char | mEditValue |
| bool | mInEditMode:1 |
| unsigned int | mInsertedDigitsCount |
| unsigned char | mOldValue |
| ValueByteArrayColumnRenderer * | mValueColumn |
| QString | mValueString |
Member Enumeration Documentation
enum KHEUI::KValueEditor::KValueEditAction [protected] |
Definition at line 42 of file kvalueeditor.h.
Constructor & Destructor Documentation
| KHEUI::KValueEditor::KValueEditor | ( | ValueByteArrayColumnRenderer * | valueColumn, | |
| KDataCursor * | dataCursor, | |||
| KByteArrayView * | view, | |||
| KController * | parent | |||
| ) |
Definition at line 43 of file kvalueeditor.cpp.
| KHEUI::KValueEditor::~KValueEditor | ( | ) | [virtual] |
Definition at line 301 of file kvalueeditor.cpp.
Member Function Documentation
| void KHEUI::KValueEditor::adaptToValueCodecChange | ( | ) |
Definition at line 51 of file kvalueeditor.cpp.
| void KHEUI::KValueEditor::cancelEdit | ( | ) | [protected] |
Definition at line 71 of file kvalueeditor.cpp.
| void KHEUI::KValueEditor::doValueEditAction | ( | KValueEditAction | action, | |
| int | input = -1 | |||
| ) | [protected] |
executes keyboard Action Action.
This is normally called by a key event handler.
- Parameters:
-
action action to be done input data to be used for the action
Definition at line 200 of file kvalueeditor.cpp.
| void KHEUI::KValueEditor::finishEdit | ( | ) |
Definition at line 85 of file kvalueeditor.cpp.
| bool KHEUI::KValueEditor::handleKeyPress | ( | QKeyEvent * | keyEvent | ) | [virtual] |
| bool KHEUI::KValueEditor::isInEditMode | ( | ) | const [inline] |
Definition at line 89 of file kvalueeditor.h.
| void KHEUI::KValueEditor::reset | ( | ) | [inline] |
Definition at line 90 of file kvalueeditor.h.
| void KHEUI::KValueEditor::startEdit | ( | const QString & | description | ) | [protected] |
Definition at line 57 of file kvalueeditor.cpp.
| unsigned char KHEUI::KValueEditor::value | ( | ) | const [inline] |
Definition at line 91 of file kvalueeditor.h.
| QString KHEUI::KValueEditor::valueAsString | ( | ) | const [inline] |
Definition at line 92 of file kvalueeditor.h.
Member Data Documentation
bool KHEUI::KValueEditor::mEditModeByInsert [protected] |
unsigned char KHEUI::KValueEditor::mEditValue [protected] |
Definition at line 80 of file kvalueeditor.h.
bool KHEUI::KValueEditor::mInEditMode [protected] |
unsigned int KHEUI::KValueEditor::mInsertedDigitsCount [protected] |
Definition at line 84 of file kvalueeditor.h.
unsigned char KHEUI::KValueEditor::mOldValue [protected] |
Definition at line 74 of file kvalueeditor.h.
QString KHEUI::KValueEditor::mValueString [protected] |
The documentation for this class was generated from the following files:
KDE 4.2 API Reference