34 subscriberQueueSize) :
40 subscriberQueueSize_(subscriberQueueSize) {
74 QMap<Axis, CurveAxisConfig*>::const_iterator it =
axisConfig_.find(axis);
112 settings.setValue(
"title",
title_);
114 settings.beginGroup(
"axes");
115 settings.beginGroup(
"x_axis");
118 settings.beginGroup(
"y_axis");
123 settings.beginGroup(
"color");
127 settings.beginGroup(
"style");
131 settings.beginGroup(
"data");
135 settings.setValue(
"subscriber_queue_size", QVariant::
140 setTitle(settings.value(
"title",
"Untitled Curve").toString());
142 settings.beginGroup(
"axes");
143 settings.beginGroup(
"x_axis");
146 settings.beginGroup(
"y_axis");
151 settings.beginGroup(
"color");
155 settings.beginGroup(
"style");
159 settings.beginGroup(
"data");
197 quint64 subscriberQueueSize;
210 stream >> subscriberQueueSize;
void save(QSettings &settings) const
static const QString MimeType
void subscriberQueueSizeChanged(size_t queueSize)
CurveColorConfig * colorConfig_
CurveDataConfig * getDataConfig() const
void load(QSettings &settings)
void save(QSettings &settings) const
size_t getSubscriberQueueSize() const
CurveAxisConfig * getAxisConfig(Axis axis) const
void save(QSettings &settings) const
void save(QSettings &settings) const
void read(QDataStream &stream)
void read(QDataStream &stream)
void load(QSettings &settings)
CurveStyleConfig * styleConfig_
void write(QDataStream &stream) const
void colorConfigChanged()
void write(QDataStream &stream) const
QMap< Axis, CurveAxisConfig * > axisConfig_
void titleChanged(const QString &title)
CurveDataConfig * dataConfig_
void write(QDataStream &stream) const
void read(QDataStream &stream)
void write(QDataStream &stream) const
void setSubscriberQueueSize(size_t queueSize)
void styleConfigChanged()
const QString & getTitle() const
CurveConfig(QObject *parent=0, const QString &title="Untitled Curve", size_t subscriberQueueSize=100)
void setTitle(const QString &title)
void load(QSettings &settings)
CurveStyleConfig * getStyleConfig() const
CurveConfig & operator=(const CurveConfig &src)
void load(QSettings &settings)
size_t subscriberQueueSize_
CurveColorConfig * getColorConfig() const
void read(QDataStream &stream)