18 #ifndef _GAZEBO_RESTUI_WIDGET_HH_
19 #define _GAZEBO_RESTUI_WIDGET_HH_
54 const std::string &_menuTitle,
55 const std::string &_loginTitle,
56 const std::string &_urlLabel,
57 const std::string &_defautlUrl);
63 public slots:
void Login();
66 public slots:
void Logout();
70 public:
void Update();
74 private:
void OnResponse(ConstRestResponsePtr &_msg);
78 private:
void OnWindowMode(
const std::string &_mode);
81 private: QAction &loginMenuAction;
84 private: QAction &logoutMenuAction;
87 private: std::string title;
106 private: std::list<boost::shared_ptr<const gazebo::msgs::RestResponse>>
113 private: QLabel *loginLabel;
116 private:
unsigned int restID;
119 private: QAction *loginLabelAct;
123 private: QAction *spacerAct;
Provides a means to login to a webservice.
Definition: RestUiLoginDialog.hh:34
boost::shared_ptr< Publisher > PublisherPtr
Definition: TransportTypes.hh:49
boost::shared_ptr< Subscriber > SubscriberPtr
Definition: TransportTypes.hh:53
boost::shared_ptr< Node > NodePtr
Definition: TransportTypes.hh:57
#define GAZEBO_VISIBLE
Use to represent "symbol visible" if supported.
Definition: system.hh:59