Go to the documentation of this file.00001 #ifndef _RQT_MRTA_ARCHITECTURE_CONFIG_WIDGET_H_
00002 #define _RQT_MRTA_ARCHITECTURE_CONFIG_WIDGET_H_
00003
00004 #include "utilities/abstract_config.h"
00005
00006 namespace rqt_mrta
00007 {
00008 namespace config
00009 {
00010 namespace architecture
00011 {
00012 class Widget : public utilities::AbstractConfig
00013 {
00014 Q_OBJECT
00015 public:
00016 Widget(QObject* parent = NULL);
00017 virtual ~Widget();
00018 QString getPluginName() const;
00019 void setPluginName(const QString& plugin_name);
00020 void save(QSettings& settings) const;
00021 void load(QSettings& settings);
00022 void reset();
00023 void write(QDataStream& stream) const;
00024 void read(QDataStream& stream);
00025 Widget& operator=(const Widget& config);
00026
00027 signals:
00028 void pluginNameChanged(const QString &plugin_name);
00029
00030 private:
00031 QString plugin_name_;
00032 };
00033 }
00034 }
00035 }
00036
00037 #endif // _RQT_MRTA_ARCHITECTURE_CONFIG_WIDGET_H_