Ignore:
Timestamp:
01/19/10 20:44:23 (12 years ago)
Author:
pavelpa <pavelpa@…>
Branches:
master, qt5
Children:
9208bdb
Parents:
c53a3f4
Message:

event-dialog - displayed persons/presenters names

  • implemented Event::persons() method to get persons names associated with the given event ID
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gui/eventdialog.cpp

    rc53a3f4 r395d6d3  
    11#include "eventdialog.h"
     2
     3#include <QDebug>
    24
    35EventDialog::EventDialog(const QModelIndex &aIndex, QWidget *aParent)
     
    68{
    79    setupUi(this);
     10
     11    abstract->setStyleSheet("background-color : transparent;");
     12    description->setStyleSheet("background-color : transparent;");
     13
    814    Event *event = static_cast<Event *>(mIndex.internalPointer());
    915    title->setText(event->title());
    10     persons->setText(QString::number(event->id()));
     16    persons->setText(event->persons().join(" and "));
    1117    abstract->setPlainText(event->abstract());
    1218    description->setPlainText(event->description());
Note: See TracChangeset for help on using the changeset viewer.