okteta
bytearrayrowcolumnrenderer.h
Go to the documentation of this file.
68 AbstractByteArrayModel* byteArrayModel, ByteArrayTableLayout* layout, ByteArrayTableRanges* ranges );
81 void renderLinePositions( QPainter* painter, Line lineIndex, const LinePositionRange& linePositions );
85 void renderCursor( QPainter* painter, Address byteIndex, AbstractByteArrayView::CodingTypeId codingId );
89 void renderByte( QPainter* painter, Address byteIndex, AbstractByteArrayView::CodingTypeId codingId );
94 void renderFramedByte( QPainter* painter, Address byteIndex, AbstractByteArrayView::CodingTypeId codingId, FrameStyle style );
105 bool setSpacing( PixelX byteSpacingWidth, Size noOfGroupedBytes = 0, PixelX groupSpacingWidth = 0 );
227 void renderPlain( QPainter* painter, const LinePositionRange& linePositions, Address byteIndex );
228 void renderSelection( QPainter* painter, const LinePositionRange& linePositions, Address byteIndex, int flag );
229 void renderMarking( QPainter* painter, const LinePositionRange& linePositions, Address byteIndex, int flag );
230 void renderRange( QPainter* painter, const QBrush& brush, const LinePositionRange& linePositions, int flag );
239 bool getNextSelectedAddressRange( AddressRange* selectedRange, unsigned int* flag, const AddressRange& range ) const;
240 bool getNextMarkedAddressRange( AddressRange* markedRange, unsigned int* flag, const AddressRange& range ) const;
320 inline AbstractByteArrayView::CodingTypes ByteArrayRowColumnRenderer::visibleCodings() const { return mVisibleCodings; }
325 inline PixelX ByteArrayRowColumnRenderer::byteSpacingWidth() const { return mByteSpacingWidth; }
326 inline PixelX ByteArrayRowColumnRenderer::groupSpacingWidth() const { return mGroupSpacingWidth; }
330 inline LinePosition ByteArrayRowColumnRenderer::firstLinePos() const { return mRenderLinePositions.start(); }
331 inline LinePosition ByteArrayRowColumnRenderer::lastLinePos() const { return mRenderLinePositions.end(); }
332 inline LinePositionRange ByteArrayRowColumnRenderer::visibleLinePositions() const { return mRenderLinePositions; }
334 inline const ByteArrayTableLayout *ByteArrayRowColumnRenderer::layout() const { return mLayout; }
349 inline bool ByteArrayRowColumnRenderer::isShowingNonprinting() const { return mShowingNonprinting; }
could it be useful to hide the data access behind an iterator? * class KDataBufferIterator { public: ...
Definition: abstractbytearraymodel.h:79
a class to control all the ranges like marking and selections holds also all modified ranges and merg...
Definition: bytearraytableranges.h:45
bool mByteTypeColored
Definition: bytearrayrowcolumnrenderer.h:288
PixelX mByteSpacingWidth
width of inserting cursor in pixel
Definition: bytearrayrowcolumnrenderer.h:272
PixelX digitWidth() const
Definition: bytearrayrowcolumnrenderer.h:324
AbstractByteArrayModel * mByteArrayModel
pointer to the buffer
Definition: bytearrayrowcolumnrenderer.h:245
QChar undefinedChar() const
returns the actually used undefined character for "undefined" chars, default is '?'
Definition: bytearrayrowcolumnrenderer.h:351
PixelX mBinaryGapWidth
Definition: bytearrayrowcolumnrenderer.h:296
bool setSubstituteChar(QChar substituteChar)
sets the substitute character for "unprintable" chars returns true if there was a change ...
Definition: bytearrayrowcolumnrenderer.h:353
PixelX mDigitWidth
Definition: bytearrayrowcolumnrenderer.h:257
LinePositionRange mRenderLinePositions
Definition: bytearrayrowcolumnrenderer.h:313
describes a range of numbers which have a distance of 1 each
Definition: numberrange.h:37
PixelX mRenderX
Definition: bytearrayrowcolumnrenderer.h:315
bool isShowingNonprinting() const
returns true if "unprintable" chars (>32) are displayed in the char column with their corresponding c...
Definition: bytearrayrowcolumnrenderer.h:349
bool isByteTypeColored() const
Definition: bytearrayrowcolumnrenderer.h:345
QChar mUndefinedChar
Definition: bytearrayrowcolumnrenderer.h:310
Definition: bookmarkable.h:39
void setByteTypeColored(bool byteTypeColored)
Definition: bytearrayrowcolumnrenderer.h:341
Line mRenderLine
Definition: bytearrayrowcolumnrenderer.h:314
AbstractByteArrayView::CodingTypes mVisibleCodings
Definition: bytearrayrowcolumnrenderer.h:255
the logical layout of a byte array table for a view
Definition: bytearraytablelayout.h:61
LinePosition lastLinePos() const
Definition: bytearrayrowcolumnrenderer.h:331
const ByteArrayTableLayout * layout() const
Definition: bytearrayrowcolumnrenderer.h:334
void setCharCodec(const CharCodec *charCodec)
sets the codec to be used by the char column.
Definition: bytearrayrowcolumnrenderer.h:336
PixelX mBinaryHalfOffset
calculated: Offset in pixels of the second half of the binary
Definition: bytearrayrowcolumnrenderer.h:302
PixelX mRenderWidth
Definition: bytearrayrowcolumnrenderer.h:316
Definition: charcodec.h:42
PixelX byteSpacingWidth() const
Definition: bytearrayrowcolumnrenderer.h:325
Bookmarkable * mBookmarks
Definition: bytearrayrowcolumnrenderer.h:251
QChar substituteChar() const
returns the actually used substitute character for "unprintable" chars, default is '...
Definition: bytearrayrowcolumnrenderer.h:350
ValueCoding mValueCoding
Definition: bytearrayrowcolumnrenderer.h:292
Class that is able to convert codings to and from hexadecimal, decimal, octal, and binary...
Definition: valuecodec.h:45
int mSpacingTrigger
Definition: bytearrayrowcolumnrenderer.h:317
base class of all buffer column displayers holds all information about the vertical layout of a buffe...
Definition: bytearrayrowcolumnrenderer.h:62
PixelY mDigitBaseLine
Definition: bytearrayrowcolumnrenderer.h:259
Size noOfGroupedBytes() const
Definition: bytearrayrowcolumnrenderer.h:328
PixelX binaryGapWidth() const
Definition: bytearrayrowcolumnrenderer.h:347
QFontMetrics mFontMetrics
Definition: bytearrayrowcolumnrenderer.h:263
const ValueCodec * mValueCodec
Definition: bytearrayrowcolumnrenderer.h:294
QString mDecodedByteText
buffer to hold the formatted valueCoding
Definition: bytearrayrowcolumnrenderer.h:300
bool mShowingNonprinting
Definition: bytearrayrowcolumnrenderer.h:306
const ByteArrayTableLayout * mLayout
pointer to the layout
Definition: bytearrayrowcolumnrenderer.h:247
bool setShowingNonprinting(bool showingNonprinting=true)
sets whether "unprintable" chars (>32) should be displayed in the char column with their correspondin...
Definition: bytearrayrowcolumnrenderer.h:371
PixelX byteWidth() const
Definition: bytearrayrowcolumnrenderer.h:323
LinePosition firstLinePos() const
Definition: bytearrayrowcolumnrenderer.h:330
const CharCodec * mCharCodec
Definition: bytearrayrowcolumnrenderer.h:253
LinePositionRange visibleLinePositions() const
Definition: bytearrayrowcolumnrenderer.h:332
base class for columns of the ColumnsView
Definition: abstractcolumnrenderer.h:46
bool setUndefinedChar(QChar undefinedChar)
sets the undefined character for "undefined" chars returns true if there was a change ...
Definition: bytearrayrowcolumnrenderer.h:362
PixelX groupSpacingWidth() const
Definition: bytearrayrowcolumnrenderer.h:326
PixelY digitHeight() const
Definition: bytearrayrowcolumnrenderer.h:327
Definition: character.h:35
AbstractByteArrayView::CodingTypes visibleCodings() const
Definition: bytearrayrowcolumnrenderer.h:320
PixelX * mLinePosLeftPixelX
pointer to array with buffered linePositions (relative to column position) any spacing gets assigned ...
Definition: bytearrayrowcolumnrenderer.h:282
PixelX * mLinePosRightPixelX
Definition: bytearrayrowcolumnrenderer.h:283
QChar mSubstituteChar
Definition: bytearrayrowcolumnrenderer.h:308
PixelY mDigitHeight
Definition: bytearrayrowcolumnrenderer.h:261
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:04:07 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:07 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.