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

okteta

Public Slots | Signals | Public Member Functions | List of all members
KByteArrayEdit Class Reference

#include <kbytearrayedit.h>

Inheritance diagram for KByteArrayEdit:
Inheritance graph
[legend]

Public Slots

virtual void copy ()
 
virtual void cut ()
 
virtual void paste ()
 
virtual void setModified (bool b)
 
virtual void setOverwriteMode (bool b)
 
virtual void setOverwriteOnly (bool b)
 
virtual void setReadOnly (bool RO=true)
 
virtual void unZoom ()
 
virtual void zoomIn (int PointInc)
 
virtual void zoomIn ()
 
virtual void zoomOut (int PointDec)
 
virtual void zoomOut ()
 
virtual void zoomTo (int PointSize)
 

Signals

void copyAvailable (bool Really)
 

Public Member Functions

virtual int binaryGapWidth () const
 
virtual int byteSpacingWidth () const
 
virtual KCoding coding () const
 
virtual char * data () const
 
virtual int dataSize () const
 
virtual KEncoding encoding () const
 
virtual int groupSpacingWidth () const
 
virtual bool hasSelectedData () const
 
virtual void insert (const QByteArray &D)
 
virtual bool isAutoDelete () const
 
virtual bool isModified () const
 
virtual bool isOverwriteMode () const
 
virtual bool isOverwriteOnly () const
 
virtual bool isReadOnly () const
 
virtual bool keepsMemory () const
 
virtual int maxDataSize () const
 
virtual int noOfBytesPerLine () const
 
virtual int noOfGroupedBytes () const
 
virtual void repaintRange (int i1, int i2)
 
virtual KResizeStyle resizeStyle () const
 
virtual void selectAll (bool select)
 
virtual void setAutoDelete (bool AD=true)
 
virtual void setBinaryGapWidth (int BGW)
 
virtual void setByteSpacingWidth (int BSW)
 
virtual void setCoding (KCoding C)
 
virtual void setCursorPosition (int Index)
 
virtual void setData (char *D, int DSize, int RSize=-1, bool KM=true)
 
virtual void setEncoding (KEncoding C)
 
virtual void setGroupSpacingWidth (int GSW)
 
virtual void setKeepsMemory (bool KM=true)
 
virtual void setMaxDataSize (int MS)
 
virtual void setNoOfBytesPerLine (int NoCpL)
 
virtual void setNoOfGroupedBytes (int NoGB)
 
virtual void setResizeStyle (KResizeStyle Style)
 
virtual void setShowUnprintable (bool SU=true)
 
virtual void setSubstituteChar (QChar SC)
 
virtual bool showUnprintable () const
 
virtual QChar substituteChar () const
 

Detailed Description

hex editor/viewer.

Author
Friedrich W. H. Kossebau kosse.nosp@m.bau@.nosp@m.kde.o.nosp@m.rg
Version
0.1

Definition at line 49 of file kbytearrayedit.h.

Member Function Documentation

int KByteArrayEdit::binaryGapWidth ( ) const
virtual

Definition at line 236 of file kbytearrayedit.cpp.

int KByteArrayEdit::byteSpacingWidth ( ) const
virtual

Definition at line 221 of file kbytearrayedit.cpp.

KByteArrayEdit::KCoding KByteArrayEdit::coding ( ) const
virtual

Definition at line 216 of file kbytearrayedit.cpp.

void KByteArrayEdit::copy ( )
virtualslot

Definition at line 281 of file kbytearrayedit.cpp.

void KByteArrayEdit::copyAvailable ( bool  Really)
signal
void KByteArrayEdit::cut ( )
virtualslot

Definition at line 286 of file kbytearrayedit.cpp.

char * KByteArrayEdit::data ( ) const
virtual

Definition at line 172 of file kbytearrayedit.cpp.

int KByteArrayEdit::dataSize ( ) const
virtual

returns the size of the actual byte array

Definition at line 177 of file kbytearrayedit.cpp.

KByteArrayEdit::KEncoding KByteArrayEdit::encoding ( ) const
virtual

Definition at line 251 of file kbytearrayedit.cpp.

int KByteArrayEdit::groupSpacingWidth ( ) const
virtual

Definition at line 231 of file kbytearrayedit.cpp.

bool KByteArrayEdit::hasSelectedData ( ) const
virtual

returns true if there is a selected range in the array

Definition at line 257 of file kbytearrayedit.cpp.

void KByteArrayEdit::insert ( const QByteArray &  D)
virtual

Definition at line 269 of file kbytearrayedit.cpp.

bool KByteArrayEdit::isAutoDelete ( ) const
virtual

returns whether autodelete is set for the byte array

Definition at line 185 of file kbytearrayedit.cpp.

bool KByteArrayEdit::isModified ( ) const
virtual

Definition at line 205 of file kbytearrayedit.cpp.

bool KByteArrayEdit::isOverwriteMode ( ) const
virtual

Definition at line 195 of file kbytearrayedit.cpp.

bool KByteArrayEdit::isOverwriteOnly ( ) const
virtual

Definition at line 200 of file kbytearrayedit.cpp.

bool KByteArrayEdit::isReadOnly ( ) const
virtual

Definition at line 210 of file kbytearrayedit.cpp.

bool KByteArrayEdit::keepsMemory ( ) const
virtual

returns whether the memory of the byte array is kept

Definition at line 190 of file kbytearrayedit.cpp.

int KByteArrayEdit::maxDataSize ( ) const
virtual

returns the maximal allowed size for the byte array

Definition at line 181 of file kbytearrayedit.cpp.

int KByteArrayEdit::noOfBytesPerLine ( ) const
virtual

Definition at line 102 of file kbytearrayedit.cpp.

int KByteArrayEdit::noOfGroupedBytes ( ) const
virtual

Definition at line 226 of file kbytearrayedit.cpp.

void KByteArrayEdit::paste ( )
virtualslot

Definition at line 291 of file kbytearrayedit.cpp.

void KByteArrayEdit::repaintRange ( int  i1,
int  i2 
)
virtual

repaint the indizes from i1 to i2

Definition at line 263 of file kbytearrayedit.cpp.

KByteArrayEdit::KResizeStyle KByteArrayEdit::resizeStyle ( ) const
virtual

Definition at line 107 of file kbytearrayedit.cpp.

void KByteArrayEdit::selectAll ( bool  select)
virtual

de-/selects all data

Definition at line 275 of file kbytearrayedit.cpp.

void KByteArrayEdit::setAutoDelete ( bool  AD = true)
virtual

sets whether the array should be deleted on the widget's end or if a new array is set.

Default is false

Definition at line 76 of file kbytearrayedit.cpp.

void KByteArrayEdit::setBinaryGapWidth ( int  BGW)
virtual

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

Parameters
BGWspacing in the middle of a binary in pixels

Definition at line 151 of file kbytearrayedit.cpp.

void KByteArrayEdit::setByteSpacingWidth ( int  BSW)
virtual

sets the spacing between the bytes in pixels

Definition at line 136 of file kbytearrayedit.cpp.

void KByteArrayEdit::setCoding ( KCoding  C)
virtual

sets the format of the value column.

Default is KHE::HexadecimalCoding

Definition at line 93 of file kbytearrayedit.cpp.

void KByteArrayEdit::setCursorPosition ( int  Index)
virtual

Definition at line 88 of file kbytearrayedit.cpp.

void KByteArrayEdit::setData ( char *  D,
int  DSize,
int  RSize = -1,
bool  KM = true 
)
virtual

hands over to the editor a new byte array.

If there exists an old one and autodelete is set the old one gets deleted.

Parameters
Dpointer to memory
DSizesize of used memory
RSizereal size of the memory
KMkeep the memory on resize (RSize is the maximum size)

Definition at line 50 of file kbytearrayedit.cpp.

void KByteArrayEdit::setEncoding ( KEncoding  C)
virtual

sets the encoding of the char column.

Default is KHE::LocalEncoding. If the encoding is not available the format will not be changed.

Definition at line 156 of file kbytearrayedit.cpp.

void KByteArrayEdit::setGroupSpacingWidth ( int  GSW)
virtual

sets the spacing between the groups in pixels

Definition at line 146 of file kbytearrayedit.cpp.

void KByteArrayEdit::setKeepsMemory ( bool  KM = true)
virtual

sets whether the memory given by setData or in the constructor should be kept on resize

Definition at line 82 of file kbytearrayedit.cpp.

void KByteArrayEdit::setMaxDataSize ( int  MS)
virtual

sets the maximal size of the actual byte array.

If the actual array is already larger it will not be modified but there can be only done non-inserting actions until the array's is below the limit

Definition at line 71 of file kbytearrayedit.cpp.

void KByteArrayEdit::setModified ( bool  b)
virtualslot

Definition at line 130 of file kbytearrayedit.cpp.

void KByteArrayEdit::setNoOfBytesPerLine ( int  NoCpL)
virtual

sets the number of bytes per line, switching the resize style to KHE::NoResize

Definition at line 111 of file kbytearrayedit.cpp.

void KByteArrayEdit::setNoOfGroupedBytes ( int  NoGB)
virtual

sets the numbers of grouped bytes, 0 means no grouping, Default is 4

Definition at line 141 of file kbytearrayedit.cpp.

void KByteArrayEdit::setOverwriteMode ( bool  b)
virtualslot

Definition at line 124 of file kbytearrayedit.cpp.

void KByteArrayEdit::setOverwriteOnly ( bool  b)
virtualslot

Definition at line 118 of file kbytearrayedit.cpp.

void KByteArrayEdit::setReadOnly ( bool  RO = true)
virtualslot

Definition at line 65 of file kbytearrayedit.cpp.

void KByteArrayEdit::setResizeStyle ( KResizeStyle  Style)
virtual

sets the resizestyle for the value column.

Default is KHE::FullSizeUsage

Definition at line 98 of file kbytearrayedit.cpp.

void KByteArrayEdit::setShowUnprintable ( bool  SU = true)
virtual

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

Parameters
SUreturns true if there was a change

Definition at line 161 of file kbytearrayedit.cpp.

void KByteArrayEdit::setSubstituteChar ( QChar  SC)
virtual

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

Definition at line 166 of file kbytearrayedit.cpp.

bool KByteArrayEdit::showUnprintable ( ) const
virtual

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

Definition at line 241 of file kbytearrayedit.cpp.

QChar KByteArrayEdit::substituteChar ( ) const
virtual

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

'

Definition at line 246 of file kbytearrayedit.cpp.

void KByteArrayEdit::unZoom ( )
virtualslot

Definition at line 322 of file kbytearrayedit.cpp.

void KByteArrayEdit::zoomIn ( int  PointInc)
virtualslot

Definition at line 297 of file kbytearrayedit.cpp.

void KByteArrayEdit::zoomIn ( )
virtualslot

Definition at line 302 of file kbytearrayedit.cpp.

void KByteArrayEdit::zoomOut ( int  PointDec)
virtualslot

Definition at line 307 of file kbytearrayedit.cpp.

void KByteArrayEdit::zoomOut ( )
virtualslot

Definition at line 312 of file kbytearrayedit.cpp.

void KByteArrayEdit::zoomTo ( int  PointSize)
virtualslot

Definition at line 317 of file kbytearrayedit.cpp.


The documentation for this class was generated from the following files:
  • kbytearrayedit.h
  • kbytearrayedit.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:04:11 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