Provides a means to login to a webservice.
More...
#include <RestUiLoginDialog.hh>
|
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.
gazebo::gui::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) |
void gazebo::gui::RestUiLoginDialog::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 |
std::string gazebo::gui::RestUiLoginDialog::GetPassword |
( |
| ) |
const |
Getter for the password.
- Returns
- The password
std::string gazebo::gui::RestUiLoginDialog::GetUrl |
( |
| ) |
const |
std::string gazebo::gui::RestUiLoginDialog::GetUsername |
( |
| ) |
const |
Getter for User name (of the basic auth REST service)
- Returns
- User name
void gazebo::gui::RestUiLoginDialog::SlotAcceptLogin |
( |
| ) |
|
|
slot |
Slot for the AcceptLogin event.
The documentation for this class was generated from the following file: