1 #include "eventdialog.h"
5 EventDialog::EventDialog(const QModelIndex &aIndex, QWidget *aParent)
11 abstract->setStyleSheet("background-color : transparent;");
12 description->setStyleSheet("background-color : transparent;");
14 Event *event = static_cast<Event *>(mIndex.internalPointer());
15 title->setText(event->title());
16 persons->setText(event->persons().join(" and "));
17 abstract->setPlainText(event->abstract());
18 description->setPlainText(event->description());