KHexEdit
#include <valuecolumninterface.h>
Public Types | |
enum | KCoding { HexadecimalCoding = 0, DecimalCoding = 1, OctalCoding = 2, BinaryCoding = 3, MaxCodingId = 0xFFFF } |
enum | KResizeStyle { NoResize = 0, LockGrouping = 1, FullSizeUsage = 2, MaxResizeStyleId = 0xFF } |
Public Member Functions | |
virtual | ~ValueColumnInterface () |
virtual int | binaryGapWidth () const =0 |
virtual int | byteSpacingWidth () const =0 |
virtual KCoding | coding () const =0 |
virtual int | groupSpacingWidth () const =0 |
virtual int | noOfBytesPerLine () const =0 |
virtual int | noOfGroupedBytes () const =0 |
virtual KResizeStyle | resizeStyle () const =0 |
virtual void | setBinaryGapWidth (int BGW)=0 |
virtual void | setByteSpacingWidth (int BSW)=0 |
virtual void | setCoding (KCoding C)=0 |
virtual void | setGroupSpacingWidth (int GSW)=0 |
virtual void | setNoOfBytesPerLine (int NoCpL)=0 |
virtual void | setNoOfGroupedBytes (int NoGB)=0 |
virtual void | setResizeStyle (KResizeStyle Style)=0 |
Detailed Description
Interface for the value displaying column of a hexedit widget.
Definition at line 33 of file valuecolumninterface.h.
Member Enumeration Documentation
collection of ids for the different numeric codings of a byte
- Enumerator:
HexadecimalCoding hexadecimal encoding
DecimalCoding decimal encoding
OctalCoding octal encoding
BinaryCoding bit by bit coding
MaxCodingId enables extension without breaking binary compatibility
Definition at line 40 of file valuecolumninterface.h.
collection of ids for the fitting of the layout into the available widget's width
- Enumerator:
Definition at line 55 of file valuecolumninterface.h.
Constructor & Destructor Documentation
|
inlinevirtual |
Definition at line 36 of file valuecolumninterface.h.
Member Function Documentation
|
pure virtual |
- Returns:
- the gap in the middle of a binary (in pixels)
- See also:
- setBinaryGapWidth()
|
pure virtual |
- Returns:
- the spacing between bytes (in pixels)
- See also:
- setByteSpacingWidth()
|
pure virtual |
- Returns:
- the current coding
- See also:
- setCoding()
|
pure virtual |
- Returns:
- the spacing between groups of bytes (in pixels)
- See also:
- setGroupSpacingWidth()
|
pure virtual |
- Returns:
- the current number of bytes per line
- See also:
- setNoOfBytesPerLine()
|
pure virtual |
- Returns:
- the current number of bytes per group
- See also:
- setNoOfGroupedBytes()
|
pure virtual |
- Returns:
- the current resize style
- See also:
- setResizeStyle()
|
pure virtual |
sets the spacing in the middle of a binary encoded byte.
Default is 1.
- Parameters:
-
BGW spacing in the middle of a binary (in pixels)
- See also:
- binaryGapWidth()
|
pure virtual |
sets the spacing between the bytes.
Default is 3.
- Parameters:
-
BSW new spacing between bytes (in pixels)
- See also:
- byteSpacingWidth()
|
pure virtual |
sets the format of the hex column.
If the coding is not available the format will not be changed. Default is HexadecimalCoding
.
- Parameters:
-
C
- See also:
- coding()
|
pure virtual |
sets the spacing between the groups.
Default is 9.
- Parameters:
-
GSW new spacing width (in pixels)
- See also:
- groupSpacingWidth()
|
pure virtual |
sets the number of bytes per line, switching the resize style to NoResize
Default is 16.
- Parameters:
-
NoCpL new number of bytes per line
- See also:
- noOfBytesPerLine()
|
pure virtual |
sets the numbers of grouped bytes, 0 means no grouping.
Default is 4.
- Parameters:
-
NoGB new number of bytes per group
- See also:
- noOfGroupedBytes()
|
pure virtual |
sets the resize style for the hex column.
Default is FullSizeUsage
- Parameters:
-
Style new style
- See also:
- resizeStyle()
The documentation for this class was generated from the following file:
Documentation copyright © 1996-2013 The KDE developers.
Generated on Tue Jul 16 2013 11:52:52 by doxygen 1.8.1.1 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.