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

okteta

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

#include <bytearrayrowcolumnrenderer.h>

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

Public Types

enum  FrameStyle { Frame, Left, Right }
 

Public Member Functions

 ByteArrayRowColumnRenderer (AbstractColumnStylist *stylist, AbstractByteArrayModel *byteArrayModel, ByteArrayTableLayout *layout, ByteArrayTableRanges *ranges)
 
virtual ~ByteArrayRowColumnRenderer ()
 
PixelX binaryGapWidth () const
 
QRect byteRect (const Coord &coord) const
 
QRect byteRect (const Coord &coord, AbstractByteArrayView::CodingTypeId codingId) const
 
PixelX byteSpacingWidth () const
 
PixelX byteWidth () const
 
AbstractByteArrayView::CodingTypeId codingIdofY (PixelY y) const
 
PixelX columnRightXOfLinePosition (LinePosition posInLine) const
 
PixelX columnXOfLinePosition (LinePosition posInLine) const
 
PixelXRange columnXsOfLinePositionsInclSpaces (const LinePositionRange &linePositions) const
 
PixelY digitHeight () const
 
PixelX digitWidth () const
 
LinePosition firstLinePos () const
 
PixelX groupSpacingWidth () const
 
bool isByteTypeColored () const
 
bool isShowingNonprinting () const
 
LinePosition lastLinePos () const
 
const ByteArrayTableLayout * layout () const
 
LinePosition linePositionOfColumnX (PixelX x) const
 
LinePosition linePositionOfX (PixelX x) const
 
LinePositionRange linePositionsOfColumnXs (PixelX x, PixelX width) const
 
LinePositionRange linePositionsOfX (PixelX x, PixelX width) const
 
LinePosition magneticLinePositionOfX (PixelX x) const
 
Size noOfGroupedBytes () const
 
void prepareRendering (const PixelXRange &Xs)
 
void renderByte (QPainter *painter, Address byteIndex, AbstractByteArrayView::CodingTypeId codingId)
 
void renderCursor (QPainter *painter, Address byteIndex, AbstractByteArrayView::CodingTypeId codingId)
 
void renderEditedByte (QPainter *painter, Byte byte, const QString &editBuffer)
 
virtual void renderFirstLine (QPainter *painter, const PixelXRange &Xs, Line firstLineIndex)
 
void renderFramedByte (QPainter *painter, Address byteIndex, AbstractByteArrayView::CodingTypeId codingId, FrameStyle style)
 
void renderLinePositions (QPainter *painter, Line lineIndex, const LinePositionRange &linePositions)
 
virtual void renderNextLine (QPainter *painter)
 
void resetXBuffer ()
 
PixelX rightXOfLinePosition (LinePosition posInLine) const
 
PixelY rowHeight () const
 
void set (AbstractByteArrayModel *byteArrayModel)
 
bool setBinaryGapWidth (PixelX binaryGapWidth)
 
bool setByteSpacingWidth (PixelX byteSpacingWidth)
 
void setByteTypeColored (bool byteTypeColored)
 
void setCharCodec (const CharCodec *charCodec)
 
void setFontMetrics (const QFontMetrics &fontMetrics)
 
bool setGroupSpacingWidth (PixelX groupSpacingWidth)
 
bool setNoOfGroupedBytes (Size noOfGroupedBytes)
 
bool setShowingNonprinting (bool showingNonprinting=true)
 
bool setSpacing (PixelX byteSpacingWidth, Size noOfGroupedBytes=0, PixelX groupSpacingWidth=0)
 
bool setSubstituteChar (QChar substituteChar)
 
bool setUndefinedChar (QChar undefinedChar)
 
void setValueCodec (ValueCoding valueCoding, const ValueCodec *valueCodec)
 
void setVisibleCodings (int visibleCodings)
 
QChar substituteChar () const
 
QChar undefinedChar () const
 
AbstractByteArrayView::CodingTypes visibleCodings () const
 
LinePositionRange visibleLinePositions (PixelX x, PixelX width) const
 
LinePositionRange visibleLinePositions () const
 
PixelX xOfLinePosition (LinePosition posInLine) const
 
PixelXRange xsOfLinePositionsInclSpaces (const LinePositionRange &linePositions) const
 
PixelY yOfCodingId (AbstractByteArrayView::CodingTypeId codingId) const
 
- Public Member Functions inherited from Okteta::AbstractColumnRenderer
 AbstractColumnRenderer (AbstractColumnStylist *stylist)
 
virtual ~AbstractColumnRenderer ()
 
bool isVisible () const
 
PixelY lineHeight () const
 
bool overlaps (const PixelXRange &xSpan) const
 
virtual void renderColumn (QPainter *painter, const PixelXRange &xSpan, const PixelYRange &ySpan)
 
virtual void renderEmptyColumn (QPainter *painter, const PixelXRange &xSpan, const PixelYRange &ySpan)
 
virtual void renderFirstLine (QPainter *painter, const PixelXRange &xSpan, int firstLineIndex)
 
PixelX rightX () const
 
void setLineHeight (PixelY lineHeight)
 
void setVisible (bool isVisible)
 
void setX (PixelX x)
 
AbstractColumnStylist * stylist () const
 
PixelX visibleWidth () const
 
PixelX width () const
 
PixelX x () const
 

Protected Member Functions

bool getNextMarkedAddressRange (AddressRange *markedRange, unsigned int *flag, const AddressRange &range) const
 
bool getNextSelectedAddressRange (AddressRange *selectedRange, unsigned int *flag, const AddressRange &range) const
 
void recalcByteWidth ()
 
void recalcX ()
 
void renderBookmark (QPainter *painter, const QBrush &brush)
 
void renderByteText (QPainter *painter, Byte byte, Character charByte, int codings, const QColor &color) const
 
void renderCode (QPainter *painter, const QString &code, const QColor &color) const
 
void renderMarking (QPainter *painter, const LinePositionRange &linePositions, Address byteIndex, int flag)
 
void renderPlain (QPainter *painter, const LinePositionRange &linePositions, Address byteIndex)
 
void renderRange (QPainter *painter, const QBrush &brush, const LinePositionRange &linePositions, int flag)
 
void renderSelection (QPainter *painter, const LinePositionRange &linePositions, Address byteIndex, int flag)
 
void renderSelectionSpaceBehind (QPainter *painter, LinePosition linePosition)
 
void renderSpaceBehind (QPainter *painter, const QBrush &brush, LinePosition linePosition)
 
- Protected Member Functions inherited from Okteta::AbstractColumnRenderer
void renderBlankLine (QPainter *painter) const
 
void restrictToXSpan (PixelXRange *xSpan) const
 
void setWidth (PixelX width)
 

Protected Attributes

PixelX mBinaryGapWidth
 
PixelX mBinaryHalfOffset
 
Bookmarkable * mBookmarks
 
AbstractByteArrayModel * mByteArrayModel
 
PixelX mByteSpacingWidth
 
bool mByteTypeColored
 
PixelX mByteWidth
 
const CharCodec * mCharCodec
 
QString mDecodedByteText
 
PixelY mDigitBaseLine
 
PixelY mDigitHeight
 
PixelX mDigitWidth
 
QFontMetrics mFontMetrics
 
PixelX mGroupSpacingWidth
 
LinePosition mLastLinePos
 
const ByteArrayTableLayout * mLayout
 
PixelX * mLinePosLeftPixelX
 
PixelX * mLinePosRightPixelX
 
Size mNoOfGroupedBytes
 
ByteArrayTableRanges * mRanges
 
Line mRenderLine
 
LinePositionRange mRenderLinePositions
 
PixelX mRenderWidth
 
PixelX mRenderX
 
bool mShowingNonprinting
 
int mSpacingTrigger
 
QChar mSubstituteChar
 
QChar mUndefinedChar
 
const ValueCodec * mValueCodec
 
ValueCoding mValueCoding
 
AbstractByteArrayView::CodingTypes mVisibleCodings
 

Detailed Description

base class of all buffer column displayers holds all information about the vertical layout of a buffer column knows how to paint the data and the editing things (focus, cursor, selection) but does not offer

Author
Friedrich W. H. Kossebau

Definition at line 62 of file bytearrayrowcolumnrenderer.h.

Member Enumeration Documentation

enum Okteta::ByteArrayRowColumnRenderer::FrameStyle
Enumerator
Frame 
Left 
Right 

Definition at line 65 of file bytearrayrowcolumnrenderer.h.

Constructor & Destructor Documentation

Okteta::ByteArrayRowColumnRenderer::ByteArrayRowColumnRenderer ( AbstractColumnStylist *  stylist,
AbstractByteArrayModel *  byteArrayModel,
ByteArrayTableLayout *  layout,
ByteArrayTableRanges *  ranges 
)

Definition at line 52 of file bytearrayrowcolumnrenderer.cpp.

Okteta::ByteArrayRowColumnRenderer::~ByteArrayRowColumnRenderer ( )
virtual

Definition at line 950 of file bytearrayrowcolumnrenderer.cpp.

Member Function Documentation

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

Definition at line 347 of file bytearrayrowcolumnrenderer.h.

QRect Okteta::ByteArrayRowColumnRenderer::byteRect ( const Coord &  coord) const

Definition at line 493 of file bytearrayrowcolumnrenderer.cpp.

QRect Okteta::ByteArrayRowColumnRenderer::byteRect ( const Coord &  coord,
AbstractByteArrayView::CodingTypeId  codingId 
) const

Definition at line 507 of file bytearrayrowcolumnrenderer.cpp.

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

Definition at line 325 of file bytearrayrowcolumnrenderer.h.

PixelX Okteta::ByteArrayRowColumnRenderer::byteWidth ( ) const
inline

Definition at line 323 of file bytearrayrowcolumnrenderer.h.

AbstractByteArrayView::CodingTypeId Okteta::ByteArrayRowColumnRenderer::codingIdofY ( PixelY  y) const

Definition at line 80 of file bytearrayrowcolumnrenderer.cpp.

PixelX Okteta::ByteArrayRowColumnRenderer::columnRightXOfLinePosition ( LinePosition  posInLine) const

returns right relative x-coord of byte at position posInLine

Definition at line 467 of file bytearrayrowcolumnrenderer.cpp.

PixelX Okteta::ByteArrayRowColumnRenderer::columnXOfLinePosition ( LinePosition  posInLine) const

returns relative x-coord of byte at position posInLine

Definition at line 462 of file bytearrayrowcolumnrenderer.cpp.

PixelXRange Okteta::ByteArrayRowColumnRenderer::columnXsOfLinePositionsInclSpaces ( const LinePositionRange &  linePositions) const

Definition at line 483 of file bytearrayrowcolumnrenderer.cpp.

PixelY Okteta::ByteArrayRowColumnRenderer::digitHeight ( ) const
inline

Definition at line 327 of file bytearrayrowcolumnrenderer.h.

PixelX Okteta::ByteArrayRowColumnRenderer::digitWidth ( ) const
inline

Definition at line 324 of file bytearrayrowcolumnrenderer.h.

LinePosition Okteta::ByteArrayRowColumnRenderer::firstLinePos ( ) const
inline

Definition at line 330 of file bytearrayrowcolumnrenderer.h.

bool Okteta::ByteArrayRowColumnRenderer::getNextMarkedAddressRange ( AddressRange *  markedRange,
unsigned int *  flag,
const AddressRange &  range 
) const
protected

Definition at line 922 of file bytearrayrowcolumnrenderer.cpp.

bool Okteta::ByteArrayRowColumnRenderer::getNextSelectedAddressRange ( AddressRange *  selectedRange,
unsigned int *  flag,
const AddressRange &  range 
) const
protected

Definition at line 892 of file bytearrayrowcolumnrenderer.cpp.

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

Definition at line 326 of file bytearrayrowcolumnrenderer.h.

bool Okteta::ByteArrayRowColumnRenderer::isByteTypeColored ( ) const
inline

Definition at line 345 of file bytearrayrowcolumnrenderer.h.

bool Okteta::ByteArrayRowColumnRenderer::isShowingNonprinting ( ) const
inline

returns true if "unprintable" chars (>32) are displayed in the char column with their corresponding character, default is false

Definition at line 349 of file bytearrayrowcolumnrenderer.h.

LinePosition Okteta::ByteArrayRowColumnRenderer::lastLinePos ( ) const
inline

Definition at line 331 of file bytearrayrowcolumnrenderer.h.

const ByteArrayTableLayout * Okteta::ByteArrayRowColumnRenderer::layout ( ) const
inline

Definition at line 334 of file bytearrayrowcolumnrenderer.h.

LinePosition Okteta::ByteArrayRowColumnRenderer::linePositionOfColumnX ( PixelX  x) const

returns byte pos at pixel with relative x-coord x

Definition at line 421 of file bytearrayrowcolumnrenderer.cpp.

LinePosition Okteta::ByteArrayRowColumnRenderer::linePositionOfX ( PixelX  x) const

returns byte pos at pixel with absolute x-coord x

Definition at line 345 of file bytearrayrowcolumnrenderer.cpp.

LinePositionRange Okteta::ByteArrayRowColumnRenderer::linePositionsOfColumnXs ( PixelX  x,
PixelX  width 
) const

returns byte linePositions covered by pixels with relative x-coord x

Definition at line 435 of file bytearrayrowcolumnrenderer.cpp.

LinePositionRange Okteta::ByteArrayRowColumnRenderer::linePositionsOfX ( PixelX  x,
PixelX  width 
) const

returns byte linePositions covered by pixels with absolute x-coord x

Definition at line 382 of file bytearrayrowcolumnrenderer.cpp.

LinePosition Okteta::ByteArrayRowColumnRenderer::magneticLinePositionOfX ( PixelX  x) const

returns byte pos at pixel with absolute x-coord x, and sets the flag to true if we are closer to the right

Definition at line 361 of file bytearrayrowcolumnrenderer.cpp.

Size Okteta::ByteArrayRowColumnRenderer::noOfGroupedBytes ( ) const
inline

Definition at line 328 of file bytearrayrowcolumnrenderer.h.

void Okteta::ByteArrayRowColumnRenderer::prepareRendering ( const PixelXRange &  Xs)

Definition at line 521 of file bytearrayrowcolumnrenderer.cpp.

void Okteta::ByteArrayRowColumnRenderer::recalcByteWidth ( )
protected

default implementation sets byte width to one digit width

Definition at line 243 of file bytearrayrowcolumnrenderer.cpp.

void Okteta::ByteArrayRowColumnRenderer::recalcX ( )
protected

Definition at line 315 of file bytearrayrowcolumnrenderer.cpp.

void Okteta::ByteArrayRowColumnRenderer::renderBookmark ( QPainter *  painter,
const QBrush &  brush 
)
protected

Definition at line 775 of file bytearrayrowcolumnrenderer.cpp.

void Okteta::ByteArrayRowColumnRenderer::renderByte ( QPainter *  painter,
Address  byteIndex,
AbstractByteArrayView::CodingTypeId  codingId 
)

paints the byte with background.

Parameters
byteIndexIndex of the byte to paint. If -1 only the background is painted.

Definition at line 804 of file bytearrayrowcolumnrenderer.cpp.

void Okteta::ByteArrayRowColumnRenderer::renderByteText ( QPainter *  painter,
Byte  byte,
Character  charByte,
int  codings,
const QColor &  color 
) const
protected

Definition at line 275 of file bytearrayrowcolumnrenderer.cpp.

void Okteta::ByteArrayRowColumnRenderer::renderCode ( QPainter *  painter,
const QString &  code,
const QColor &  color 
) const
protected

Definition at line 301 of file bytearrayrowcolumnrenderer.cpp.

void Okteta::ByteArrayRowColumnRenderer::renderCursor ( QPainter *  painter,
Address  byteIndex,
AbstractByteArrayView::CodingTypeId  codingId 
)

paints a cursor based on the type of the byte.

Parameters
byteIndexIndex of the byte to paint the cursor for. If -1 a space is used as char.

Definition at line 874 of file bytearrayrowcolumnrenderer.cpp.

void Okteta::ByteArrayRowColumnRenderer::renderEditedByte ( QPainter *  painter,
Byte  byte,
const QString &  editBuffer 
)

Definition at line 258 of file bytearrayrowcolumnrenderer.cpp.

void Okteta::ByteArrayRowColumnRenderer::renderFirstLine ( QPainter *  painter,
const PixelXRange &  Xs,
Line  firstLineIndex 
)
virtual

Definition at line 537 of file bytearrayrowcolumnrenderer.cpp.

void Okteta::ByteArrayRowColumnRenderer::renderFramedByte ( QPainter *  painter,
Address  byteIndex,
AbstractByteArrayView::CodingTypeId  codingId,
FrameStyle  style 
)

paints the byte with background and a frame around.

Parameters
byteIndexIndex of the byte to paint the frame for. If -1 a space is used as char.
stylethe style of the framing

Definition at line 846 of file bytearrayrowcolumnrenderer.cpp.

void Okteta::ByteArrayRowColumnRenderer::renderLinePositions ( QPainter *  painter,
Line  lineIndex,
const LinePositionRange &  linePositions 
)

Definition at line 553 of file bytearrayrowcolumnrenderer.cpp.

void Okteta::ByteArrayRowColumnRenderer::renderMarking ( QPainter *  painter,
const LinePositionRange &  linePositions,
Address  byteIndex,
int  flag 
)
protected

Definition at line 752 of file bytearrayrowcolumnrenderer.cpp.

void Okteta::ByteArrayRowColumnRenderer::renderNextLine ( QPainter *  painter)
virtual

the actual painting call for a column's line.

The default implementation simply paints the background

Reimplemented from Okteta::AbstractColumnRenderer.

Definition at line 547 of file bytearrayrowcolumnrenderer.cpp.

void Okteta::ByteArrayRowColumnRenderer::renderPlain ( QPainter *  painter,
const LinePositionRange &  linePositions,
Address  byteIndex 
)
protected

Definition at line 652 of file bytearrayrowcolumnrenderer.cpp.

void Okteta::ByteArrayRowColumnRenderer::renderRange ( QPainter *  painter,
const QBrush &  brush,
const LinePositionRange &  linePositions,
int  flag 
)
protected

Definition at line 782 of file bytearrayrowcolumnrenderer.cpp.

void Okteta::ByteArrayRowColumnRenderer::renderSelection ( QPainter *  painter,
const LinePositionRange &  linePositions,
Address  byteIndex,
int  flag 
)
protected

Definition at line 697 of file bytearrayrowcolumnrenderer.cpp.

void Okteta::ByteArrayRowColumnRenderer::renderSelectionSpaceBehind ( QPainter *  painter,
LinePosition  linePosition 
)
protected

Definition at line 743 of file bytearrayrowcolumnrenderer.cpp.

void Okteta::ByteArrayRowColumnRenderer::renderSpaceBehind ( QPainter *  painter,
const QBrush &  brush,
LinePosition  linePosition 
)
protected

Definition at line 795 of file bytearrayrowcolumnrenderer.cpp.

void Okteta::ByteArrayRowColumnRenderer::resetXBuffer ( )

creates new buffer for x-values; to be called on any change of NoOfBytesPerLine or metrics

Definition at line 113 of file bytearrayrowcolumnrenderer.cpp.

PixelX Okteta::ByteArrayRowColumnRenderer::rightXOfLinePosition ( LinePosition  posInLine) const

returns right absolute x-coord of byte at position posInLine

Definition at line 415 of file bytearrayrowcolumnrenderer.cpp.

PixelY Okteta::ByteArrayRowColumnRenderer::rowHeight ( ) const

Definition at line 90 of file bytearrayrowcolumnrenderer.cpp.

void Okteta::ByteArrayRowColumnRenderer::set ( AbstractByteArrayModel *  byteArrayModel)

Definition at line 106 of file bytearrayrowcolumnrenderer.cpp.

bool Okteta::ByteArrayRowColumnRenderer::setBinaryGapWidth ( PixelX  binaryGapWidth)

sets the spacing in the middle of a binary byte in the value column

Parameters
binaryGapWidthspacing in the middle of a binary in pixels returns true if there was a change

Definition at line 226 of file bytearrayrowcolumnrenderer.cpp.

bool Okteta::ByteArrayRowColumnRenderer::setByteSpacingWidth ( PixelX  byteSpacingWidth)

sets the spacing between the bytes in the hex column

Parameters
byteSpacingWidthspacing between the bytes in pixels returns true if there was a change

Definition at line 166 of file bytearrayrowcolumnrenderer.cpp.

void Okteta::ByteArrayRowColumnRenderer::setByteTypeColored ( bool  byteTypeColored)
inline

Definition at line 341 of file bytearrayrowcolumnrenderer.h.

void Okteta::ByteArrayRowColumnRenderer::setCharCodec ( const CharCodec *  charCodec)
inline

sets the codec to be used by the char column.

Definition at line 336 of file bytearrayrowcolumnrenderer.h.

void Okteta::ByteArrayRowColumnRenderer::setFontMetrics ( const QFontMetrics &  fontMetrics)

sets the metrics of the used font

Definition at line 132 of file bytearrayrowcolumnrenderer.cpp.

bool Okteta::ByteArrayRowColumnRenderer::setGroupSpacingWidth ( PixelX  groupSpacingWidth)

sets the spacing between the groups of bytes in the hex column

Parameters
groupSpacingWidthspacing between the groups in pixels returns true if there was a change

Definition at line 196 of file bytearrayrowcolumnrenderer.cpp.

bool Okteta::ByteArrayRowColumnRenderer::setNoOfGroupedBytes ( Size  noOfGroupedBytes)

sets the number of grouped bytes in the hex column

Parameters
noOfGroupedBytesnumbers of grouped bytes, 0 means no grouping returns true if there was a change

Definition at line 182 of file bytearrayrowcolumnrenderer.cpp.

bool Okteta::ByteArrayRowColumnRenderer::setShowingNonprinting ( bool  showingNonprinting = true)
inline

sets whether "unprintable" chars (>32) should be displayed in the char column with their corresponding character.

Parameters
showingNonprintingreturns true if there was a change

Definition at line 371 of file bytearrayrowcolumnrenderer.h.

bool Okteta::ByteArrayRowColumnRenderer::setSpacing ( PixelX  byteSpacingWidth,
Size  noOfGroupedBytes = 0,
PixelX  groupSpacingWidth = 0 
)

sets the spacing in the hex column

Parameters
byteSpacingWidthspacing between the bytes in pixels
noOfGroupedBytesnumbers of grouped bytes, 0 means no grouping
groupSpacingWidthspacing between the groups in pixels returns true if there was a change

Definition at line 148 of file bytearrayrowcolumnrenderer.cpp.

bool Okteta::ByteArrayRowColumnRenderer::setSubstituteChar ( QChar  substituteChar)
inline

sets the substitute character for "unprintable" chars returns true if there was a change

Definition at line 353 of file bytearrayrowcolumnrenderer.h.

bool Okteta::ByteArrayRowColumnRenderer::setUndefinedChar ( QChar  undefinedChar)
inline

sets the undefined character for "undefined" chars returns true if there was a change

Definition at line 362 of file bytearrayrowcolumnrenderer.h.

void Okteta::ByteArrayRowColumnRenderer::setValueCodec ( ValueCoding  valueCoding,
const ValueCodec *  valueCodec 
)

Definition at line 212 of file bytearrayrowcolumnrenderer.cpp.

void Okteta::ByteArrayRowColumnRenderer::setVisibleCodings ( int  visibleCodings)

Definition at line 126 of file bytearrayrowcolumnrenderer.cpp.

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

returns the actually used substitute character for "unprintable" chars, default is '.

'

Definition at line 350 of file bytearrayrowcolumnrenderer.h.

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

returns the actually used undefined character for "undefined" chars, default is '?'

Definition at line 351 of file bytearrayrowcolumnrenderer.h.

AbstractByteArrayView::CodingTypes Okteta::ByteArrayRowColumnRenderer::visibleCodings ( ) const
inline

Definition at line 320 of file bytearrayrowcolumnrenderer.h.

LinePositionRange Okteta::ByteArrayRowColumnRenderer::visibleLinePositions ( PixelX  x,
PixelX  width 
) const

returns the linePositions that overlap with the x-coords relative to the view

LinePositionRange Okteta::ByteArrayRowColumnRenderer::visibleLinePositions ( ) const
inline

Definition at line 332 of file bytearrayrowcolumnrenderer.h.

PixelX Okteta::ByteArrayRowColumnRenderer::xOfLinePosition ( LinePosition  posInLine) const

returns absolute x-coord of byte at position posInLine

Definition at line 410 of file bytearrayrowcolumnrenderer.cpp.

PixelXRange Okteta::ByteArrayRowColumnRenderer::xsOfLinePositionsInclSpaces ( const LinePositionRange &  linePositions) const

returns the

Definition at line 473 of file bytearrayrowcolumnrenderer.cpp.

PixelY Okteta::ByteArrayRowColumnRenderer::yOfCodingId ( AbstractByteArrayView::CodingTypeId  codingId) const

Definition at line 96 of file bytearrayrowcolumnrenderer.cpp.

Member Data Documentation

PixelX Okteta::ByteArrayRowColumnRenderer::mBinaryGapWidth
protected

Definition at line 296 of file bytearrayrowcolumnrenderer.h.

PixelX Okteta::ByteArrayRowColumnRenderer::mBinaryHalfOffset
protected

calculated: Offset in pixels of the second half of the binary

Definition at line 302 of file bytearrayrowcolumnrenderer.h.

Bookmarkable* Okteta::ByteArrayRowColumnRenderer::mBookmarks
protected

Definition at line 251 of file bytearrayrowcolumnrenderer.h.

AbstractByteArrayModel* Okteta::ByteArrayRowColumnRenderer::mByteArrayModel
protected

pointer to the buffer

Definition at line 245 of file bytearrayrowcolumnrenderer.h.

PixelX Okteta::ByteArrayRowColumnRenderer::mByteSpacingWidth
protected

width of inserting cursor in pixel

size of the line margin

Definition at line 272 of file bytearrayrowcolumnrenderer.h.

bool Okteta::ByteArrayRowColumnRenderer::mByteTypeColored
protected

Definition at line 288 of file bytearrayrowcolumnrenderer.h.

PixelX Okteta::ByteArrayRowColumnRenderer::mByteWidth
protected

total width of byte display in pixel

Definition at line 268 of file bytearrayrowcolumnrenderer.h.

const CharCodec* Okteta::ByteArrayRowColumnRenderer::mCharCodec
protected

Definition at line 253 of file bytearrayrowcolumnrenderer.h.

QString Okteta::ByteArrayRowColumnRenderer::mDecodedByteText
mutableprotected

buffer to hold the formatted valueCoding

Definition at line 300 of file bytearrayrowcolumnrenderer.h.

PixelY Okteta::ByteArrayRowColumnRenderer::mDigitBaseLine
protected

Definition at line 259 of file bytearrayrowcolumnrenderer.h.

PixelY Okteta::ByteArrayRowColumnRenderer::mDigitHeight
protected

Definition at line 261 of file bytearrayrowcolumnrenderer.h.

PixelX Okteta::ByteArrayRowColumnRenderer::mDigitWidth
protected

Definition at line 257 of file bytearrayrowcolumnrenderer.h.

QFontMetrics Okteta::ByteArrayRowColumnRenderer::mFontMetrics
protected

Definition at line 263 of file bytearrayrowcolumnrenderer.h.

PixelX Okteta::ByteArrayRowColumnRenderer::mGroupSpacingWidth
protected

width of spacing in pixel

Definition at line 274 of file bytearrayrowcolumnrenderer.h.

LinePosition Okteta::ByteArrayRowColumnRenderer::mLastLinePos
protected

index of right position

Definition at line 285 of file bytearrayrowcolumnrenderer.h.

const ByteArrayTableLayout* Okteta::ByteArrayRowColumnRenderer::mLayout
protected

pointer to the layout

Definition at line 247 of file bytearrayrowcolumnrenderer.h.

PixelX* Okteta::ByteArrayRowColumnRenderer::mLinePosLeftPixelX
protected

pointer to array with buffered linePositions (relative to column position) any spacing gets assigned to the byte left to it -> ...|c|c|c |c|c...

Definition at line 282 of file bytearrayrowcolumnrenderer.h.

PixelX* Okteta::ByteArrayRowColumnRenderer::mLinePosRightPixelX
protected

Definition at line 283 of file bytearrayrowcolumnrenderer.h.

Size Okteta::ByteArrayRowColumnRenderer::mNoOfGroupedBytes
protected

number of grouped bytes

Definition at line 277 of file bytearrayrowcolumnrenderer.h.

ByteArrayTableRanges* Okteta::ByteArrayRowColumnRenderer::mRanges
protected

pointer to the ranges

Definition at line 249 of file bytearrayrowcolumnrenderer.h.

Line Okteta::ByteArrayRowColumnRenderer::mRenderLine
protected

Definition at line 314 of file bytearrayrowcolumnrenderer.h.

LinePositionRange Okteta::ByteArrayRowColumnRenderer::mRenderLinePositions
protected

Definition at line 313 of file bytearrayrowcolumnrenderer.h.

PixelX Okteta::ByteArrayRowColumnRenderer::mRenderWidth
protected

Definition at line 316 of file bytearrayrowcolumnrenderer.h.

PixelX Okteta::ByteArrayRowColumnRenderer::mRenderX
protected

Definition at line 315 of file bytearrayrowcolumnrenderer.h.

bool Okteta::ByteArrayRowColumnRenderer::mShowingNonprinting
protected

Definition at line 306 of file bytearrayrowcolumnrenderer.h.

int Okteta::ByteArrayRowColumnRenderer::mSpacingTrigger
protected

Definition at line 317 of file bytearrayrowcolumnrenderer.h.

QChar Okteta::ByteArrayRowColumnRenderer::mSubstituteChar
protected

Definition at line 308 of file bytearrayrowcolumnrenderer.h.

QChar Okteta::ByteArrayRowColumnRenderer::mUndefinedChar
protected

Definition at line 310 of file bytearrayrowcolumnrenderer.h.

const ValueCodec* Okteta::ByteArrayRowColumnRenderer::mValueCodec
protected

Definition at line 294 of file bytearrayrowcolumnrenderer.h.

ValueCoding Okteta::ByteArrayRowColumnRenderer::mValueCoding
protected

Definition at line 292 of file bytearrayrowcolumnrenderer.h.

AbstractByteArrayView::CodingTypes Okteta::ByteArrayRowColumnRenderer::mVisibleCodings
protected

Definition at line 255 of file bytearrayrowcolumnrenderer.h.


The documentation for this class was generated from the following files:
  • bytearrayrowcolumnrenderer.h
  • bytearrayrowcolumnrenderer.cpp
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