QMLEditDataWidget Class Reference
Interface to edit patient data.
More...
#include <UI/QMLEditDataWidget.h>
List of all members.
Public Member Functions |
| QMLEditDataWidget (QWidget *parent=0) |
void | createPatient () |
| Creates a new Patient.
|
void | setPatient (Patient *pPatient) |
| Set the patient to view in the interface.
|
Q_SIGNAL void | newPatient (Patient *pPatient) |
| Signal send when a new patient is requested.
|
Q_SIGNAL void | patientChanged () |
| Signal send when the patient information are changed.
|
Q_SLOT void | setPatientName (QString name) |
| Changes the patient name.
|
Q_SLOT void | setPatientAge (QString age) |
| Changes the patient age.
|
Q_SLOT void | addOperation () |
| add a new operation to the patient
|
Q_SLOT void | setOperationName (QString oldOperationName, QString newOperationName) |
| Changes the operation name.
|
Q_SLOT void | setOperationDate (QString operationName, QString operationDate) |
| Changes the operation date.
|
Q_SLOT void | setOperationObservation (QString operationName, QString observation) |
| Changes the operation observation.
|
Q_SLOT void | createNewFile (QString category, QString folder) |
| Create a new file of category in folder
|
Q_SLOT void | setFileCategory (QString oldCategory, QString newCategory, QString folderName, QString fileName) |
| Changes the file category.
|
Q_SLOT void | setFileFolder (QString category, QString oldFolder, QString newFolder, QString fileName) |
| Changes the file folder.
|
Q_SLOT void | removeFile (QString category, QString folderName, QString fileName) |
| Removes a file.
|
Detailed Description
Interface to edit patient data.
Constructor & Destructor Documentation
QMLEditDataWidget::QMLEditDataWidget |
( |
QWidget * |
parent = 0 |
) |
|
Member Function Documentation
void QMLEditDataWidget::createNewFile |
( |
QString |
category, |
|
|
QString |
folder | |
|
) |
| | |
Create a new file of category in folder
- Parameters:
-
void QMLEditDataWidget::newPatient |
( |
Patient * |
pPatient |
) |
|
Signal send when a new patient is requested.
- Parameters:
-
void QMLEditDataWidget::removeFile |
( |
QString |
category, |
|
|
QString |
folderName, |
|
|
QString |
fileName | |
|
) |
| | |
Removes a file.
- Parameters:
-
| category | |
| folderName | |
| fileName | |
void QMLEditDataWidget::setFileCategory |
( |
QString |
oldCategory, |
|
|
QString |
newCategory, |
|
|
QString |
folderName, |
|
|
QString |
fileName | |
|
) |
| | |
Changes the file category.
- Parameters:
-
| oldCategory | |
| newCategory | |
| folderName | |
| fileName | |
void QMLEditDataWidget::setFileFolder |
( |
QString |
category, |
|
|
QString |
oldFolder, |
|
|
QString |
newFolder, |
|
|
QString |
fileName | |
|
) |
| | |
Changes the file folder.
- Parameters:
-
| category | |
| oldFolder | |
| newFolder | |
| fileName | |
void QMLEditDataWidget::setOperationDate |
( |
QString |
operationName, |
|
|
QString |
operationDate | |
|
) |
| | |
Changes the operation date.
- Parameters:
-
| operationName | |
| operationDate | |
void QMLEditDataWidget::setOperationName |
( |
QString |
oldOperationName, |
|
|
QString |
newOperationName | |
|
) |
| | |
Changes the operation name.
- Parameters:
-
| oldOperationName | |
| newOperationName | |
void QMLEditDataWidget::setOperationObservation |
( |
QString |
operationName, |
|
|
QString |
observation | |
|
) |
| | |
Changes the operation observation.
- Parameters:
-
| operationName | |
| observation | |
void QMLEditDataWidget::setPatient |
( |
Patient * |
pPatient |
) |
|
Set the patient to view in the interface.
- Parameters:
-
void QMLEditDataWidget::setPatientAge |
( |
QString |
age |
) |
|
Changes the patient age.
- Parameters:
-
void QMLEditDataWidget::setPatientName |
( |
QString |
name |
) |
|
Changes the patient name.
- Parameters:
-
The documentation for this class was generated from the following files: