SnapshotHandler::SnapshotHandler(QObject *parent) : QAbstractTableModel(parent), m_positionIcon(QIcon(":/debugger/images/location_16.png")), m_emptyIcon(QIcon(":/debugger/images/debugger_empty_14.png")) { m_currentIndex = 0; connect(theDebuggerAction(OperateByInstruction), SIGNAL(triggered()), this, SLOT(resetModel())); }
StackHandler::StackHandler(QObject *parent) : QAbstractTableModel(parent), m_positionIcon(QIcon(":/debugger/images/location.svg")), m_emptyIcon(QIcon(":/debugger/images/empty.svg")) { m_currentIndex = 0; m_canExpand = false; connect(theDebuggerAction(OperateByInstruction), SIGNAL(triggered()), this, SLOT(resetModel())); }