CustusX  22.04-rc5
An IGT application
cx::SelectedDataListWidget Class Reference

#include <cxDataViewSelectionWidget.h>

Inheritance diagram for cx::SelectedDataListWidget:
cx::DataListWidget

Public Slots

void populateList ()
 
void userChangedListSlot ()
 

Public Member Functions

 SelectedDataListWidget (PatientModelServicePtr patientModelService, QWidget *parent=NULL)
 
virtual ~SelectedDataListWidget ()
 
void setViewGroupData (ViewGroupDataPtr viewGroupData)
 
virtual void dropEvent (QDropEvent *event)
 
QStringList getData ()
 get absolute file path to all tools currently in the list More...
 
- Public Member Functions inherited from cx::DataListWidget
 DataListWidget (PatientModelServicePtr patientModelService, QWidget *parent=NULL)
 
virtual ~DataListWidget ()
 
virtual QSize sizeHint () const
 

Protected Member Functions

QMap< int, QVariant > convertFromCustomQtMimeFormat (const QMimeData *mimeData) const
 
- Protected Member Functions inherited from cx::DataListWidget
void populate (QStringList dataUids)
 
void populateData (QString uid, bool indent=false, QListWidgetItem *after=NULL)
 

Additional Inherited Members

- Signals inherited from cx::DataListWidget
void userChangedList ()
 emitted whenever the user changes the list More...
 
void listSizeChanged ()
 emitted whenever the count changes More...
 
- Protected Attributes inherited from cx::DataListWidget
PatientModelServicePtr mPatientModelService
 

Detailed Description

Definition at line 77 of file cxDataViewSelectionWidget.h.

Constructor & Destructor Documentation

cx::SelectedDataListWidget::SelectedDataListWidget ( PatientModelServicePtr  patientModelService,
QWidget *  parent = NULL 
)

Definition at line 185 of file cxDataViewSelectionWidget.cpp.

cx::SelectedDataListWidget::~SelectedDataListWidget ( )
virtual

Definition at line 201 of file cxDataViewSelectionWidget.cpp.

Member Function Documentation

QMap< int, QVariant > cx::SelectedDataListWidget::convertFromCustomQtMimeFormat ( const QMimeData *  mimeData) const
protected

convert from the internal qt mime format used in the convenience views (QListWidget etc) to a QMap with one entry for each QListItem::data() entry.

Definition at line 237 of file cxDataViewSelectionWidget.cpp.

void cx::SelectedDataListWidget::dropEvent ( QDropEvent *  event)
virtual

Definition at line 260 of file cxDataViewSelectionWidget.cpp.

QStringList cx::SelectedDataListWidget::getData ( )

get absolute file path to all tools currently in the list

Definition at line 312 of file cxDataViewSelectionWidget.cpp.

void cx::SelectedDataListWidget::populateList ( )
slot

Definition at line 363 of file cxDataViewSelectionWidget.cpp.

void cx::SelectedDataListWidget::setViewGroupData ( ViewGroupDataPtr  viewGroupData)

Definition at line 378 of file cxDataViewSelectionWidget.cpp.

void cx::SelectedDataListWidget::userChangedListSlot ( )
slot

Definition at line 206 of file cxDataViewSelectionWidget.cpp.


The documentation for this class was generated from the following files: