11 #ifndef CXDATASELECTWIDGET_H 12 #define CXDATASELECTWIDGET_H 14 #include "cxResourceWidgetsExport.h" 16 #include "boost/shared_ptr.hpp" 18 #include <QMouseEvent> 26 class EraseDataToolButton;
42 DataSelectWidget(ViewServicePtr viewService,
PatientModelServicePtr patientModelService, QWidget* parent, SelectDataStringPropertyBasePtr data, QGridLayout* gridLayout = NULL,
int row=0);
46 void toggleShowData();
47 void updateDataVisibility();
48 void viewGroupChangedSlot();
52 ViewGroupDataPtr getActiveViewGroupData();
53 SelectDataStringPropertyBasePtr mData;
54 ViewGroupDataPtr mCurrentViewGroupData;
55 QAction* mToggleShowAction;
57 ViewServicePtr mViewService;
81 void cancelRemovalSlot();
83 void requestEraseData();
84 void mousePressEvent(QMouseEvent* e);
85 QAction* mRemoveAction;
90 #endif // CXDATASELECTWIDGET_H boost::shared_ptr< class ViewGroupData > ViewGroupDataPtr
boost::shared_ptr< class SelectDataStringPropertyBase > SelectDataStringPropertyBasePtr
boost::shared_ptr< class PatientModelService > PatientModelServicePtr
Namespace for all CustusX production code.