CustusX  2023.01.05-dev+develop.0da12
An IGT application
cx::DataListWidget Class Reference

#include <cxDataViewSelectionWidget.h>

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

Signals

void userChangedList ()
 emitted whenever the user changes the list More...
 
void listSizeChanged ()
 emitted whenever the count changes More...
 

Public Member Functions

 DataListWidget (PatientModelServicePtr patientModelService, QWidget *parent=NULL)
 
virtual ~DataListWidget ()
 
virtual QSize sizeHint () const
 

Protected Member Functions

void populate (QStringList dataUids)
 
void populateData (QString uid, bool indent=false, QListWidgetItem *after=NULL)
 

Protected Attributes

PatientModelServicePtr mPatientModelService
 

Detailed Description

Base class for displaying Data items.

Definition at line 31 of file cxDataViewSelectionWidget.h.

Constructor & Destructor Documentation

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

Definition at line 34 of file cxDataViewSelectionWidget.cpp.

cx::DataListWidget::~DataListWidget ( )
virtual

Definition at line 66 of file cxDataViewSelectionWidget.cpp.

Member Function Documentation

void cx::DataListWidget::listSizeChanged ( )
signal

emitted whenever the count changes

void cx::DataListWidget::populate ( QStringList  dataUids)
protected

Definition at line 69 of file cxDataViewSelectionWidget.cpp.

void cx::DataListWidget::populateData ( QString  uid,
bool  indent = false,
QListWidgetItem *  after = NULL 
)
protected

Definition at line 93 of file cxDataViewSelectionWidget.cpp.

QSize cx::DataListWidget::sizeHint ( ) const
virtual

Only way to downsize the QListWidget, in conjunction with this->setSizePolicy(QSizePolicy::Expanding, this->sizePolicy().verticalPolicy())

Setting minimumSize did not work, for unknown reason.

Definition at line 56 of file cxDataViewSelectionWidget.cpp.

void cx::DataListWidget::userChangedList ( )
signal

emitted whenever the user changes the list

Member Data Documentation

PatientModelServicePtr cx::DataListWidget::mPatientModelService
protected

Definition at line 48 of file cxDataViewSelectionWidget.h.


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