12 #ifndef CXDICOMWIDGET_H_ 13 #define CXDICOMWIDGET_H_ 15 #include "org_custusx_dicom_Export.h" 18 #include "boost/shared_ptr.hpp" 21 class ctkDICOMAppWidget;
22 class ctkPluginContext;
23 class ctkDICOMDatabase;
28 typedef boost::shared_ptr<class Image>
ImagePtr;
42 DicomWidget(ctkPluginContext* context, QWidget* parent = 0);
45 QString getDICOMDatabaseDirectory();
47 virtual void prePaintEvent();
48 ctkDICOMDatabase* getDatabase()
const;
52 void onImportIntoCustusXAction();
54 void toggleDetailsSlot();
57 virtual QSize sizeHint ()
const {
return QSize(600, 100);};
58 QVBoxLayout* mVerticalLayout;
60 ctkPluginContext* mContext;
61 QAction* mViewHeaderAction;
62 QAction* mImportIntoCustusXAction;
63 QAction* mDetailsAction;
64 QString mDicomShowAdvancedSettingsString;
66 void setupDatabaseDirectory();
67 void importSeries(QString seriesUid);
68 void loadIntoPatientModel(ImagePtr image, QString seriesUid);
69 QStringList currentSeriesSelection();
70 void showOrHideDetails();
boost::shared_ptr< class Image > ImagePtr
Namespace for all CustusX production code.