28 QString& customTitle,
bool titleVisible) :
30 titleType_(titleType),
31 customTitle_(customTitle),
32 titleVisible_(titleVisible) {
92 setTitleType(static_cast<TitleType>(settings.value(
"title_type",
94 setCustomTitle(settings.value(
"custom_title",
"Untitled Axis").toString());
117 stream >> customTitle;
119 stream >> titleVisible;
void customTitleChanged(const QString &title)
PlotAxisConfig & operator=(const PlotAxisConfig &src)
void read(QDataStream &stream)
void titleVisibleChanged(bool visible)
const QString & getCustomTitle() const
void setCustomTitle(const QString &title)
TitleType getTitleType() const
void setTitleType(TitleType type)
PlotAxisConfig(QObject *parent=0, TitleType titleType=AutoTitle, const QString &customTitle="Untitled Axis", bool titleVisible=true)
void setTitleVisible(bool visible)
void write(QDataStream &stream) const
void titleTypeChanged(int type)
void load(QSettings &settings)
bool isTitleVisible() const
void save(QSettings &settings) const