KHexEdit
#include <charcolumninterface.h>
Public Types | |
enum | KEncoding { LocalEncoding =0 , ISO8859_1Encoding =1 , CECP1047Encoding =2 , MaxEncodingId =0xFFFF } |
Public Member Functions | |
virtual | ~CharColumnInterface () |
virtual KEncoding | encoding () const =0 |
virtual void | setEncoding (KEncoding C)=0 |
virtual void | setShowUnprintable (bool SU=true)=0 |
virtual void | setSubstituteChar (QChar SC)=0 |
virtual bool | showUnprintable () const =0 |
virtual QChar | substituteChar () const =0 |
Detailed Description
A simple interface for the access to the char column of a hex edit widget.
Definition at line 33 of file charcolumninterface.h.
Member Enumeration Documentation
◆ KEncoding
encoding used to display the symbols in the text column
Definition at line 40 of file charcolumninterface.h.
Constructor & Destructor Documentation
◆ ~CharColumnInterface()
|
inlinevirtual |
Definition at line 36 of file charcolumninterface.h.
Member Function Documentation
◆ encoding()
|
pure virtual |
- Returns
- the currently used encoding
- See also
- setEncoding()
◆ setEncoding()
|
pure virtual |
sets the encoding of the text column.
If the encoding is not available the format will not be changed. Default is LocalEncoding
.
- Parameters
-
C the new encoding
- See also
- encoding()
◆ setShowUnprintable()
|
pure virtual |
sets whether "unprintable" chars (value<32) should be displayed in the text column with their corresponding character.
Default is false
.
- Parameters
-
SU
- See also
- showUnprintable()
◆ setSubstituteChar()
|
pure virtual |
sets the substitute character for "unprintable" chars Default is '.
'.
- Parameters
-
SC new character
- See also
- substituteChar()
◆ showUnprintable()
|
pure virtual |
- Returns
true
if "unprintable" chars (value<32) are displayed in the text column with their corresponding character,false
otherwise
- See also
- setShowUnprintable()
◆ substituteChar()
|
pure virtual |
- Returns
- the currently used substitute character for "unprintable" chars.
- See also
- setSubstituteChar()
The documentation for this class was generated from the following file:
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.