21 #include <ui_CurveConfigWidget.h> 38 ui_->pushButtonCopyRight->setIcon(
40 append(
"/resource/22x22/arrow_right.png"))));
41 ui_->pushButtonCopyLeft->setIcon(
43 append(
"/resource/22x22/arrow_left.png"))));
44 ui_->pushButtonSwap->setIcon(
46 append(
"/resource/22x22/arrows_right_left.png"))));
56 connect(
config_, SIGNAL(titleChanged(
const QString&)),
this,
58 connect(
config_, SIGNAL(subscriberQueueSizeChanged(
size_t)),
this,
62 SIGNAL(topicChanged(
const QString&)),
this,
65 SIGNAL(topicChanged(
const QString&)),
this,
69 SIGNAL(typeChanged(
const QString&)),
this,
72 SIGNAL(typeChanged(
const QString&)),
this,
75 connect(
ui_->lineEditTitle, SIGNAL(editingFinished()),
this,
77 connect(
ui_->pushButtonCopyRight, SIGNAL(clicked()),
this,
79 connect(
ui_->pushButtonCopyLeft, SIGNAL(clicked()),
this,
81 connect(
ui_->pushButtonSwap, SIGNAL(clicked()),
this,
83 connect(
ui_->spinBoxSubscriberQueueSize, SIGNAL(valueChanged(
int)),
117 ui_->lineEditTitle->setText(title);
121 ui_->spinBoxSubscriberQueueSize->setValue(queueSize);
133 if (destination->
getTopic().isEmpty())
146 if (destination->
getType().isEmpty())
const QString & getTopic() const
CurveDataConfig * getDataConfig() const
size_t getSubscriberQueueSize() const
CurveAxisConfig * getAxisConfig(Axis axis) const
const QString & getType() const
void setTopic(const QString &topic)
void setType(const QString &type)
ROSLIB_DECL std::string getPath(const std::string &package_name)
void setSubscriberQueueSize(size_t queueSize)
const QString & getTitle() const
ROSCPP_DECL std::string append(const std::string &left, const std::string &right)
void setTitle(const QString &title)
CurveStyleConfig * getStyleConfig() const
CurveColorConfig * getColorConfig() const