34 #include <QApplication> 40 const QString& default_value,
41 const QString& message_type,
42 const QString& description,
44 const char* changed_slot,
47 , message_type_(message_type)
59 QApplication::setOverrideCursor(QCursor(Qt::WaitCursor));
68 ros::master::V_TopicInfo::iterator it;
69 for (it = topics.begin(); it != topics.end(); ++it)
74 if (topic.
datatype == std_message_type)
80 QApplication::restoreOverrideCursor();
RosTopicProperty(const QString &name=QString(), const QString &default_value=QString(), const QString &message_type=QString(), const QString &description=QString(), Property *parent=nullptr, const char *changed_slot=nullptr, QObject *receiver=nullptr)
virtual void clearOptions()
A single element of a property tree, with a name, value, description, and possibly children...
ROSCPP_DECL bool getTopics(V_TopicInfo &topics)
std::vector< TopicInfo > V_TopicInfo
void addOptionStd(const std::string &option)
void setMessageType(const QString &message_type)
virtual void fillTopicList()
void requestOptions(EditableEnumProperty *property_in_need_of_options)
requestOptions() is emitted each time createEditor() is called.
void sortOptions()
Sort the option strings.