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 | ( | 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 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 GetPassword | ( |  | ) | const | 
      
 
Getter for the password. 
- Returns
- The password 
 
 
      
        
          | std::string GetUrl | ( |  | ) | const | 
      
 
 
      
        
          | std::string GetUsername | ( |  | ) | const | 
      
 
Getter for User name (of the basic auth REST service) 
- Returns
- User name 
 
 
Slot for the AcceptLogin event. 
 
 
The documentation for this class was generated from the following file: