Go to the documentation of this file.
17 #ifndef GAZEBO_GUI_TOPICSELECTOR_HH_
18 #define GAZEBO_GUI_TOPICSELECTOR_HH_
49 public: std::string GetTopic()
const;
53 public: std::string GetMsgType()
const;
56 private:
void GetTopicList();
59 private slots:
void OnOkay();
62 private slots:
void OnCancel();
67 private slots:
void OnSelection(QTreeWidgetItem *_item,
int _column);
72 private slots:
void OnDoubleClickSelection(QTreeWidgetItem *_item,
76 private: QTreeWidget *treeWidget;
79 private: QPushButton *okayButton;
82 private: std::string topicName;
85 private: std::string msgType;
Forward declarations for the common classes.
Definition: Animation.hh:26
A Time class, can be used to hold wall- or sim-time. stored as sec and nano-sec.
Definition: Time.hh:47
std::string GetMsgType() const
Get the message type that was selected.
std::string GetTopic() const
Get the topic that was selected.
gui
Definition: KeyEventHandler.hh:29
A widget that provides a list of topics to select from.
Definition: TopicSelector.hh:35
TopicSelector(QWidget *_parent=0)
Constructor.
virtual ~TopicSelector()
Destructor.