33 #ifndef CXDICOMWIDGET_H_
34 #define CXDICOMWIDGET_H_
36 #include "org_custusx_dicom_Export.h"
39 #include "boost/shared_ptr.hpp"
42 class ctkDICOMAppWidget;
43 class ctkPluginContext;
44 class ctkDICOMDatabase;
49 typedef boost::shared_ptr<class Image>
ImagePtr;
63 DicomWidget(ctkPluginContext* context, QWidget* parent = 0);
66 QString getDICOMDatabaseDirectory();
68 virtual void prePaintEvent();
69 ctkDICOMDatabase* getDatabase()
const;
73 void onImportIntoCustusXAction();
77 QVBoxLayout* mVerticalLayout;
79 ctkPluginContext* mContext;
80 QAction* mViewHeaderAction;
81 QAction* mImportIntoCustusXAction;
83 void setupDatabaseDirectory();
84 void importSeries(QString seriesUid);
85 void loadIntoPatientModel(
ImagePtr image, QString seriesUid);
86 QStringList currentSeriesSelection();
boost::shared_ptr< class Image > ImagePtr