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 virtual QSize sizeHint ()
const {
return QSize(600, 100);};
78 QVBoxLayout* mVerticalLayout;
80 ctkPluginContext* mContext;
81 QAction* mViewHeaderAction;
82 QAction* mImportIntoCustusXAction;
84 void setupDatabaseDirectory();
85 void importSeries(QString seriesUid);
86 void loadIntoPatientModel(
ImagePtr image, QString seriesUid);
87 QStringList currentSeriesSelection();
boost::shared_ptr< class Image > ImagePtr