okteta
structviewpreferences.cpp
Go to the documentation of this file.
42 mUnsignedDisplayBaseItem = new KConfigSkeleton::ItemInt( currentGroup(), QLatin1String( "UnsignedDisplayBase" ), mUnsignedDisplayBase, 10 );
44 mUnsignedDisplayBaseItem->setToolTip( i18nc("@info:tooltip", "The base to use when converting unsigned numbers to a string.") );
46 mSignedDisplayBaseItem = new KConfigSkeleton::ItemInt( currentGroup(), QLatin1String( "SignedDisplayBase" ), mSignedDisplayBase, 10 );
48 mSignedDisplayBaseItem->setToolTip( i18nc("@info:tooltip", "The base to use when converting signed numbers to a string.") );
50 mCharDisplayBaseItem = new KConfigSkeleton::ItemInt( currentGroup(), QLatin1String( "CharDisplayBase" ), mCharDisplayBase, 10 );
52 mCharDisplayBaseItem->setToolTip( i18nc("@info:tooltip", "The base to use when converting characters to a value string.") );
54 mShowCharNumericalValueItem = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "ShowCharNumericalValue" ), mShowCharNumericalValue, true );
56 mShowCharNumericalValueItem->setToolTip( i18nc("@info:tooltip", "Whether to show the numerical value of chars") );
58 mLocaleAwareFloatFormattingItem = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "LocaleAwareFloatFormatting" ), mLocaleAwareFloatFormatting, false );
60 mLocaleAwareFloatFormattingItem->setToolTip( i18nc("@info:tooltip", "Whether to format floating point values according to the current locale") );
62 mShortTypeNamesItem = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "ShortTypeNames" ), mShortTypeNames, true );
64 mShortTypeNamesItem->setToolTip( i18nc("@info:tooltip", "Whether to use short type names (i.e. uint32 instead of unsigned int)") );
66 mLocaleAwareDecimalFormattingItem = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "LocaleAwareDecimalFormatting" ), mLocaleAwareDecimalFormatting, false );
68 mLocaleAwareDecimalFormattingItem->setToolTip( i18nc("@info:tooltip", "If true, integers being displayed in decimal format will be formatted according to the current locale settings") );
69 mLocaleAwareDecimalFormattingItem->setWhatsThis( i18n("Whether to format integer values according to the current locale") );
71 mFloatPrecisionItem = new KConfigSkeleton::ItemInt( currentGroup(), QLatin1String( "FloatPrecision" ), mFloatPrecision, 3 );
75 mFloatPrecisionItem->setToolTip( i18nc("@info:tooltip", "The precision used for converting floating-point numbers to strings (number of decimal digits)") );
93 mByteOrderItem = new KConfigSkeleton::ItemEnum( currentGroup(), QLatin1String( "ByteOrder" ), mByteOrder, valuesByteOrder, QSysInfo::LittleEndian );
96 mLoadedStructuresItem = new KConfigSkeleton::ItemStringList( currentGroup(), QLatin1String( "LoadedStructures" ), mLoadedStructures );
bool mLocaleAwareFloatFormatting
Definition: structviewpreferences.h:312
StructViewPreferences()
Definition: structviewpreferences.cpp:35
int mUnsignedDisplayBase
Definition: structviewpreferences.h:308
int mCharDisplayBase
Definition: structviewpreferences.h:310
bool mShowCharNumericalValue
Definition: structviewpreferences.h:311
int mFloatPrecision
Definition: structviewpreferences.h:315
bool mLocaleAwareDecimalFormatting
Definition: structviewpreferences.h:314
bool mShortTypeNames
Definition: structviewpreferences.h:313
QStringList mLoadedStructures
Definition: structviewpreferences.h:319
Definition: endianness.h:32
~StructViewPreferences()
Definition: structviewpreferences.cpp:101
int mSignedDisplayBase
Definition: structviewpreferences.h:309
Definition: bookmarkable.h:29
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:04:09 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:04:09 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.