17 #ifndef _MODELRIGHTMENU_HH_
18 #define _MODELRIGHTMENU_HH_
52 public:
void Run(
const std::string &_modelName,
const QPoint &_pt);
55 private slots:
void OnMoveTo();
58 private slots:
void OnFollow();
62 private slots:
void OnDelete(
const std::string &_name=
"");
76 private:
void OnRequest(ConstRequestPtr &_msg);
85 private: std::string modelName;
88 private: QAction *moveToAct;
91 private: QAction *followAct;
99 private: std::vector<ViewState*> viewStates;
122 const std::string &_checkRequest,
123 const std::string &_uncheckRequest);
144 public slots:
void Callback();
bool globalEnable
True if the view visualization is enabled globally.
Definition: ModelRightMenu.hh:132
boost::shared_ptr< Subscriber > SubscriberPtr
Definition: TransportTypes.hh:48
Generic description of a keyboard event.
Definition: KeyEvent.hh:31
Forward declarations for transport.
ModelRightMenu * parent
Pointer to the ModelRightMenu.
Definition: ModelRightMenu.hh:135
std::string uncheckRequest
Name of the request to send when unchecked.
Definition: ModelRightMenu.hh:141
std::string checkRequest
Name of the request to send when checked.
Definition: ModelRightMenu.hh:138
std::map< std::string, bool > modelStates
State of all the models for this view.
Definition: ModelRightMenu.hh:126
A class for managing view visualization states.
Definition: ModelRightMenu.hh:113
boost::shared_ptr< Node > NodePtr
Definition: TransportTypes.hh:52
GAZEBO_VISIBLE void Init(google::protobuf::Message &_message, const std::string &_id="")
Initialize a message.
#define GAZEBO_VISIBLE
Use to represent "symbol visible" if supported.
Definition: system.hh:48
QAction * action
Action for this view.
Definition: ModelRightMenu.hh:129