• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdeutils
  • Sitemap
  • Contact Us
 

okteta

KHEUI::KValueEditor

KHEUI::KValueEditor Class Reference

#include <kvalueeditor.h>

Inheritance diagram for KHEUI::KValueEditor:

Inheritance graph
[legend]

List of all members.


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]

Enumerator:
EnterValue 
IncValue 
DecValue 
ValueAppend 
ValueEdit 
LeaveValue 
ValueBackspace 

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]

Reimplemented from KHEUI::KEditor.

Definition at line 101 of file kvalueeditor.cpp.

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]

flag whether byte edit mode was reached by inserting

Definition at line 78 of file kvalueeditor.h.

unsigned char KHEUI::KValueEditor::mEditValue [protected]

Definition at line 80 of file kvalueeditor.h.

bool KHEUI::KValueEditor::mInEditMode [protected]

flag whether we are in editing mode

Definition at line 76 of file kvalueeditor.h.

unsigned int KHEUI::KValueEditor::mInsertedDigitsCount [protected]

Definition at line 84 of file kvalueeditor.h.

unsigned char KHEUI::KValueEditor::mOldValue [protected]

stores the old byte value

Definition at line 82 of file kvalueeditor.h.

ValueByteArrayColumnRenderer* KHEUI::KValueEditor::mValueColumn [protected]

Definition at line 74 of file kvalueeditor.h.

QString KHEUI::KValueEditor::mValueString [protected]

buffer with the

Definition at line 86 of file kvalueeditor.h.


The documentation for this class was generated from the following files:
  • kvalueeditor.h
  • kvalueeditor.cpp

okteta

Skip menu "okteta"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdeutils

Skip menu "kdeutils"
  • ark
  • kcalc
  • kcharselect
  • kdessh
  • kdf
  • kfloppy
  • kgpg
  • ktimer
  • kwallet
  • okteta
  • printer-applet
  • superkaramba
  • sweeper
Generated for kdeutils by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal