]> ToastFreeware Gitweb - toast/confclerk.git/blobdiff - src/gui/eventdialog.h
GUI work on Event Details dialog
[toast/confclerk.git] / src / gui / eventdialog.h
index e8aaab24b4db03d37d1b7c91db8217deff242288..0616fda18d47c899403f8b4bc91b2697aea206f8 100644 (file)
@@ -5,6 +5,21 @@
 #include "ui_eventdialog.h"
 #include <event.h>
 
+class DetailsContainer : public QWidget
+{
+public:
+    DetailsContainer(QWidget *aParent = NULL);
+    void setPersons(const QStringList &aPersons);
+    void setAbstract(const QString &aAbstract);
+    void setDescription(const QString &aDescription);
+private:
+    QBoxLayout *mMainLayout;
+    QLabel mPersons;
+    QLabel mAbstract;
+    QLabel mDescription;
+};
+
+
 class EventDialog : public QDialog, Ui::EventDialog
 { 
 public:
@@ -12,6 +27,7 @@ public:
     ~EventDialog() {}
 private:
     int mEventId;
+    DetailsContainer mDetails;
 };
 
 #endif /* EVENTDIALOG_H */