okteta
KHEUI::CharByteArrayColumnRenderer Class Reference
#include <charbytearraycolumnrenderer.h>

Detailed Description
buffer column that interprets the bytes as chars
Definition at line 43 of file charbytearraycolumnrenderer.h.
Public Member Functions | |
| CharByteArrayColumnRenderer (ColumnsView *columnsView, KHECore::KAbstractByteArrayModel *byteArrayModel, ByteArrayTableLayout *layout, KDataRanges *ranges) | |
| bool | isShowingNonprinting () const |
| bool | setShowingNonprinting (bool showingNonprinting=true) |
| bool | setSubstituteChar (QChar substituteChar) |
| bool | setUndefinedChar (QChar undefinedChar) |
| QChar | substituteChar () const |
| QChar | undefinedChar () const |
| virtual | ~CharByteArrayColumnRenderer () |
Protected Member Functions | |
| virtual void | renderByteText (QPainter *painter, char byte, KHECore::KChar byteChar, const QColor &color) const |
Protected Attributes | |
| bool | mShowingNonprinting |
| QChar | mSubstituteChar |
| QChar | mUndefinedChar |
Constructor & Destructor Documentation
| KHEUI::CharByteArrayColumnRenderer::CharByteArrayColumnRenderer | ( | ColumnsView * | columnsView, | |
| KHECore::KAbstractByteArrayModel * | byteArrayModel, | |||
| ByteArrayTableLayout * | layout, | |||
| KDataRanges * | ranges | |||
| ) |
Definition at line 47 of file charbytearraycolumnrenderer.cpp.
| KHEUI::CharByteArrayColumnRenderer::~CharByteArrayColumnRenderer | ( | ) | [virtual] |
Definition at line 71 of file charbytearraycolumnrenderer.cpp.
Member Function Documentation
| bool KHEUI::CharByteArrayColumnRenderer::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 92 of file charbytearraycolumnrenderer.h.
| void KHEUI::CharByteArrayColumnRenderer::renderByteText | ( | QPainter * | painter, | |
| char | byte, | |||
| KHECore::KChar | byteChar, | |||
| const QColor & | color | |||
| ) | const [protected, virtual] |
Implements KHEUI::AbstractByteArrayColumnRenderer.
Definition at line 58 of file charbytearraycolumnrenderer.cpp.
| bool KHEUI::CharByteArrayColumnRenderer::setShowingNonprinting | ( | bool | showingNonprinting = true |
) | [inline] |
sets whether "unprintable" chars (>32) should be displayed in the char column with their corresponding character.
- Parameters:
-
showingNonprinting returns true if there was a change
Definition at line 114 of file charbytearraycolumnrenderer.h.
| bool KHEUI::CharByteArrayColumnRenderer::setSubstituteChar | ( | QChar | substituteChar | ) | [inline] |
sets the substitute character for "unprintable" chars returns true if there was a change
Definition at line 96 of file charbytearraycolumnrenderer.h.
| bool KHEUI::CharByteArrayColumnRenderer::setUndefinedChar | ( | QChar | undefinedChar | ) | [inline] |
sets the undefined character for "undefined" chars returns true if there was a change
Definition at line 105 of file charbytearraycolumnrenderer.h.
| QChar KHEUI::CharByteArrayColumnRenderer::substituteChar | ( | ) | const [inline] |
returns the actually used substitute character for "unprintable" chars, default is '.
'
Definition at line 93 of file charbytearraycolumnrenderer.h.
| QChar KHEUI::CharByteArrayColumnRenderer::undefinedChar | ( | ) | const [inline] |
returns the actually used undefined character for "undefined" chars, default is '?'
Definition at line 94 of file charbytearraycolumnrenderer.h.
Member Data Documentation
bool KHEUI::CharByteArrayColumnRenderer::mShowingNonprinting [protected] |
Definition at line 84 of file charbytearraycolumnrenderer.h.
Definition at line 86 of file charbytearraycolumnrenderer.h.
Definition at line 88 of file charbytearraycolumnrenderer.h.
The documentation for this class was generated from the following files:
KDE 4.2 API Reference