18#ifndef GAZEBO_PLUGINS_REST_WEB_RESTUILOGINDIALOG_HH_
19#define GAZEBO_PLUGINS_REST_WEB_RESTUILOGINDIALOG_HH_
44 const std::string &_title,
45 const std::string &_urlLabel,
46 const std::string &_defautlUrl);
73 private: QLabel *labelUrl;
76 private: QLabel *labelUsername;
79 private: QLabel *labelPassword;
82 private: QLineEdit *editUrl;
85 private: QLineEdit *editUsername;
88 private: QLineEdit *editPassword;
91 private: QLabel *labelInfo;
94 private: QDialogButtonBox *buttons;
97 private: std::string username;
100 private: std::string password;
103 private: std::string url;
gui
Definition KeyEventHandler.hh:29
Provides a means to login to a webservice.
Definition RestUiLoginDialog.hh:35
void AcceptLogin(QString &_url, QString &_username, QString &_password)
Emitted when the user presses the login button.
std::string GetUrl() const
Getter for the Url.
RestUiLoginDialog(QWidget *_parent, const std::string &_title, const std::string &_urlLabel, const std::string &_defautlUrl)
Constructor.
std::string GetPassword() const
Getter for the password.
void SlotAcceptLogin()
Slot for the AcceptLogin event.
std::string GetUsername() const
Getter for User name (of the basic auth REST service)
Forward declarations for the common classes.
Definition Animation.hh:27