28 Jun 2015 This code snippets shows how to implement a simple dialog window that allows the user to enter his username and password in The login dialog can also presents a list of usernames to select one from. . Usage example..