17 #ifndef _MODELRIGHTMENU_HH_
18 #define _MODELRIGHTMENU_HH_
70 public:
void Run(
const std::string &_entityName,
const QPoint &_pt,
71 EntityTypes _type = MODEL);
74 private slots:
void OnMoveTo();
77 private slots:
void OnFollow();
80 private slots:
void OnEdit();
83 private slots:
void OnApplyWrench();
87 private slots:
void OnDelete(
const std::string &_name=
"");
99 private:
void OnRequest(ConstRequestPtr &_msg);
103 private:
void OnWindowMode(
const std::string &_mode);
112 private: std::string entityName;
115 private: QAction *moveToAct;
118 private: QAction *followAct;
121 private: QAction *editAct;
124 private: QAction *applyWrenchAct;
127 private: std::vector<event::ConnectionPtr> connections;
130 private: std::string windowMode;
137 private: std::vector<ViewState*> viewStates;
155 const std::string &_checkRequest,
156 const std::string &_uncheckRequest);
177 public slots:
void Callback();
std::map< std::string, bool > modelStates
State of all the models for this view.
Definition: ModelRightMenu.hh:159
Generic description of a keyboard event.
Definition: KeyEvent.hh:32
Forward declarations for transport.
boost::shared_ptr< Subscriber > SubscriberPtr
Definition: TransportTypes.hh:53
ModelRightMenu * parent
Pointer to the ModelRightMenu.
Definition: ModelRightMenu.hh:168
std::string checkRequest
Name of the request to send when checked.
Definition: ModelRightMenu.hh:171
boost::shared_ptr< Node > NodePtr
Definition: TransportTypes.hh:57
std::string uncheckRequest
Name of the request to send when unchecked.
Definition: ModelRightMenu.hh:174
A class for managing view visualization states.
Definition: ModelRightMenu.hh:146
QAction * action
Action for this view.
Definition: ModelRightMenu.hh:162
GAZEBO_VISIBLE void Init(google::protobuf::Message &_message, const std::string &_id="")
Initialize a message.
bool globalEnable
True if the view visualization is enabled globally.
Definition: ModelRightMenu.hh:165