RestUiWidget Class Reference

REST user interface widget. More...

#include <RestUiWidget.hh>

Inherits QWidget.

Public Slots

void Login ()
 QT callback (from the window menu)
 
void Logout ()
 QT callback (from the window menu)
 

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.
 
virtual ~RestUiWidget ()=default
 Destructor.
 
void Update ()
 Called before rendering, from the GUI thread this is called from the plugin's update.
 

Public Attributes

std::vector< event::ConnectionPtrconnections
 Event based connections.
 

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]_parentParent widget.
[in]_menuTitleMenu title.
[in]_loginTitleLogin title.
[in]_urlLabelUrl label.
[in]_defaultUrlDefault url.

◆ ~RestUiWidget()

virtual ~RestUiWidget ( )
virtualdefault

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: