Add compiler information to dashboard (#1385)

This commit is contained in:
Romeu Gomes 2019-03-24 14:48:15 +00:00 committed by xarkes
parent 5a19433b78
commit 86b0b56f4a
2 changed files with 25 additions and 1 deletions

View File

@ -53,6 +53,7 @@ void Dashboard::updateContents()
this->ui->subsysEdit->setText(item2["subsys"].toString()); this->ui->subsysEdit->setText(item2["subsys"].toString());
this->ui->endianEdit->setText(item2["endian"].toString()); this->ui->endianEdit->setText(item2["endian"].toString());
this->ui->compiledEdit->setText(item2["compiled"].toString()); this->ui->compiledEdit->setText(item2["compiled"].toString());
this->ui->compilerEdit->setText(item2["compiler"].toString());
this->ui->bitsEdit->setText(QString::number(item2["bits"].toDouble())); this->ui->bitsEdit->setText(QString::number(item2["bits"].toDouble()));
if (!item2["relro"].isUndefined()) { if (!item2["relro"].isUndefined()) {

View File

@ -56,7 +56,7 @@
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>1055</width> <width>1055</width>
<height>979</height> <height>982</height>
</rect> </rect>
</property> </property>
<layout class="QHBoxLayout" name="horizontalLayout_5"> <layout class="QHBoxLayout" name="horizontalLayout_5">
@ -839,6 +839,29 @@
</property> </property>
</widget> </widget>
</item> </item>
<item row="9" column="0">
<widget class="QLabel" name="label_5">
<property name="font">
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>Compiler:</string>
</property>
</widget>
</item>
<item row="9" column="1">
<widget class="QLineEdit" name="compilerEdit">
<property name="text">
<string>--</string>
</property>
<property name="frame">
<bool>false</bool>
</property>
</widget>
</item>
</layout> </layout>
</item> </item>
</layout> </layout>