source: src/gui/eventdialog.h @ 9859cac

qt5
Last change on this file since 9859cac was 183eecd, checked in by pavelpa <pavelpa@…>, 12 years ago

GUI work on Event Details dialog

  • Property mode set to 100644
File size: 710 bytes
Line 
1#ifndef EVENTDIALOG_H
2#define EVENTDIALOG_H
3
4#include <QDialog>
5#include "ui_eventdialog.h"
6#include <event.h>
7
8class DetailsContainer : public QWidget
9{
10public:
11    DetailsContainer(QWidget *aParent = NULL);
12    void setPersons(const QStringList &aPersons);
13    void setAbstract(const QString &aAbstract);
14    void setDescription(const QString &aDescription);
15private:
16    QBoxLayout *mMainLayout;
17    QLabel mPersons;
18    QLabel mAbstract;
19    QLabel mDescription;
20};
21
22
23class EventDialog : public QDialog, Ui::EventDialog
24{
25public:
26    EventDialog(const int &aEventId, QWidget *aParent = NULL);
27    ~EventDialog() {}
28private:
29    int mEventId;
30    DetailsContainer mDetails;
31};
32
33#endif /* EVENTDIALOG_H */
34
Note: See TracBrowser for help on using the repository browser.