Debugeger: A bit of polishing for the register window.

Pad all registers up to width of largest value. Pass on unpadded values
to the editor.
This commit is contained in:
Friedemann Kleint
2010-09-22 09:41:15 +02:00
parent 3b145f00fe
commit de39459be7
3 changed files with 54 additions and 22 deletions

View File

@@ -77,7 +77,7 @@ public:
{
QLineEdit *lineEdit = qobject_cast<QLineEdit *>(editor);
QTC_ASSERT(lineEdit, return);
lineEdit->setText(index.data(Qt::DisplayRole).toString());
lineEdit->setText(index.data(Qt::EditRole).toString());
}
void setModelData(QWidget *editor, QAbstractItemModel *model,