okteta
keditor.cpp
Go to the documentation of this file.
39 KEditor::KEditor( ByteArrayTableCursor* cursor, AbstractByteArrayView* view, KController *parent )
could it be useful to hide the data access behind an iterator? * class KDataBufferIterator { public: ...
Definition: abstractbytearraymodel.h:79
void removeSelectedData()
removes the selected data, takes care of the cursor
Definition: abstractbytearrayview.cpp:226
void setOverwriteMode(bool overwriteMode)
sets whether the widget is in overwrite mode or not.
Definition: abstractbytearrayview.cpp:244
bool hasSelectedData() const
returns true if there is a selected range in the array
Definition: abstractbytearrayview.cpp:166
KEditor(ByteArrayTableCursor *cursor, AbstractByteArrayView *view, KController *parent)
Definition: keditor.cpp:39
bool isOverwriteMode() const
Definition: abstractbytearrayview.cpp:49
void gotoPreviousByte()
Definition: bytearraytablecursor.cpp:70
Definition: keditor.h:39
Address indexOfBeforeNextWordStart(Address index) const
searches for the start of the next word not including the given index.
Definition: wordbytearrayservice.cpp:100
static NumberRange fromWidth(AddressstartIndex, Sizewidth)
constructs a range by width
Okteta::AbstractByteArrayModel * byteArrayModel() const
Definition: abstractbytearrayview.cpp:44
navigates through the buffer in an abstract way, based on the layout
Definition: bytearraytablecursor.h:60
Definition: keditor.h:39
Definition: keditor.h:39
virtual bool handleKeyPress(QKeyEvent *keyEvent)
Definition: kcontroller.cpp:34
Definition: keditor.h:39
const Okteta::CharCodec * charCodec() const
Definition: abstractbytearrayview.cpp:100
void ensureCursorVisible()
scrolls the view as much as needed to have the cursor fully visible
Definition: abstractbytearrayview.cpp:390
Address indexOfPreviousWordStart(Address index) const
searches for the first char after the end of the word including the given index.
Definition: wordbytearrayservice.cpp:54
virtual bool handleKeyPress(QKeyEvent *keyEvent)
Definition: keditor.cpp:47
Definition: kcontroller.h:32
virtual Size remove(const AddressRange &removeRange)
removes beginning with position as much as possible
Definition: abstractbytearraymodel.cpp:53
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:04:08 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:04:08 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.