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::ConnectionPtrconnections
 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]_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: