##

RestUiWidget Class Reference

REST user interface widget. More...

`#include <RestUiWidget.hh>`

Inherits QWidget.

## Public Slots

void | Login ()
| QT callback (from the window menu) More...
void | Logout ()
| QT callback (from the window menu) More...

## Public Member Functions

| RestUiWidget (QWidget *_parent, QAction &_login, QAction &_logout, const std::string &_menuTitle, const std::string &_loginTitle, const std::string &_urlLabel, const std::string &_defautlUrl)
| Constructor. More...
virtual | ~RestUiWidget ()=default
| Destructor. More...
void | Update ()
| Called before rendering, from the GUI thread this is called from the plugin's update. More...

## Public Attributes

std::vector< event::ConnectionPtr > | connections
| Event based connections. More...

## Detailed Description

REST user interface widget.

## Constructor & Destructor Documentation

## RestUiWidget()

RestUiWidget | ( | QWidget * | _parent,
|  | QAction & | _login,
|  | QAction & | _logout,
|  | const std::string & | _menuTitle,
|  | const std::string & | _loginTitle,
|  | const std::string & | _urlLabel,
|  | const std::string & | _defautlUrl
| ) |  |

Constructor.

Parameters

  [in] | _parent | Parent widget.
  [in] | _menuTitle | Menu title.
  [in] | _loginTitle | Login title.
  [in] | _urlLabel | Url label.
  [in] | _defaultUrl | Default url.

## ~RestUiWidget()

virtual ~RestUiWidget | ( |  | ) |

virtual default

Destructor.

## Member Function Documentation

## Login

void Login | ( |  | ) |

slot

QT callback (from the window menu)

## Logout

void Logout | ( |  | ) |

slot

QT callback (from the window menu)

## Update()

void Update | ( |  | ) |

Called before rendering, from the GUI thread this is called from the plugin's update.

## Member Data Documentation

## connections

std::vector<event::ConnectionPtr> connections

Event based connections.

The documentation for this class was generated from the following file:

- RestUiWidget.hh