Create a widget for managing existing users
This widget shows existing users and enables you to manage them.
- Create a panel for managing user accounts (EditUserWidget):
- In theProject viewpane, right-click theUIfolder and select .
- Hover-over the panel, select , and enterEditUserWidget.
- Right-clickEditUserWidgetand select .
- Set a dynamic link between theModelproperty of the list box and .For more information about dynamic links, see Create dynamic links.
- Create the UserDetails panel:
- Right-clickEditUserWidgetand select .
- Hover-over the panel, select , and enterUserDetails.
- Add three Labels by right-clickingUserDetailsand selecting .
- Rename the labels by hovering-over each label, selecting , and entering:
- NameLabel
- PasswordLabel
- LocaleLabel
- Select thePasswordLabeland in thePropertiespane, in theTextfield, enterPassword.
- Select theLocaleLabeland in thePropertiespane, in theTextfield, enterLocale.
- Right-clickUserDetailsand select .
- Hover-over the text box, select , and enterPasswordBox.
- In thePropertiespane, set theContent Typeproperty value toPasswordto obfuscate the text in the text box.
- Right-clickUserDetailsand select .
- Hover-over the combo box, select , and enterLocaleCombo.
- Add two buttons by right-clickingUserDetailsand selecting .
- Rename the buttons by hovering-over each button, selecting , and entering:
- CreateButton
- RemoveButton
- SelectCreateButtonand in thePropertiespane, in theTextfield, enterCreate User.
- SelectRemoveand in thePropertiespane, in theTextfield, enterRemove User.
- Add an alias node to theUserDetailspanel.
- In theProject viewpane, selectUserDetails.
- In thePropertiespane, at the top, select and selectAlias.
- Create a dynamic link between theAliasproperty and .For more information about dynamic links, see Create dynamic links.
- Create a dynamic link between theKindproperty and .For more information about dynamic links, see Create dynamic links.
- Configure the MainWindow settings.
- In theProject viewpane, right-clickMainWindow (type)and select .
- Create a dynamic link between thePanelproperty and .For more information about dynamic links, see Create dynamic links.
- Arrange the interface elements.
Fornire un feedback