• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdeutils
  • Sitemap
  • Contact Us
 

okteta

KHEUI::CharByteArrayColumnRenderer

KHEUI::CharByteArrayColumnRenderer Class Reference

#include <charbytearraycolumnrenderer.h>

Inheritance diagram for KHEUI::CharByteArrayColumnRenderer:

Inheritance graph
[legend]

List of all members.


Detailed Description

buffer column that interprets the bytes as chars

Author:
Friedrich W. H. Kossebau

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.

QChar KHEUI::CharByteArrayColumnRenderer::mSubstituteChar [protected]

Definition at line 86 of file charbytearraycolumnrenderer.h.

QChar KHEUI::CharByteArrayColumnRenderer::mUndefinedChar [protected]

Definition at line 88 of file charbytearraycolumnrenderer.h.


The documentation for this class was generated from the following files:
  • charbytearraycolumnrenderer.h
  • charbytearraycolumnrenderer.cpp

okteta

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

kdeutils

Skip menu "kdeutils"
  • ark
  • kcalc
  • kcharselect
  • kdessh
  • kdf
  • kfloppy
  • kgpg
  • ktimer
  • kwallet
  • okteta
  • printer-applet
  • superkaramba
  • sweeper
Generated for kdeutils by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal