17 #ifndef _MODELRIGHTMENU_HH_
18 #define _MODELRIGHTMENU_HH_
66 public:
void Run(
const std::string &_entityName,
const QPoint &_pt,
67 EntityTypes _type = MODEL);
70 private slots:
void OnMoveTo();
73 private slots:
void OnFollow();
76 private slots:
void OnEdit();
79 private slots:
void OnApplyWrench();
83 private slots:
void OnDelete(
const std::string &_name=
"");
97 private:
void OnRequest(ConstRequestPtr &_msg);
106 private: std::string entityName;
109 private: QAction *moveToAct;
112 private: QAction *followAct;
115 private: QAction *editAct;
118 private: QAction *applyWrenchAct;
126 private: std::vector<ViewState*> viewStates;
149 const std::string &_checkRequest,
150 const std::string &_uncheckRequest);
171 public slots:
void Callback();
bool globalEnable
True if the view visualization is enabled globally.
Definition: ModelRightMenu.hh:159
boost::shared_ptr< Subscriber > SubscriberPtr
Definition: TransportTypes.hh:53
Generic description of a keyboard event.
Definition: KeyEvent.hh:32
Forward declarations for transport.
ModelRightMenu * parent
Pointer to the ModelRightMenu.
Definition: ModelRightMenu.hh:162
std::string uncheckRequest
Name of the request to send when unchecked.
Definition: ModelRightMenu.hh:168
std::string checkRequest
Name of the request to send when checked.
Definition: ModelRightMenu.hh:165
std::map< std::string, bool > modelStates
State of all the models for this view.
Definition: ModelRightMenu.hh:153
A class for managing view visualization states.
Definition: ModelRightMenu.hh:140
boost::shared_ptr< Node > NodePtr
Definition: TransportTypes.hh:57
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:66
QAction * action
Action for this view.
Definition: ModelRightMenu.hh:156