NorMIT-nav  16.5
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 52 of file cxDataViewSelectionWidget.h.

Constructor & Destructor Documentation

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

Definition at line 56 of file cxDataViewSelectionWidget.cpp.

cx::DataListWidget::~DataListWidget ( )
virtual

Definition at line 88 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 91 of file cxDataViewSelectionWidget.cpp.

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

Definition at line 115 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 78 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 69 of file cxDataViewSelectionWidget.h.


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