#include "tab_actor_info.h"
#include "ui_tab_actor_info.h"
#include "src/activitypub/apactor.h"
#include "src/archive/base_archive.h"
#include
%1
").arg(tr("Failed to display Actor"))); ui->avatarImage->setText(""); return; } ui->displayNameText->setText(ui->displayNameText->text().arg(actor->name).arg(actor->username)); ui->summaryText->setHtml(actor->summary); ui->avatarImage->setPixmap(actor->avatar->get_pixmap(ui->avatarImage->size().width())); // TODO: set header as top of background of widget // Affiche le nom et la description fonctionne sans problèmes int row = 0; for (APPropertyValue prop : actor->table) { ui->attachments->insertRow(row); ui->attachments->setItem(row, 0, new QTableWidgetItem(prop.key)); ui->attachments->setItem(row++, 1, new QTableWidgetItem(prop.value)); } }