32 #ifndef CXDATASELECTWIDGET_H 33 #define CXDATASELECTWIDGET_H 35 #include "cxResourceWidgetsExport.h" 37 #include "boost/shared_ptr.hpp" 39 #include <QMouseEvent> 47 class EraseDataToolButton;
63 DataSelectWidget(ViewServicePtr viewService,
PatientModelServicePtr patientModelService, QWidget* parent, SelectDataStringPropertyBasePtr data, QGridLayout* gridLayout = NULL,
int row=0);
67 void toggleShowData();
68 void updateDataVisibility();
69 void viewGroupChangedSlot();
73 ViewGroupDataPtr getActiveViewGroupData();
74 SelectDataStringPropertyBasePtr mData;
75 ViewGroupDataPtr mCurrentViewGroupData;
76 QAction* mToggleShowAction;
78 ViewServicePtr mViewService;
102 void cancelRemovalSlot();
103 void setRemoveIcon();
104 void requestEraseData();
105 void mousePressEvent(QMouseEvent* e);
106 QAction* mRemoveAction;
111 #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.