okteta
#include <structtool.h>
Public Slots | |
void | addChildItem (TopLevelDataInformation *child) |
void | mark (const QModelIndex &idx) |
void | setByteOrder (int order) |
void | setSelectedStructuresInView () |
void | unmark () |
void | updateData (const Okteta::ArrayChangeMetricsList &list) |
void | validateAllStructures () |
Signals | |
KDE_DEPRECATED void | byteArrayModelChanged (bool modelIsValid) |
void | byteArrayModelChanged (Okteta::AbstractByteArrayModel *model) |
void | byteOrderChanged () |
void | childrenAboutToBeInserted (DataInformation *sender, uint startIndex, uint endIndex) |
void | childrenAboutToBeRemoved (DataInformation *sender, uint startIndex, uint endIndex) |
void | childrenInserted (const DataInformation *sender, uint startIndex, uint endIndex) |
void | childrenRemoved (const DataInformation *sender, uint startIndex, uint endIndex) |
void | cursorIndexChanged () |
void | dataChanged (int row, void *data) |
void | dataCleared () |
Signals inherited from Kasten2::AbstractTool | |
void | titleChanged (const QString &newTitle) |
Public Member Functions | |
StructTool () | |
virtual | ~StructTool () |
TopLevelDataInformation::List | allData () const |
Okteta::AbstractByteArrayModel * | byteArrayModel () const |
QSysInfo::Endian | byteOrder () const |
bool | canStructureBeLocked (const QModelIndex &idx) const |
DataInformation * | childAt (int idx) const |
int | childCount () const |
KDE_DEPRECATED int | columnCount () const |
QVariant | headerData (int column, int role) |
bool | isFileLoaded () const |
bool | isStructureLocked (const QModelIndex &idx) const |
void | lockStructure (const QModelIndex &idx) |
StructuresManager * | manager () const |
void | setByteOrder (QSysInfo::Endian order) |
bool | setData (const QVariant &value, int role, DataInformation *item, uint row) |
virtual void | setTargetModel (AbstractModel *model) |
virtual QString | title () const |
void | unlockStructure (const QModelIndex &idx) |
Public Member Functions inherited from Kasten2::AbstractTool | |
virtual | ~AbstractTool () |
Protected Slots | |
void | onByteOrderChanged () |
void | onChildItemDataChanged () |
void | onContentsChange (const Okteta::ArrayChangeMetricsList &) |
void | onCursorPositionChange (Okteta::Address pos) |
Protected Attributes | |
QScopedPointer< StructToolPrivate > | d |
Protected Attributes inherited from Kasten2::AbstractTool | |
Private *const | d |
Additional Inherited Members | |
Protected Member Functions inherited from Kasten2::AbstractTool | |
AbstractTool () | |
Detailed Description
Definition at line 49 of file structtool.h.
Constructor & Destructor Documentation
Kasten2::StructTool::StructTool | ( | ) |
Definition at line 72 of file structtool.cpp.
|
virtual |
Definition at line 89 of file structtool.cpp.
Member Function Documentation
|
slot |
Definition at line 244 of file structtool.cpp.
TopLevelDataInformation::List Kasten2::StructTool::allData | ( | ) | const |
Definition at line 446 of file structtool.cpp.
Okteta::AbstractByteArrayModel * Kasten2::StructTool::byteArrayModel | ( | ) | const |
Definition at line 431 of file structtool.cpp.
|
signal |
|
signal |
QSysInfo::Endian Kasten2::StructTool::byteOrder | ( | ) | const |
Definition at line 441 of file structtool.cpp.
|
signal |
bool Kasten2::StructTool::canStructureBeLocked | ( | const QModelIndex & | idx | ) | const |
check if there is any ByteArrayModel available to lock the structure
Definition at line 420 of file structtool.cpp.
DataInformation * Kasten2::StructTool::childAt | ( | int | idx | ) | const |
Definition at line 234 of file structtool.cpp.
int Kasten2::StructTool::childCount | ( | ) | const |
Definition at line 229 of file structtool.cpp.
|
signal |
items are inserted before startIndex
|
signal |
items are removed before startIndex
|
signal |
items are inserted before startIndex
|
signal |
items are inserted before startIndex
int Kasten2::StructTool::columnCount | ( | ) | const |
Definition at line 366 of file structtool.cpp.
|
signal |
|
signal |
|
signal |
QVariant Kasten2::StructTool::headerData | ( | int | column, |
int | role | ||
) |
Definition at line 210 of file structtool.cpp.
bool Kasten2::StructTool::isFileLoaded | ( | ) | const |
Definition at line 371 of file structtool.cpp.
bool Kasten2::StructTool::isStructureLocked | ( | const QModelIndex & | idx | ) | const |
Definition at line 406 of file structtool.cpp.
void Kasten2::StructTool::lockStructure | ( | const QModelIndex & | idx | ) |
Definition at line 376 of file structtool.cpp.
StructuresManager * Kasten2::StructTool::manager | ( | ) | const |
Definition at line 436 of file structtool.cpp.
|
slot |
Definition at line 331 of file structtool.cpp.
|
protectedslot |
Definition at line 84 of file structtool.cpp.
|
protectedslot |
Definition at line 426 of file structtool.cpp.
|
protectedslot |
Definition at line 156 of file structtool.cpp.
|
protectedslot |
Definition at line 134 of file structtool.cpp.
void Kasten2::StructTool::setByteOrder | ( | QSysInfo::Endian | order | ) |
Definition at line 93 of file structtool.cpp.
|
slot |
Definition at line 144 of file structtool.cpp.
bool Kasten2::StructTool::setData | ( | const QVariant & | value, |
int | role, | ||
DataInformation * | item, | ||
uint | row | ||
) |
Definition at line 166 of file structtool.cpp.
|
slot |
Definition at line 274 of file structtool.cpp.
|
virtual |
Implements Kasten2::AbstractTool.
Definition at line 109 of file structtool.cpp.
|
virtual |
Implements Kasten2::AbstractTool.
Definition at line 104 of file structtool.cpp.
void Kasten2::StructTool::unlockStructure | ( | const QModelIndex & | idx | ) |
Definition at line 389 of file structtool.cpp.
|
slot |
Definition at line 349 of file structtool.cpp.
|
slot |
Definition at line 189 of file structtool.cpp.
|
slot |
Definition at line 355 of file structtool.cpp.
Member Data Documentation
|
protected |
Definition at line 118 of file structtool.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:04:12 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.