User Login Dialog

From Qt Wiki
Revision as of 18:01, 14 January 2015 by Maintenance script (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

An example of user login dialog

This code snippets shows how to implement a simple dialog window that allows the user to enter his username and password in order to make a login attempt. The dialog window will emit a signal in order to notify a listener for the login credentials. The login dialog can also presents a list of usernames to select one from.
The dialog also allows for the proposal of a specified username/password as it could be loaded from a settings or a configuration file.

Header file

Implementation

Usage example

Categories: