summaryrefslogtreecommitdiff
path: root/client/pcpviewer/pcpviewer.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2011-11-03 10:40:04 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2011-11-03 10:40:04 +0100
commit82a2317dd87c0011717c0c29d3d171bb5ee81242 (patch)
treedd07e87d78d42b481c9fc1c98f7cbcc56a36fa15 /client/pcpviewer/pcpviewer.h
parentacd0142e59047524302352e69332293655e6032c (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.h12
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__*/