Ignore:
Timestamp:
01/27/10 13:06:32 (12 years ago)
Author:
pavelpa <pavelpa@…>
Branches:
master, qt5
Children:
6123b48
Parents:
ce59092
Message:

refactored Event 'details' dialog

  • TODO: implement 'links' method(s) in Event and use it in the dialog
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gui/eventdialog.h

    rce59092 r1bcd66f  
    55#include "ui_eventdialog.h"
    66#include <event.h>
    7 
    8 class DetailsContainer : public QWidget
    9 {
    10 public:
    11     DetailsContainer(QWidget *aParent = NULL);
    12     void setPersons(const QStringList &aPersons);
    13     void setAbstract(const QString &aAbstract);
    14     void setDescription(const QString &aDescription);
    15 private:
    16     QBoxLayout *mMainLayout;
    17     QLabel mPersons;
    18     QLabel mAbstract;
    19     QLabel mDescription;
    20 };
    217
    228class EventDialog : public QDialog, Ui::EventDialog
     
    3319private:
    3420    int mEventId;
    35     DetailsContainer mDetails;
    3621};
    3722
Note: See TracChangeset for help on using the changeset viewer.