source: src/gui/eventdialog.cpp @ 46a5aba

qt5
Last change on this file since 46a5aba was 707cd31, checked in by pavelpa <pavelpa@…>, 13 years ago

implemented 'Event' dialog to display relevant
'Event's info

  • Property mode set to 100644
File size: 419 bytes
Line 
1#include "eventdialog.h"
2
3EventDialog::EventDialog(const QModelIndex &aIndex, QWidget *aParent)
4    : QDialog(aParent)
5    , mIndex(aIndex)
6{
7    setupUi(this);
8    Event *event = static_cast<Event *>(mIndex.internalPointer());
9    title->setText(event->title());
10    persons->setText(QString::number(event->id()));
11    abstract->setPlainText(event->abstract());
12    description->setPlainText(event->description());
13}
14
Note: See TracBrowser for help on using the repository browser.