#include <StringScaleDraw.h>
Public Member Functions | |
| std::set< QString > & | getLabels () |
| It returns the list containing the labels. More... | |
| virtual QwtText | label (double value) const |
| It returns the label at the given index. More... | |
| void | setLabels (std::set< QString > new_labels) |
| It sets the list containing the labels. More... | |
| StringScaleDraw (std::set< QString > &labels) | |
| Constructor. More... | |
| StringScaleDraw (std::set< std::string > &labels) | |
| Constructor. More... | |
| ~StringScaleDraw () | |
| Destructor. More... | |
Private Attributes | |
| std::set< QString > | m_labels |
| A set of label values. More... | |
Definition at line 44 of file StringScaleDraw.h.
| te::qt::widgets::StringScaleDraw::StringScaleDraw | ( | std::set< QString > & | labels | ) |
Constructor.
It constructs a StringScaleDraw.
| labels | the list of labels as a set of QStrings |
Definition at line 30 of file StringScaleDraw.cpp.
| te::qt::widgets::StringScaleDraw::StringScaleDraw | ( | std::set< std::string > & | labels | ) |
Constructor.
It constructs a StringScaleDraw.
| labels | the list of labels as a set of Strings |
Definition at line 36 of file StringScaleDraw.cpp.
References m_labels.
| te::qt::widgets::StringScaleDraw::~StringScaleDraw | ( | ) |
Destructor.
Definition at line 50 of file StringScaleDraw.cpp.
| std::set< QString > & te::qt::widgets::StringScaleDraw::getLabels | ( | ) |
It returns the list containing the labels.
Definition at line 55 of file StringScaleDraw.cpp.
|
virtual |
It returns the label at the given index.
| new_labels | The new list of labels. |
Definition at line 65 of file StringScaleDraw.cpp.
| void te::qt::widgets::StringScaleDraw::setLabels | ( | std::set< QString > | new_labels | ) |
It sets the list containing the labels.
| new_labels | The new list of labels. |
Definition at line 60 of file StringScaleDraw.cpp.
|
private |
A set of label values.
Definition at line 100 of file StringScaleDraw.h.
Referenced by StringScaleDraw().