34 #include <QApplication> 41 const QString& default_value,
42 const QString& message_type,
43 const QString& description,
45 const char *changed_slot,
48 , message_type_( message_type )
61 QApplication::setOverrideCursor(QCursor(Qt::WaitCursor));
70 ros::master::V_TopicInfo::iterator it;
71 for( it = topics.begin(); it != topics.end(); ++it )
76 if( topic.
datatype == std_message_type )
82 QApplication::restoreOverrideCursor();
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.
RosTopicProperty(const QString &name=QString(), const QString &default_value=QString(), const QString &message_type=QString(), const QString &description=QString(), Property *parent=0, const char *changed_slot=0, QObject *receiver=0)