• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdesdk API Reference
  • KDE Home
  • Contact Us
 

okteta

  • Okteta
  • ByteArrayRowViewPrivate
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Okteta::ByteArrayRowViewPrivate Class Reference

#include <bytearrayrowview_p.h>

Inheritance diagram for Okteta::ByteArrayRowViewPrivate:
Inheritance graph
[legend]

Public Member Functions

 ByteArrayRowViewPrivate (ByteArrayRowView *parent)
 
virtual ~ByteArrayRowViewPrivate ()
 
int binaryGapWidth () const
 
virtual void blinkCursor ()
 
int byteSpacingWidth () const
 
virtual QRect cursorRect () const
 
virtual void ensureCursorVisible ()
 
virtual void ensureVisible (const AddressRange &range, bool ensureStartVisible)
 
int groupSpacingWidth () const
 
virtual Address indexByPoint (const QPoint &point) const
 
void init ()
 
bool isByteTypeColored () const
 
QSize minimumSizeHint () const
 
int noOfGroupedBytes () const
 
virtual void placeCursor (const QPoint &point)
 
void setBinaryGapWidth (int binaryGapWidth)
 
void setBufferSpacing (int byteSpacingWidth, int noOfGroupedBytes, int groupSpacingWidth)
 
void setByteArrayModel (AbstractByteArrayModel *byteArrayModel)
 
void setByteSpacingWidth (int byteSpacingWidth)
 
void setByteTypeColored (bool isColored)
 
void setCharCoding (AbstractByteArrayView::CharCoding charCoding)
 
void setCharCoding (const QString &charCodingName)
 
void setGroupSpacingWidth (int groupSpacingWidth)
 
void setNoOfGroupedBytes (int noOfGroupedBytes)
 
void setShowsNonprinting (bool showsNonprinting=true)
 
void setSubstituteChar (QChar substituteChar)
 
void setUndefinedChar (QChar undefinedChar)
 
void setValueCoding (AbstractByteArrayView::ValueCoding valueCoding)
 
bool showsNonprinting () const
 
QChar substituteChar () const
 
QChar undefinedChar () const
 
- Public Member Functions inherited from Okteta::AbstractByteArrayViewPrivate
 AbstractByteArrayViewPrivate (AbstractByteArrayView *parent)
 
virtual ~AbstractByteArrayViewPrivate ()
 
AbstractByteArrayModel * byteArrayModel () const
 
void changeEvent (QEvent *event)
 
const CharCodec * charCodec () const
 
AbstractByteArrayView::CharCoding charCoding () const
 
const QString & charCodingName () const
 
KController * controller () const
 
Address cursorPosition () const
 
void dragEnterEvent (QDragEnterEvent *dragEnterEvent)
 
void dragLeaveEvent (QDragLeaveEvent *dragLeaveEvent)
 
void dragMoveEvent (QDragMoveEvent *dragMoveEvent)
 
void dropEvent (QDropEvent *dropEvent)
 
Dropper * dropper () const
 
bool event (QEvent *event)
 
Address firstLineOffset () const
 
void focusInEvent (QFocusEvent *focusEvent)
 
void focusOutEvent (QFocusEvent *focusEvent)
 
bool hasSelectedData () const
 
void init ()
 
bool isCursorBehind () const
 
bool isEffectiveReadOnly () const
 
bool isModified () const
 
bool isOverwriteMode () const
 
bool isOverwriteOnly () const
 
bool isViewReadOnly () const
 
ByteArrayTableLayout * layout () const
 
AbstractByteArrayView::LayoutStyle layoutStyle () const
 
AddressRange marking () const
 
void mouseDoubleClickEvent (QMouseEvent *mouseDoubleClickEvent)
 
void mouseMoveEvent (QMouseEvent *mouseMoveEvent)
 
void mousePressEvent (QMouseEvent *mousePressEvent)
 
void mouseReleaseEvent (QMouseEvent *mouseReleaseEvent)
 
int noOfBytesPerLine () const
 
AbstractByteArrayView::OffsetCoding offsetCoding () const
 
bool offsetColumnVisible () const
 
void onBookmarksChange (const QList< Bookmark > &bookmarks)
 
void onByteArrayReadOnlyChange (bool isByteArrayReadOnly)
 
void onContentsChanged (const ArrayChangeMetricsList &changeList)
 
void onRevertedToVersionIndex (int versionIndex)
 
void resizeEvent (QResizeEvent *resizeEvent)
 
void selectAll (bool select)
 
QByteArray selectedData () const
 
AddressRange selection () const
 
QMimeData * selectionAsMimeData () const
 
bool selectWord (Address index)
 
void setByteArrayModel (AbstractByteArrayModel *byteArrayModel)
 
void setCharCoding (AbstractByteArrayView::CharCoding charCoding)
 
void setCharCoding (const QString &charCodingName)
 
void setController (KController *controller)
 
void setCursorPosition (Address index, bool isBehind)
 
void setFirstLineOffset (Address firstLineOffset)
 
void setLayoutStyle (AbstractByteArrayView::LayoutStyle layoutStyle)
 
void setMarking (Address start, Address end)
 
void setMarking (const AddressRange &marking)
 
void setModified (bool modified)
 
void setNoOfBytesPerLine (int noOfBytesPerLine)
 
void setOffsetCoding (AbstractByteArrayView::OffsetCoding offsetCoding)
 
void setOverwriteMode (bool overwriteMode)
 
void setOverwriteOnly (bool overwriteOnly)
 
void setReadOnly (bool readOnly)
 
void setSelection (const AddressRange &selection)
 
void setSelectionCursorPosition (Address index)
 
void setStartOffset (Address startOffset)
 
void setTabChangesFocus (bool tabChangesFocus=true)
 
void setValueCoding (AbstractByteArrayView::ValueCoding valueCoding)
 
void setWheelController (AbstractWheelController *wheelController)
 
void setZoomLevel (double level)
 
Address startOffset () const
 
bool tabChangesFocus () const
 
ByteArrayTableCursor * tableCursor () const
 
ByteArrayTableRanges * tableRanges () const
 
void toggleOffsetColumn (bool offsetColumnVisible)
 
void unZoom ()
 
const ValueCodec * valueCodec () const
 
AbstractByteArrayView::ValueCoding valueCoding () const
 
KValueEditor * valueEditor () const
 
bool viewportEvent (QEvent *event)
 
AbstractWheelController * wheelController () const
 
void zoomIn (int pointInc)
 
void zoomIn ()
 
double zoomLevel () const
 
void zoomOut (int pointDec)
 
void zoomOut ()
 
void zoomTo (int pointSize)
 

Protected Member Functions

virtual
AbstractByteArrayView::CodingTypeId 
activeCoding () const
 
virtual void adjustToLayoutNoOfBytesPerLine ()
 
void changeEvent (QEvent *event)
 
void createCursorPixmaps ()
 
void drawActiveCursor (QPainter *painter)
 
void drawInactiveCursor (QPainter *painter)
 
void ensureVisible (const ByteArrayRowColumnRenderer &column, const Coord &coord)
 
virtual int fittingBytesPerLine () const
 
virtual void pauseCursor ()
 
void renderColumns (QPainter *painter, int cx, int cy, int cw, int ch)
 
virtual void setActiveCoding (AbstractByteArrayView::CodingTypeId codingId)
 
virtual void setVisibleCodings (int visibleCodings)
 
virtual void updateChanged ()
 
void updateCursor (const ByteArrayRowColumnRenderer &column, AbstractByteArrayView::CodingTypeId codingId)
 
virtual void updateCursors ()
 
virtual
AbstractByteArrayView::CodingTypes 
visibleCodings () const
 
- Protected Member Functions inherited from Okteta::AbstractByteArrayViewPrivate
void adaptController ()
 
void adjustLayoutToSize ()
 
void cancelByteEditor ()
 
bool canReadData (const QMimeData *data) const
 
void copyToClipboard (QClipboard::Mode mode=QClipboard::Clipboard) const
 
void cutToClipboard (QClipboard::Mode mode=QClipboard::Clipboard)
 
void finishByteEditor ()
 
bool getNextChangedRange (CoordRange *changedRange, const CoordRange &visibleRange) const
 
void insert (const QByteArray &data)
 
bool isByteEditorActive () const
 
void pasteData (const QMimeData *data)
 
void pasteFromClipboard (QClipboard::Mode mode=QClipboard::Clipboard)
 
void removeSelectedData ()
 
void startCursor ()
 
void stopCursor ()
 
void unpauseCursor ()
 
void updateViewByWidth ()
 

Protected Attributes

ByteArrayRowView::CodingTypeId mActiveCoding
 
ByteArrayRowColumnRenderer * mByteArrayColumn
 
ByteArrayRowView::CodingTypeId mInactiveCoding
 
- Protected Attributes inherited from Okteta::AbstractByteArrayViewPrivate
bool mBlinkCursorVisible:1
 
AbstractByteArrayModel * mByteArrayModel
 
CharCodec * mCharCodec
 
AbstractByteArrayView::CharCoding mCharCoding
 
KCharEditor * mCharEditor
 
KController * mController
 
QTimer * mCursorBlinkTimer
 
bool mCursorPaused:1
 
KCursor * mCursorPixmaps
 
int mDefaultFontSize
 
Dropper * mDropper
 
bool mInZooming:1
 
AbstractMouseController * mMouseController
 
MouseNavigator * mMouseNavigator
 
MousePaster * mMousePaster
 
KNavigator * mNavigator
 
BorderColumnRenderer * mOffsetBorderColumn
 
OffsetColumnRenderer * mOffsetColumn
 
bool mOverWrite:1
 
bool mOverWriteOnly:1
 
bool mReadOnly:1
 
AbstractByteArrayView::LayoutStyle mResizeStyle
 
WidgetColumnStylist * mStylist
 
KTabController * mTabController
 
ByteArrayTableCursor * mTableCursor
 
ByteArrayTableLayout * mTableLayout
 
ByteArrayTableRanges * mTableRanges
 
ValueCodec * mValueCodec
 
AbstractByteArrayView::ValueCoding mValueCoding
 
KValueEditor * mValueEditor
 
AbstractWheelController * mWheelController
 
double mZoomLevel
 
ZoomWheelController * mZoomWheelController
 
AbstractByteArrayView *const q_ptr
 

Detailed Description

Definition at line 37 of file bytearrayrowview_p.h.

Constructor & Destructor Documentation

Okteta::ByteArrayRowViewPrivate::ByteArrayRowViewPrivate ( ByteArrayRowView *  parent)
explicit
virtual Okteta::ByteArrayRowViewPrivate::~ByteArrayRowViewPrivate ( )
virtual

Member Function Documentation

virtual AbstractByteArrayView::CodingTypeId Okteta::ByteArrayRowViewPrivate::activeCoding ( ) const
protectedvirtual

Implements Okteta::AbstractByteArrayViewPrivate.

virtual void Okteta::ByteArrayRowViewPrivate::adjustToLayoutNoOfBytesPerLine ( )
protectedvirtual

recalcs all dependant values with the actual NoOfBytesPerLine

Implements Okteta::AbstractByteArrayViewPrivate.

PixelX Okteta::ByteArrayRowViewPrivate::binaryGapWidth ( ) const
inline

Definition at line 137 of file bytearrayrowview_p.h.

virtual void Okteta::ByteArrayRowViewPrivate::blinkCursor ( )
virtual

Implements Okteta::AbstractByteArrayViewPrivate.

PixelX Okteta::ByteArrayRowViewPrivate::byteSpacingWidth ( ) const
inline

Definition at line 134 of file bytearrayrowview_p.h.

void Okteta::ByteArrayRowViewPrivate::changeEvent ( QEvent *  event)
protected
void Okteta::ByteArrayRowViewPrivate::createCursorPixmaps ( )
protected

recreates the cursor pixmaps and paints active and inactive cursors if doable

virtual QRect Okteta::ByteArrayRowViewPrivate::cursorRect ( ) const
virtual

Implements Okteta::AbstractByteArrayViewPrivate.

void Okteta::ByteArrayRowViewPrivate::drawActiveCursor ( QPainter *  painter)
protected

draws the blinking cursor or removes it

void Okteta::ByteArrayRowViewPrivate::drawInactiveCursor ( QPainter *  painter)
protected
virtual void Okteta::ByteArrayRowViewPrivate::ensureCursorVisible ( )
virtual

Implements Okteta::AbstractByteArrayViewPrivate.

virtual void Okteta::ByteArrayRowViewPrivate::ensureVisible ( const AddressRange &  range,
bool  ensureStartVisible 
)
virtual

Implements Okteta::AbstractByteArrayViewPrivate.

void Okteta::ByteArrayRowViewPrivate::ensureVisible ( const ByteArrayRowColumnRenderer &  column,
const Coord &  coord 
)
protected

recalcs a layout due to the resize style that fits into the view size and updates the dependant values

virtual int Okteta::ByteArrayRowViewPrivate::fittingBytesPerLine ( ) const
protectedvirtual

Implements Okteta::AbstractByteArrayViewPrivate.

PixelX Okteta::ByteArrayRowViewPrivate::groupSpacingWidth ( ) const
inline

Definition at line 136 of file bytearrayrowview_p.h.

virtual Address Okteta::ByteArrayRowViewPrivate::indexByPoint ( const QPoint &  point) const
virtual

Implements Okteta::AbstractByteArrayViewPrivate.

void Okteta::ByteArrayRowViewPrivate::init ( )
bool Okteta::ByteArrayRowViewPrivate::isByteTypeColored ( ) const
inline

Definition at line 141 of file bytearrayrowview_p.h.

QSize Okteta::ByteArrayRowViewPrivate::minimumSizeHint ( ) const
int Okteta::ByteArrayRowViewPrivate::noOfGroupedBytes ( ) const
inline

Definition at line 135 of file bytearrayrowview_p.h.

virtual void Okteta::ByteArrayRowViewPrivate::pauseCursor ( )
protectedvirtual

Implements Okteta::AbstractByteArrayViewPrivate.

virtual void Okteta::ByteArrayRowViewPrivate::placeCursor ( const QPoint &  point)
virtual

Implements Okteta::AbstractByteArrayViewPrivate.

void Okteta::ByteArrayRowViewPrivate::renderColumns ( QPainter *  painter,
int  cx,
int  cy,
int  cw,
int  ch 
)
protected
virtual void Okteta::ByteArrayRowViewPrivate::setActiveCoding ( AbstractByteArrayView::CodingTypeId  codingId)
protectedvirtual

Implements Okteta::AbstractByteArrayViewPrivate.

void Okteta::ByteArrayRowViewPrivate::setBinaryGapWidth ( int  binaryGapWidth)
void Okteta::ByteArrayRowViewPrivate::setBufferSpacing ( int  byteSpacingWidth,
int  noOfGroupedBytes,
int  groupSpacingWidth 
)
void Okteta::ByteArrayRowViewPrivate::setByteArrayModel ( AbstractByteArrayModel *  byteArrayModel)
void Okteta::ByteArrayRowViewPrivate::setByteSpacingWidth ( int  byteSpacingWidth)
void Okteta::ByteArrayRowViewPrivate::setByteTypeColored ( bool  isColored)
void Okteta::ByteArrayRowViewPrivate::setCharCoding ( AbstractByteArrayView::CharCoding  charCoding)
void Okteta::ByteArrayRowViewPrivate::setCharCoding ( const QString &  charCodingName)
void Okteta::ByteArrayRowViewPrivate::setGroupSpacingWidth ( int  groupSpacingWidth)
void Okteta::ByteArrayRowViewPrivate::setNoOfGroupedBytes ( int  noOfGroupedBytes)
void Okteta::ByteArrayRowViewPrivate::setShowsNonprinting ( bool  showsNonprinting = true)
void Okteta::ByteArrayRowViewPrivate::setSubstituteChar ( QChar  substituteChar)
void Okteta::ByteArrayRowViewPrivate::setUndefinedChar ( QChar  undefinedChar)
void Okteta::ByteArrayRowViewPrivate::setValueCoding ( AbstractByteArrayView::ValueCoding  valueCoding)
virtual void Okteta::ByteArrayRowViewPrivate::setVisibleCodings ( int  visibleCodings)
protectedvirtual

Implements Okteta::AbstractByteArrayViewPrivate.

bool Okteta::ByteArrayRowViewPrivate::showsNonprinting ( ) const
inline

Definition at line 138 of file bytearrayrowview_p.h.

QChar Okteta::ByteArrayRowViewPrivate::substituteChar ( ) const
inline

Definition at line 139 of file bytearrayrowview_p.h.

QChar Okteta::ByteArrayRowViewPrivate::undefinedChar ( ) const
inline

Definition at line 140 of file bytearrayrowview_p.h.

virtual void Okteta::ByteArrayRowViewPrivate::updateChanged ( )
protectedvirtual

repaints all the parts that are signed as changed

Implements Okteta::AbstractByteArrayViewPrivate.

void Okteta::ByteArrayRowViewPrivate::updateCursor ( const ByteArrayRowColumnRenderer &  column,
AbstractByteArrayView::CodingTypeId  codingId 
)
protected
virtual void Okteta::ByteArrayRowViewPrivate::updateCursors ( )
protectedvirtual

Implements Okteta::AbstractByteArrayViewPrivate.

virtual AbstractByteArrayView::CodingTypes Okteta::ByteArrayRowViewPrivate::visibleCodings ( ) const
protectedvirtual

Implements Okteta::AbstractByteArrayViewPrivate.

Member Data Documentation

ByteArrayRowView::CodingTypeId Okteta::ByteArrayRowViewPrivate::mActiveCoding
protected

Definition at line 129 of file bytearrayrowview_p.h.

ByteArrayRowColumnRenderer* Okteta::ByteArrayRowViewPrivate::mByteArrayColumn
protected

Definition at line 127 of file bytearrayrowview_p.h.

ByteArrayRowView::CodingTypeId Okteta::ByteArrayRowViewPrivate::mInactiveCoding
protected

Definition at line 130 of file bytearrayrowview_p.h.


The documentation for this class was generated from the following file:
  • bytearrayrowview_p.h
This file is part of the KDE documentation.
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.

okteta

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

kdesdk API Reference

Skip menu "kdesdk API Reference"
  • kapptemplate
  • kcachegrind
  • kompare
  • lokalize
  • okteta
  • umbrello
  •   umbrello

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal