QMLEditUsersWidget Class Reference
Interface to display and edit user informations.
More...
#include <UI/QMLEditUsersWidget.h>
List of all members.
Public Member Functions |
| QMLEditUsersWidget (QWidget *parent=0) |
Q_SLOT void | setUsersList (const QList< User > &namesList) |
| Sets the user list.
|
Q_SIGNAL void | userNew (QString name, QString password, QString category) |
| Signal send when a new user is requested.
|
Q_SIGNAL void | deleteUser (QString userName) |
| Signal send when a user must be deleted.
|
Q_SIGNAL void | userNameChanged (QString oldName, QString newName) |
| Signal send when a user name changed.
|
Q_SIGNAL void | userCategoryChanged (QString name, QString newCategory) |
| Signal send when a category of a user changed.
|
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 user informations.
Constructor & Destructor Documentation
QMLEditUsersWidget::QMLEditUsersWidget |
( |
QWidget * |
parent = 0 |
) |
|
Member Function Documentation
void QMLEditUsersWidget::deleteUser |
( |
QString |
userName |
) |
|
Signal send when a user must be deleted.
- Parameters:
-
void QMLEditUsersWidget::setUsersList |
( |
const QList< User > & |
namesList |
) |
|
Sets the user list.
- Parameters:
-
void QMLEditUsersWidget::userCategoryChanged |
( |
QString |
name, |
|
|
QString |
newCategory | |
|
) |
| | |
Signal send when a category of a user changed.
- Parameters:
-
void QMLEditUsersWidget::userNameChanged |
( |
QString |
oldName, |
|
|
QString |
newName | |
|
) |
| | |
Signal send when a user name changed.
- Parameters:
-
void QMLEditUsersWidget::userNew |
( |
QString |
name, |
|
|
QString |
password, |
|
|
QString |
category | |
|
) |
| | |
Signal send when a new user is requested.
- Parameters:
-
The documentation for this class was generated from the following files: