okteta
abstractbytearrayview_p.h
Go to the documentation of this file.
320 inline AbstractByteArrayModel* AbstractByteArrayViewPrivate::byteArrayModel() const { return mByteArrayModel; }
322 inline AbstractWheelController* AbstractByteArrayViewPrivate::wheelController() const { return mWheelController; }
327 inline bool AbstractByteArrayViewPrivate::isEffectiveReadOnly() const { return mReadOnly || mByteArrayModel->isReadOnly(); }
330 inline ByteArrayTableLayout* AbstractByteArrayViewPrivate::layout() const { return mTableLayout; }
331 inline ByteArrayTableCursor* AbstractByteArrayViewPrivate::tableCursor() const { return mTableCursor; }
332 inline ByteArrayTableRanges* AbstractByteArrayViewPrivate::tableRanges() const { return mTableRanges; }
334 inline const ValueCodec* AbstractByteArrayViewPrivate::valueCodec() const { return mValueCodec; }
335 inline AbstractByteArrayView::ValueCoding AbstractByteArrayViewPrivate::valueCoding() const { return mValueCoding; }
341 inline const QString& AbstractByteArrayViewPrivate::charCodingName() const { return mCharCodec->name(); }
342 inline AbstractByteArrayView::LayoutStyle AbstractByteArrayViewPrivate::layoutStyle() const { return mResizeStyle; }
343 inline Address AbstractByteArrayViewPrivate::cursorPosition() const { return mTableCursor->realIndex(); }
344 inline bool AbstractByteArrayViewPrivate::isCursorBehind() const { return mTableCursor->isBehind(); }
345 inline bool AbstractByteArrayViewPrivate::isModified() const { return mByteArrayModel->isModified(); }
346 inline int AbstractByteArrayViewPrivate::noOfBytesPerLine() const { return mTableLayout->noOfBytesPerLine(); }
347 inline Address AbstractByteArrayViewPrivate::firstLineOffset() const { return mTableLayout->firstLineOffset(); }
348 inline Address AbstractByteArrayViewPrivate::startOffset() const { return mTableLayout->startOffset(); }
350 inline AddressRange AbstractByteArrayViewPrivate::selection() const { return mTableRanges->selection(); }
351 inline bool AbstractByteArrayViewPrivate::hasSelectedData() const { return mTableRanges->hasSelection(); }
353 inline AddressRange AbstractByteArrayViewPrivate::marking() const { return mTableRanges->marking(); }
355 inline bool AbstractByteArrayViewPrivate::tabChangesFocus() const { return mTabController->tabChangesFocus(); }
356 inline bool AbstractByteArrayViewPrivate::isByteEditorActive() const { return mValueEditor->isInEditMode(); }
359 inline bool AbstractByteArrayViewPrivate::offsetColumnVisible() const { return mOffsetColumn->isVisible(); }
379 inline void AbstractByteArrayViewPrivate::setController( KController* controller ) { mController = controller; }
380 inline void AbstractByteArrayViewPrivate::setWheelController( AbstractWheelController* wheelController ) { mWheelController = wheelController; }
381 inline void AbstractByteArrayViewPrivate::setModified( bool modified ) { mByteArrayModel->setModified( modified ); }
void changeEvent(QEvent *event)
Definition: kvalueeditor.h:40
void cutToClipboard(QClipboard::Mode mode=QClipboard::Clipboard)
BorderColumnRenderer * mOffsetBorderColumn
Definition: abstractbytearrayview_p.h:256
virtual void ensureCursorVisible()=0
double zoomLevel() const
Definition: abstractbytearrayview_p.h:328
void zoomOut()
const ValueCodec * valueCodec() const
Definition: abstractbytearrayview_p.h:334
Address startOffset() const
Definition: bytearraytablelayout.h:207
QTimer * mCursorBlinkTimer
Timer that controls the blinking of the cursor.
Definition: abstractbytearrayview_p.h:279
could it be useful to hide the data access behind an iterator? * class KDataBufferIterator { public: ...
Definition: abstractbytearraymodel.h:79
void mouseDoubleClickEvent(QMouseEvent *mouseDoubleClickEvent)
OffsetFormat::Format format() const
Definition: offsetcolumnrenderer.h:97
Address cursorPosition() const
returns the index of the cursor position
Definition: abstractbytearrayview_p.h:343
int mDefaultFontSize
font size as set by user (used for zooming)
Definition: abstractbytearrayview_p.h:299
a class to control all the ranges like marking and selections holds also all modified ranges and merg...
Definition: bytearraytableranges.h:45
Size noOfBytesPerLine() const
returns number of bytes per line
Definition: bytearraytablelayout.h:209
void dragEnterEvent(QDragEnterEvent *dragEnterEvent)
KValueEditor * mValueEditor
Definition: abstractbytearrayview_p.h:264
Address firstLineOffset() const
Definition: bytearraytablelayout.h:208
void setFirstLineOffset(Address firstLineOffset)
void setWheelController(AbstractWheelController *wheelController)
Definition: abstractbytearrayview_p.h:380
AbstractByteArrayView::LayoutStyle layoutStyle() const
Definition: abstractbytearrayview_p.h:342
void startCursor()
AbstractByteArrayViewPrivate(AbstractByteArrayView *parent)
int noOfBytesPerLine() const
Definition: abstractbytearrayview_p.h:346
void setMarking(Address start, Address end)
void pasteFromClipboard(QClipboard::Mode mode=QClipboard::Clipboard)
AbstractByteArrayView::CharCoding charCoding() const
Definition: abstractbytearrayview_p.h:337
QByteArray selectedData() const
bool isByteEditorActive() const
Definition: abstractbytearrayview_p.h:356
Definition: ktabcontroller.h:36
Definition: kchareditor.h:34
bool getNextChangedRange(CoordRange *changedRange, const CoordRange &visibleRange) const
void setOffsetCoding(AbstractByteArrayView::OffsetCoding offsetCoding)
void toggleOffsetColumn(bool offsetColumnVisible)
void setSelection(const AddressRange &selection)
void init()
ByteArrayTableLayout * layout() const
Definition: abstractbytearrayview_p.h:330
void setReadOnly(bool readOnly)
AddressRange marking() const
Definition: abstractbytearrayview_p.h:353
void focusOutEvent(QFocusEvent *focusEvent)
column that does nothing but draw a vertical line in the middle of the column
Definition: bordercolumnrenderer.h:38
void adaptController()
virtual void setActiveCoding(AbstractByteArrayView::CodingTypeId codingId)=0
bool tabChangesFocus() const
Definition: abstractbytearrayview_p.h:355
AbstractWheelController * mWheelController
Definition: abstractbytearrayview_p.h:246
Definition: kcursor.h:39
void setOverwriteMode(bool overwriteMode)
QMimeData * selectionAsMimeData() const
void onRevertedToVersionIndex(int versionIndex)
void onBookmarksChange(const QList< Bookmark > &bookmarks)
AbstractByteArrayView::ValueCoding valueCoding() const
Definition: abstractbytearrayview_p.h:335
void dropEvent(QDropEvent *dropEvent)
AbstractWheelController * wheelController() const
Definition: abstractbytearrayview_p.h:322
WidgetColumnStylist * mStylist
Definition: abstractbytearrayview_p.h:275
MouseNavigator * mMouseNavigator
Definition: abstractbytearrayview_p.h:270
void adjustLayoutToSize()
the logical layout of a byte array table for a view
Definition: bytearraytablelayout.h:61
virtual ~AbstractByteArrayViewPrivate()
void stopCursor()
bool selectWord(Address index)
Address firstLineOffset() const
Definition: abstractbytearrayview_p.h:347
AddressRange marking() const
Definition: bytearraytableranges.h:132
KCharEditor * mCharEditor
Definition: abstractbytearrayview_p.h:266
Dropper * mDropper
Definition: abstractbytearrayview_p.h:268
AbstractByteArrayView::OffsetCoding offsetCoding() const
Definition: abstractbytearrayview_p.h:360
bool hasSelection() const
Definition: bytearraytableranges.h:136
AbstractByteArrayModel * mByteArrayModel
Definition: abstractbytearrayview_p.h:241
MousePaster * mMousePaster
Definition: abstractbytearrayview_p.h:271
Definition: charcodec.h:42
void focusInEvent(QFocusEvent *focusEvent)
virtual QRect cursorRect() const =0
virtual void pauseCursor()=0
bool isOverwriteOnly() const
Definition: abstractbytearrayview_p.h:325
bool isEffectiveReadOnly() const
Definition: abstractbytearrayview_p.h:327
void selectAll(bool select)
void zoomTo(int pointSize)
AbstractByteArrayView *const q_ptr
Definition: abstractbytearrayview_p.h:315
ByteArrayTableLayout * mTableLayout
holds the logical layout
Definition: abstractbytearrayview_p.h:249
ByteArrayTableCursor * tableCursor() const
Definition: abstractbytearrayview_p.h:331
void zoomIn()
virtual Address indexByPoint(const QPoint &point) const =0
ByteArrayTableRanges * tableRanges() const
Definition: abstractbytearrayview_p.h:332
Class that is able to convert codings to and from hexadecimal, decimal, octal, and binary...
Definition: valuecodec.h:45
virtual void updateChanged()=0
repaints all the parts that are signed as changed
KValueEditor * valueEditor() const
Definition: abstractbytearrayview_p.h:357
CharCodec * mCharCodec
Definition: abstractbytearrayview_p.h:308
void mouseMoveEvent(QMouseEvent *mouseMoveEvent)
OffsetColumnRenderer * mOffsetColumn
Definition: abstractbytearrayview_p.h:255
bool viewportEvent(QEvent *event)
virtual void ensureVisible(const AddressRange &range, bool ensureStartVisible)=0
double mZoomLevel
Definition: abstractbytearrayview_p.h:300
virtual void blinkCursor()=0
void setController(KController *controller)
Definition: abstractbytearrayview_p.h:379
KCursor * mCursorPixmaps
object to store the blinking cursor pixmaps
Definition: abstractbytearrayview_p.h:282
AbstractByteArrayView::LayoutStyle mResizeStyle
style of resizing
Definition: abstractbytearrayview_p.h:312
navigates through the buffer in an abstract way, based on the layout
Definition: bytearraytablecursor.h:60
void setZoomLevel(double level)
AddressRange selection() const
Definition: abstractbytearrayview_p.h:350
Address startOffset() const
Definition: abstractbytearrayview_p.h:348
KController * controller() const
Definition: abstractbytearrayview_p.h:321
virtual bool isModified() const =0
virtual void updateCursors()=0
virtual void placeCursor(const QPoint &point)=0
ByteArrayTableRanges * mTableRanges
Definition: abstractbytearrayview_p.h:253
void setCharCoding(AbstractByteArrayView::CharCoding charCoding)
void setTabChangesFocus(bool tabChangesFocus=true)
Definition: abstractbytearrayview_p.h:374
void setLayoutStyle(AbstractByteArrayView::LayoutStyle layoutStyle)
bool isModified() const
Definition: abstractbytearrayview_p.h:345
void onContentsChanged(const ArrayChangeMetricsList &changeList)
void updateViewByWidth()
handles screen update in case of a change to any of the width sizes
AddressRange selection() const
Definition: bytearraytableranges.h:129
void setSelectionCursorPosition(Address index)
bool canReadData(const QMimeData *data) const
Dropper * dropper() const
Definition: abstractbytearrayview_p.h:358
void dragMoveEvent(QDragMoveEvent *dragMoveEvent)
void cancelEdit(bool undoChanges=true)
Definition: kvalueeditor.cpp:68
const QString & charCodingName() const
Definition: abstractbytearrayview_p.h:341
Definition: dropper.h:41
virtual AbstractByteArrayView::CodingTypes visibleCodings() const =0
const CharCodec * charCodec() const
Definition: abstractbytearrayview_p.h:336
virtual AbstractByteArrayView::CodingTypeId activeCoding() const =0
AbstractByteArrayView::ValueCoding mValueCoding
Definition: abstractbytearrayview_p.h:306
void insert(const QByteArray &data)
void unpauseCursor()
bool isOverwriteMode() const
Definition: abstractbytearrayview_p.h:324
void setCursorPosition(Address index, bool isBehind)
virtual const QString & name() const =0
void onByteArrayReadOnlyChange(bool isByteArrayReadOnly)
void setNoOfBytesPerLine(int noOfBytesPerLine)
ByteArrayTableCursor * mTableCursor
Definition: abstractbytearrayview_p.h:251
bool offsetColumnVisible() const
Definition: abstractbytearrayview_p.h:359
virtual int fittingBytesPerLine() const =0
void finishByteEditor()
Definition: abstractbytearrayview_p.h:370
void dragLeaveEvent(QDragLeaveEvent *dragLeaveEvent)
bool isCursorBehind() const
Definition: abstractbytearrayview_p.h:344
Definition: mousepaster.h:33
bool hasSelectedData() const
Definition: abstractbytearrayview_p.h:351
virtual void setVisibleCodings(int visibleCodings)=0
void pasteData(const QMimeData *data)
bool mInZooming
flag whether the font is changed due to a zooming
Definition: abstractbytearrayview_p.h:292
void resizeEvent(QResizeEvent *resizeEvent)
void setByteArrayModel(AbstractByteArrayModel *byteArrayModel)
virtual void setModified(bool modified)=0
sets the modified flag for the buffer
ValueCodec * mValueCodec
Definition: abstractbytearrayview_p.h:304
void copyToClipboard(QClipboard::Mode mode=QClipboard::Clipboard) const
KNavigator * mNavigator
Definition: abstractbytearrayview_p.h:262
AbstractByteArrayModel * byteArrayModel() const
Definition: abstractbytearrayview_p.h:320
bool event(QEvent *event)
ZoomWheelController * mZoomWheelController
Definition: abstractbytearrayview_p.h:273
void cancelByteEditor()
Definition: abstractbytearrayview_p.h:366
bool isViewReadOnly() const
Definition: abstractbytearrayview_p.h:326
bool isBehind() const
true if the cursor is located to the right of the actual coord but still shown at the coord ...
Definition: bytearraytablecursor.h:174
void setOverwriteOnly(bool overwriteOnly)
void unZoom()
void setStartOffset(Address startOffset)
void removeSelectedData()
KTabController * mTabController
Definition: abstractbytearrayview_p.h:260
void setModified(bool modified)
Definition: abstractbytearrayview_p.h:381
virtual void adjustToLayoutNoOfBytesPerLine()=0
recalcs all dependant values with the actual NoOfBytesPerLine
void mouseReleaseEvent(QMouseEvent *mouseReleaseEvent)
AbstractByteArrayView::CharCoding mCharCoding
Definition: abstractbytearrayview_p.h:310
Definition: bookmarkable.h:29
AbstractMouseController * mMouseController
Definition: abstractbytearrayview_p.h:245
void mousePressEvent(QMouseEvent *mousePressEvent)
Definition: kcontroller.h:32
void setValueCoding(AbstractByteArrayView::ValueCoding valueCoding)
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:04:06 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:06 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.