forked from qt-creator/qt-creator
debugger: use enum for formats instead of magic numbers
This commit is contained in:
@@ -146,6 +146,20 @@ enum WatchRoles
|
||||
IndividualFormatRole
|
||||
};
|
||||
|
||||
enum IntegerFormat
|
||||
{
|
||||
DecimalFormat = 0, // keep that at 0 as default
|
||||
HexadecimalFormat,
|
||||
BinaryFormat,
|
||||
OctalFormat,
|
||||
};
|
||||
|
||||
enum DumpableFormat
|
||||
{
|
||||
PrettyFormat = 0, // keep that at 0 as default
|
||||
PlainFomat,
|
||||
};
|
||||
|
||||
class WatchModel : public QAbstractItemModel
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
Reference in New Issue
Block a user