debugger: allow short stack to be expanded by a context menu item or

double click on the "<...>" line
This commit is contained in:
hjk
2009-04-06 17:27:15 +02:00
parent 4567752529
commit 9318459b47
11 changed files with 50 additions and 40 deletions

View File

@@ -64,7 +64,7 @@ class StackHandler : public QAbstractTableModel
public:
StackHandler(QObject *parent = 0);
void setFrames(const QList<StackFrame> &frames);
void setFrames(const QList<StackFrame> &frames, bool canExpand = false);
QList<StackFrame> frames() const;
void setCurrentIndex(int index);
int currentIndex() const { return m_currentIndex; }
@@ -88,6 +88,7 @@ private:
int m_currentIndex;
QIcon m_positionIcon;
QIcon m_emptyIcon;
bool m_canExpand;
};