QMLPatientListWidget Class Reference
Interface to display patient in a list.
More...
#include <UI/QMLPatientListWidget.h>
List of all members.
Public Member Functions |
| QMLPatientListWidget (QWidget *parent=0) |
Q_SLOT void | setPatientList (const QList< QString > &namesList) |
| Sets the list of patients to show.
|
Q_SLOT void | setPatient (const Patient *pPatient) |
| Sets the patient information to show.
|
Q_SIGNAL void | requestPatient (QString patientName) |
| Signal send when a patient is selected.
|
Q_SIGNAL void | selectOperation (QString operationName, QString operationDate) |
| Signal send when an operation is selected.
|
Protected Member Functions |
bool | updateQML () |
| This function is called by load() after the loading of the QML. Implementers should connect the slots and signals in it, and also send data to QML file (Note: basically, the sending of data to QML should be done before and this will cause showing some warnings, but it is working).
|
Detailed Description
Interface to display patient in a list.
Constructor & Destructor Documentation
QMLPatientListWidget::QMLPatientListWidget |
( |
QWidget * |
parent = 0 |
) |
|
Member Function Documentation
void QMLPatientListWidget::requestPatient |
( |
QString |
patientName |
) |
|
Signal send when a patient is selected.
- Parameters:
-
| patientName | the name of the patien selected |
void QMLPatientListWidget::selectOperation |
( |
QString |
operationName, |
|
|
QString |
operationDate | |
|
) |
| | |
Signal send when an operation is selected.
- Parameters:
-
| operationName | |
| operationDate | |
void QMLPatientListWidget::setPatient |
( |
const Patient * |
pPatient |
) |
|
Sets the patient information to show.
- Parameters:
-
void QMLPatientListWidget::setPatientList |
( |
const QList< QString > & |
namesList |
) |
|
Sets the list of patients to show.
- Parameters:
-
| namesList | the list of names |
The documentation for this class was generated from the following files: