#include <PlotAxisConfig.h>
Public Types | |
enum | TitleType { AutoTitle, CustomTitle } |
Signals | |
void | customTitleChanged (const QString &title) |
void | titleTypeChanged (int type) |
void | titleVisibleChanged (bool visible) |
Public Member Functions | |
const QString & | getCustomTitle () const |
TitleType | getTitleType () const |
bool | isTitleVisible () const |
void | load (QSettings &settings) |
PlotAxisConfig & | operator= (const PlotAxisConfig &src) |
PlotAxisConfig (QObject *parent=0, TitleType titleType=AutoTitle, const QString &customTitle="Untitled Axis", bool titleVisible=true) | |
void | read (QDataStream &stream) |
void | reset () |
void | save (QSettings &settings) const |
void | setCustomTitle (const QString &title) |
void | setTitleType (TitleType type) |
void | setTitleVisible (bool visible) |
void | write (QDataStream &stream) const |
~PlotAxisConfig () | |
Private Attributes | |
QString | customTitle_ |
TitleType | titleType_ |
bool | titleVisible_ |
Definition at line 25 of file PlotAxisConfig.h.
Definition at line 29 of file PlotAxisConfig.h.
rqt_multiplot::PlotAxisConfig::PlotAxisConfig | ( | QObject * | parent = 0 , |
TitleType | titleType = AutoTitle , |
||
const QString & | customTitle = "Untitled Axis" , |
||
bool | titleVisible = true |
||
) |
Definition at line 27 of file PlotAxisConfig.cpp.
Definition at line 35 of file PlotAxisConfig.cpp.
void rqt_multiplot::PlotAxisConfig::customTitleChanged | ( | const QString & | title | ) | [signal] |
const QString & rqt_multiplot::PlotAxisConfig::getCustomTitle | ( | ) | const |
Definition at line 64 of file PlotAxisConfig.cpp.
Definition at line 51 of file PlotAxisConfig.cpp.
bool rqt_multiplot::PlotAxisConfig::isTitleVisible | ( | ) | const |
Definition at line 77 of file PlotAxisConfig.cpp.
void rqt_multiplot::PlotAxisConfig::load | ( | QSettings & | settings | ) | [virtual] |
Implements rqt_multiplot::Config.
Definition at line 91 of file PlotAxisConfig.cpp.
PlotAxisConfig & rqt_multiplot::PlotAxisConfig::operator= | ( | const PlotAxisConfig & | src | ) |
Definition at line 127 of file PlotAxisConfig.cpp.
void rqt_multiplot::PlotAxisConfig::read | ( | QDataStream & | stream | ) | [virtual] |
Implements rqt_multiplot::Config.
Definition at line 110 of file PlotAxisConfig.cpp.
void rqt_multiplot::PlotAxisConfig::reset | ( | ) | [virtual] |
Implements rqt_multiplot::Config.
Definition at line 98 of file PlotAxisConfig.cpp.
void rqt_multiplot::PlotAxisConfig::save | ( | QSettings & | settings | ) | const [virtual] |
Implements rqt_multiplot::Config.
Definition at line 85 of file PlotAxisConfig.cpp.
void rqt_multiplot::PlotAxisConfig::setCustomTitle | ( | const QString & | title | ) |
Definition at line 55 of file PlotAxisConfig.cpp.
void rqt_multiplot::PlotAxisConfig::setTitleType | ( | TitleType | type | ) |
Definition at line 42 of file PlotAxisConfig.cpp.
void rqt_multiplot::PlotAxisConfig::setTitleVisible | ( | bool | visible | ) |
Definition at line 68 of file PlotAxisConfig.cpp.
void rqt_multiplot::PlotAxisConfig::titleTypeChanged | ( | int | type | ) | [signal] |
void rqt_multiplot::PlotAxisConfig::titleVisibleChanged | ( | bool | visible | ) | [signal] |
void rqt_multiplot::PlotAxisConfig::write | ( | QDataStream & | stream | ) | const [virtual] |
Implements rqt_multiplot::Config.
Definition at line 104 of file PlotAxisConfig.cpp.
QString rqt_multiplot::PlotAxisConfig::customTitle_ [private] |
Definition at line 61 of file PlotAxisConfig.h.
Definition at line 60 of file PlotAxisConfig.h.
bool rqt_multiplot::PlotAxisConfig::titleVisible_ [private] |
Definition at line 62 of file PlotAxisConfig.h.