|
void | on_pb_addScript_clicked () |
|
void | on_pb_removeScript_clicked () |
|
void | on_pb_downScript_clicked () |
|
void | on_pb_upScript_clicked () |
|
void | on_cmdUseWindowsUser_clicked () |
|
|
| DialogUserManagementEdit (const QString &filename, UserModel *userModel, QWidget *parent=nullptr, Qt::WindowFlags f=Qt::WindowFlags(), bool isStandardUser=false) |
|
|
Ui::userManagementEdit | ui |
|
|
QString | clearName (const QString &name) |
|
|
void | on_buttonBox_clicked (QAbstractButton *btn) |
|
void | on_lv_startUpScripts_currentRowChanged (int row) |
|
void | on_lineEdit_name_textChanged (const QString &text) |
|
void | on_cmdAutoID_toggled (bool checked) |
|
|
void | updateScriptButtons () |
|
void | enableWidgetsByUserRole (const UserRole currentUserRole, const UserFeatures ¤tFeatures, const UserRole userRole, const UserFeatures &features) |
| sets the enabled and check state of many controls depending on the rights of the currently logged user and the user to be edited.
|
|
bool | saveUser () |
|
|
UserModel * | m_userModel |
|
QString | m_fileName |
|
QByteArray | m_oldPassword |
|
QString | m_osUser |
|
bool | m_showsStandardUser |
|
◆ enableWidgetsByUserRole()
void ito::DialogUserManagementEdit::enableWidgetsByUserRole |
( |
const UserRole | currentUserRole, |
|
|
const UserFeatures & | currentFeatures, |
|
|
const UserRole | userRole, |
|
|
const UserFeatures & | features ) |
|
private |
sets the enabled and check state of many controls depending on the rights of the currently logged user and the user to be edited.
If the current user has admin privileges, he has the right to edit all controls. If he is a developer, he can only switch the user level of the user to be edited to basic or developer. If he is a basic user, only basic can be chosen for the current user.
- Parameters
-
currentUserRole | is the user role of the currently logged-in user |
currentFeatures | is the active feature set of the currently logged-in user |
userRole | is the user role of the user, that is edited |
features | is the current feature set of the user, that is edited. |
The documentation for this class was generated from the following files:
- C:/Workspace/itom_development_VS2019_Qt5.15.2_x64/itomProject/itom/Qitom/widgets/userManagementEdit.h
- C:/Workspace/itom_development_VS2019_Qt5.15.2_x64/itomProject/itom/Qitom/widgets/userManagementEdit.cpp