diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2011-11-03 10:40:04 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2011-11-03 10:40:04 +0100 |
commit | 82a2317dd87c0011717c0c29d3d171bb5ee81242 (patch) | |
tree | dd07e87d78d42b481c9fc1c98f7cbcc56a36fa15 /client/pcpviewer/pcpviewer.h | |
parent | acd0142e59047524302352e69332293655e6032c (diff) |
Initial version of complete pcpraxis viewer, with patient info, journal view and docmenu.
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__*/ |