fix #283 : Filename in tables in the debug panel are not correctly eroded.
- enhancement: Tooltip info for the stacktrace table in the debug panel.
This commit is contained in:
parent
d32e4e642d
commit
2a10d79315
|
@ -1465,6 +1465,7 @@ QVariant BacktraceModel::data(const QModelIndex &index, int role) const
|
|||
return QVariant();
|
||||
switch (role) {
|
||||
case Qt::DisplayRole:
|
||||
case Qt::ToolTipRole:
|
||||
switch (index.column()) {
|
||||
case 0:
|
||||
return trace->funcname;
|
||||
|
|
|
@ -205,10 +205,14 @@ MainWindow::MainWindow(QWidget *parent)
|
|||
m=ui->tblBreakpoints->selectionModel();
|
||||
ui->tblBreakpoints->setModel(mDebugger->breakpointModel().get());
|
||||
delete m;
|
||||
ui->tblBreakpoints->setTextElideMode(Qt::ElideRight);
|
||||
ui->tblBreakpoints->setWordWrap(false);
|
||||
|
||||
m=ui->tblStackTrace->selectionModel();
|
||||
ui->tblStackTrace->setModel(mDebugger->backtraceModel().get());
|
||||
delete m;
|
||||
ui->tblStackTrace->setTextElideMode(Qt::ElideRight);
|
||||
ui->tblStackTrace->setWordWrap(false);
|
||||
|
||||
m=ui->watchView->selectionModel();
|
||||
ui->watchView->setModel(mDebugger->watchModel().get());
|
||||
|
|
Loading…
Reference in New Issue