]> ToastFreeware Gitweb - toast/confclerk.git/blobdiff - src/gui/eventdialog.cpp
event-dialog - displayed persons/presenters names
[toast/confclerk.git] / src / gui / eventdialog.cpp
index 8dd8f79ebddbb52e4a4aa7226568e38aff9742ff..dbd277da8eaac5633c32d857d298dcb1379ca053 100644 (file)
@@ -1,13 +1,19 @@
 #include "eventdialog.h"
 
+#include <QDebug>
+
 EventDialog::EventDialog(const QModelIndex &aIndex, QWidget *aParent)
     : QDialog(aParent)
     , mIndex(aIndex)
 {
     setupUi(this);
+
+    abstract->setStyleSheet("background-color : transparent;");
+    description->setStyleSheet("background-color : transparent;");
+
     Event *event = static_cast<Event *>(mIndex.internalPointer());
     title->setText(event->title());
-    persons->setText(QString::number(event->id()));
+    persons->setText(event->persons().join(" and "));
     abstract->setPlainText(event->abstract());
     description->setPlainText(event->description());
 }