diff options
author | Lars Bisballe Jensen <larsbisballe@gmail.com> | 2011-11-03 11:34:04 +0100 |
---|---|---|
committer | Lars Bisballe Jensen <larsbisballe@gmail.com> | 2011-11-03 11:34:04 +0100 |
commit | fa13e95b495e49316524c27f6045c1c3cd2547ca (patch) | |
tree | 60c35916947217ff43049e5a6efed8a2c033bf66 /client/pcpviewer/pcpviewer.h | |
parent | 592211cbd4b710caf8934e2806e259415087f69d (diff) | |
parent | 140d002d641d22d2dc9e9a1e7c234b747c979a16 (diff) |
Merge branch 'master' of http://git.aasimon.org/public/pracro
Diffstat (limited to 'client/pcpviewer/pcpviewer.h')
-rw-r--r-- | client/pcpviewer/pcpviewer.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/client/pcpviewer/pcpviewer.h b/client/pcpviewer/pcpviewer.h index 35459a1..81a97bf 100644 --- a/client/pcpviewer/pcpviewer.h +++ b/client/pcpviewer/pcpviewer.h @@ -30,6 +30,9 @@ #include <QWidget> +#include <QSplitter> +#include <QCloseEvent> + #include "praxisd.h" class PCPViewer : public QWidget { @@ -37,13 +40,20 @@ Q_OBJECT public: PCPViewer(QString patientid); +protected: + void closeEvent(QCloseEvent *event); + public slots: void networkError(QString text); - void gotDokMenu(DokMenuVector d); + void open(QString name); + void gotDokMenuFile(QByteArray data, QString mimetype); private: + void init(); + Praxisd praxisd; QString patientid; + QSplitter *split; }; #endif/*__PRACRO_PCPVIEWER_H__*/ |