QMLEditMachinesWidget Class Reference

Interface to display and edit machines in a list. More...

#include <UI/QMLEditMachinesWidget.h>

Inheritance diagram for QMLEditMachinesWidget:
QMLWidget

List of all members.

Public Member Functions

 QMLEditMachinesWidget (QWidget *parent=0)
Q_SLOT void setMachineList (const QList< MachineData > &namesList)
 Set the list of machines.
Q_SIGNAL void addMachine (QString machineIP, QString machineName)
 Signal send when a machine is added.
Q_SIGNAL void deleteMachine (QString machineIP)
 Signal send when a machine should be removed.

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 and edit machines in a list.


Constructor & Destructor Documentation

QMLEditMachinesWidget::QMLEditMachinesWidget ( QWidget *  parent = 0  ) 
Parameters:
parent 

Member Function Documentation

void QMLEditMachinesWidget::addMachine ( QString  machineIP,
QString  machineName 
)

Signal send when a machine is added.

Parameters:
machineIP 
machineName 
void QMLEditMachinesWidget::deleteMachine ( QString  machineIP  ) 

Signal send when a machine should be removed.

Parameters:
machineIP 
void QMLEditMachinesWidget::setMachineList ( const QList< MachineData > &  namesList  ) 

Set the list of machines.

Parameters:
namesList 

The documentation for this class was generated from the following files:
 All Classes Functions Variables Enumerations Properties
Generated on Tue Sep 13 01:46:05 2011 for MedCenter by  doxygen 1.6.3