Provides a means to login to a webservice.
More...
#include <RestUiLoginDialog.hh>
Inherits QDialog.
|
void | AcceptLogin (QString &_url, QString &_username, QString &_password) |
| Emitted when the user presses the login button. More...
|
|
Provides a means to login to a webservice.
◆ RestUiLoginDialog()
RestUiLoginDialog |
( |
QWidget * |
_parent, |
|
|
const std::string & |
_title, |
|
|
const std::string & |
_urlLabel, |
|
|
const std::string & |
_defautlUrl |
|
) |
| |
Constructor.
- Parameters
-
[in] | _parent | Parent QWidget |
[in] | _title | The dialog window title bar text |
[in] | _url | Label the title of the url (ex: super webservice url) |
[in] | _defaultUrl | Url text for the url (ex: https://superweb.com) |
◆ AcceptLogin
void AcceptLogin |
( |
QString & |
_url, |
|
|
QString & |
_username, |
|
|
QString & |
_password |
|
) |
| |
|
signal |
Emitted when the user presses the login button.
- Parameters
-
[in] | _url | The web server url |
[in] | _username | The user name |
[in] | _password | The user password |
◆ GetPassword()
std::string GetPassword |
( |
| ) |
const |
Getter for the password.
- Returns
- The password
◆ GetUrl()
std::string GetUrl |
( |
| ) |
const |
◆ GetUsername()
std::string GetUsername |
( |
| ) |
const |
Getter for User name (of the basic auth REST service)
- Returns
- User name
◆ SlotAcceptLogin
Slot for the AcceptLogin event.
The documentation for this class was generated from the following file: