#include <valuecolumninterface.h>
Interface for the value displaying column of a hexedit widget.
- Author
- Friedrich W. H. Kossebau kosse.nosp@m.bau@.nosp@m.kde.o.nosp@m.rg
- See also
- createBytesEditWidget(), valueColumnInterface()
Definition at line 33 of file valuecolumninterface.h.
◆ KCoding
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.
◆ KResizeStyle
collection of ids for the fitting of the layout into the available widget's width
| Enumerator |
|---|
| NoResize | we don't care about the actual sizing of the widget but stick to the given NoOfBytesPerLine
|
| LockGrouping | we try to fit the layout to the available width but only with full groups like set in NoOfGroupedBytes with minimum of one full group
|
| FullSizeUsage | we try to fit as many bytes into the width as possible, with minimum of 1 byte
|
| MaxResizeStyleId | enables extension without breaking binary compatibility
|
Definition at line 55 of file valuecolumninterface.h.
◆ ~ValueColumnInterface()
| virtual KHE::ValueColumnInterface::~ValueColumnInterface |
( |
| ) |
|
|
inlinevirtual |
◆ binaryGapWidth()
| virtual int KHE::ValueColumnInterface::binaryGapWidth |
( |
| ) |
const |
|
pure virtual |
◆ byteSpacingWidth()
| virtual int KHE::ValueColumnInterface::byteSpacingWidth |
( |
| ) |
const |
|
pure virtual |
◆ coding()
| virtual KCoding KHE::ValueColumnInterface::coding |
( |
| ) |
const |
|
pure virtual |
◆ groupSpacingWidth()
| virtual int KHE::ValueColumnInterface::groupSpacingWidth |
( |
| ) |
const |
|
pure virtual |
◆ noOfBytesPerLine()
| virtual int KHE::ValueColumnInterface::noOfBytesPerLine |
( |
| ) |
const |
|
pure virtual |
◆ noOfGroupedBytes()
| virtual int KHE::ValueColumnInterface::noOfGroupedBytes |
( |
| ) |
const |
|
pure virtual |
◆ resizeStyle()
| virtual KResizeStyle KHE::ValueColumnInterface::resizeStyle |
( |
| ) |
const |
|
pure virtual |
◆ setBinaryGapWidth()
| virtual void KHE::ValueColumnInterface::setBinaryGapWidth |
( |
int | BGW | ) |
|
|
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()
◆ setByteSpacingWidth()
| virtual void KHE::ValueColumnInterface::setByteSpacingWidth |
( |
int | BSW | ) |
|
|
pure virtual |
sets the spacing between the bytes.
Default is 3.
- Parameters
-
| BSW | new spacing between bytes (in pixels) |
- See also
- byteSpacingWidth()
◆ setCoding()
| virtual void KHE::ValueColumnInterface::setCoding |
( |
KCoding | C | ) |
|
|
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
-
- See also
- coding()
◆ setGroupSpacingWidth()
| virtual void KHE::ValueColumnInterface::setGroupSpacingWidth |
( |
int | GSW | ) |
|
|
pure virtual |
sets the spacing between the groups.
Default is 9.
- Parameters
-
| GSW | new spacing width (in pixels) |
- See also
- groupSpacingWidth()
◆ setNoOfBytesPerLine()
| virtual void KHE::ValueColumnInterface::setNoOfBytesPerLine |
( |
int | NoCpL | ) |
|
|
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()
◆ setNoOfGroupedBytes()
| virtual void KHE::ValueColumnInterface::setNoOfGroupedBytes |
( |
int | NoGB | ) |
|
|
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()
◆ setResizeStyle()
| virtual void KHE::ValueColumnInterface::setResizeStyle |
( |
KResizeStyle | Style | ) |
|
|
pure virtual |
sets the resize style for the hex column.
Default is FullSizeUsage
- Parameters
-
- See also
- resizeStyle()
The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2026 The KDE developers.
Generated on
by
doxygen 1.15.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.