QMLEditMachinesWidget Class Reference
Interface to display and edit machines in a list.
More...
#include <UI/QMLEditMachinesWidget.h>
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 |
) |
|
Member Function Documentation
void QMLEditMachinesWidget::addMachine |
( |
QString |
machineIP, |
|
|
QString |
machineName | |
|
) |
| | |
Signal send when a machine is added.
- Parameters:
-
void QMLEditMachinesWidget::deleteMachine |
( |
QString |
machineIP |
) |
|
Signal send when a machine should be removed.
- Parameters:
-
void QMLEditMachinesWidget::setMachineList |
( |
const QList< MachineData > & |
namesList |
) |
|
Set the list of machines.
- Parameters:
-
The documentation for this class was generated from the following files: