qt5
Last change
on this file since 183eecd was
183eecd,
checked in by pavelpa <pavelpa@…>, 13 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 | |
---|
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 | }; |
---|
21 | |
---|
22 | |
---|
23 | class EventDialog : public QDialog, Ui::EventDialog |
---|
24 | { |
---|
25 | public: |
---|
26 | EventDialog(const int &aEventId, QWidget *aParent = NULL); |
---|
27 | ~EventDialog() {} |
---|
28 | private: |
---|
29 | int mEventId; |
---|
30 | DetailsContainer mDetails; |
---|
31 | }; |
---|
32 | |
---|
33 | #endif /* EVENTDIALOG_H */ |
---|
34 | |
---|
Note: See
TracBrowser
for help on using the repository browser.