okteta
#include <kvalueeditor.h>

Public Member Functions | |
| KValueEditor (ByteArrayTableCursor *cursor, AbstractByteArrayView *view, KController *parent) | |
| virtual | ~KValueEditor () |
| void | adaptToValueCodecChange () |
| void | cancelEdit (bool undoChanges=true) |
| void | finishEdit () |
| virtual bool | handleKeyPress (QKeyEvent *keyEvent) |
| bool | isInEditMode () const |
| void | reset () |
| Byte | value () const |
| QString | valueAsString () const |
Public Member Functions inherited from Okteta::KEditor | |
| virtual | ~KEditor () |
Public Member Functions inherited from Okteta::KController | |
| virtual | ~KController () |
Protected Types | |
| enum | KValueEditAction { EnterValue, IncValue, DecValue, ValueAppend, ValueEdit, LeaveValue, ValueBackspace } |
Protected Types inherited from Okteta::KEditor | |
| enum | KEditAction { CharDelete, WordDelete, CharBackspace, WordBackspace } |
Protected Member Functions | |
| void | doValueEditAction (KValueEditAction action, int input=-1) |
| void | startEdit (const QString &description) |
Protected Member Functions inherited from Okteta::KEditor | |
| KEditor (ByteArrayTableCursor *cursor, AbstractByteArrayView *view, KController *parent) | |
| void | doEditAction (KEditAction Action) |
Protected Member Functions inherited from Okteta::KController | |
| KController (KController *parent) | |
Protected Attributes | |
| bool | mEditModeByInsert:1 |
| Byte | mEditValue |
| bool | mInEditMode:1 |
| unsigned int | mInsertedDigitsCount |
| Byte | mOldValue |
| QString | mValueString |
Protected Attributes inherited from Okteta::KEditor | |
| ByteArrayTableCursor * | mCursor |
| AbstractByteArrayView * | mView |
Protected Attributes inherited from Okteta::KController | |
| KController * | mParent |
Detailed Description
Definition at line 40 of file kvalueeditor.h.
Member Enumeration Documentation
|
protected |
| Enumerator | |
|---|---|
| EnterValue | |
| IncValue | |
| DecValue | |
| ValueAppend | |
| ValueEdit | |
| LeaveValue | |
| ValueBackspace | |
Definition at line 43 of file kvalueeditor.h.
Constructor & Destructor Documentation
| Okteta::KValueEditor::KValueEditor | ( | ByteArrayTableCursor * | cursor, |
| AbstractByteArrayView * | view, | ||
| KController * | parent | ||
| ) |
Definition at line 41 of file kvalueeditor.cpp.
|
virtual |
Definition at line 304 of file kvalueeditor.cpp.
Member Function Documentation
| void Okteta::KValueEditor::adaptToValueCodecChange | ( | ) |
Definition at line 48 of file kvalueeditor.cpp.
| void Okteta::KValueEditor::cancelEdit | ( | bool | undoChanges = true | ) |
Definition at line 68 of file kvalueeditor.cpp.
|
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 203 of file kvalueeditor.cpp.
| void Okteta::KValueEditor::finishEdit | ( | ) |
Definition at line 88 of file kvalueeditor.cpp.
|
virtual |
Reimplemented from Okteta::KEditor.
Definition at line 104 of file kvalueeditor.cpp.
|
inline |
Definition at line 89 of file kvalueeditor.h.
|
inline |
Definition at line 90 of file kvalueeditor.h.
|
protected |
Definition at line 54 of file kvalueeditor.cpp.
|
inline |
Definition at line 91 of file kvalueeditor.h.
|
inline |
Definition at line 92 of file kvalueeditor.h.
Member Data Documentation
|
protected |
flag whether byte edit mode was reached by inserting
Definition at line 78 of file kvalueeditor.h.
|
protected |
Definition at line 80 of file kvalueeditor.h.
|
protected |
flag whether we are in editing mode
Definition at line 76 of file kvalueeditor.h.
|
protected |
Definition at line 84 of file kvalueeditor.h.
|
protected |
stores the old byte value
Definition at line 82 of file kvalueeditor.h.
|
protected |
buffer with the
Definition at line 86 of file kvalueeditor.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:04:13 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.
KDE API Reference
Public Member Functions inherited from